builder: remove hob from autostart
hob has been removed so don't try and autostart it with the mini-x session in the build appliance. Remove the please_wait_dialog program which informed the user to wait for Hob to start. Rename the mini-x autostart file to reflect the removal of hob, we now just start a matchbox-terminal with the environment configured. (From OE-Core rev: cd43436def38a0a87f0cd330fa487ad5fc0748d0) Signed-off-by: Joshua Lock <joshua.g.lock@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
ff5d9f7607
commit
8ea5cdc776
|
@ -3,10 +3,9 @@ DESCRIPTION = "This recipe create a new user named ${PN}, who is used for specif
|
|||
SECTION = "x11"
|
||||
PR = "r6"
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://builder_hob_start.sh;endline=5;md5=84796c3c41785d86100fdabcbdade00e"
|
||||
LIC_FILES_CHKSUM = "file://builder_session.sh;endline=5;md5=84796c3c41785d86100fdabcbdade00e"
|
||||
|
||||
SRC_URI = "file://builder_hob_start.sh \
|
||||
file://please_wait_dialog.py \
|
||||
SRC_URI = "file://builder_session.sh \
|
||||
"
|
||||
|
||||
S = "${WORKDIR}"
|
||||
|
@ -25,9 +24,8 @@ USERADD_PARAM_${PN} = "--system --create-home \
|
|||
|
||||
do_install () {
|
||||
install -d -m 755 ${D}${sysconfdir}/mini_x/session.d
|
||||
install -p -m 755 builder_hob_start.sh ${D}${sysconfdir}/mini_x/session.d/
|
||||
install -p -m 755 builder_session.sh ${D}${sysconfdir}/mini_x/session.d/
|
||||
|
||||
chown builder.builder ${D}${sysconfdir}/mini_x/session.d/builder_hob_start.sh
|
||||
install -p -m 755 please_wait_dialog.py ${D}${sysconfdir}/mini_x
|
||||
chown builder.builder ${D}${sysconfdir}/mini_x/session.d/builder_session.sh
|
||||
}
|
||||
|
||||
|
|
|
@ -30,8 +30,4 @@ fi
|
|||
cd /home/builder/poky
|
||||
. ./oe-init-build-env
|
||||
|
||||
hob &
|
||||
|
||||
matchbox-terminal&
|
||||
|
||||
/etc/mini_x/please_wait_dialog.py &
|
|
@ -1,28 +0,0 @@
|
|||
#!/usr/bin/env python
|
||||
import glib
|
||||
import gtk
|
||||
|
||||
def destroy_window_cb(widget, event):
|
||||
gtk.main_quit()
|
||||
|
||||
def all_done_cb():
|
||||
gtk.main_quit()
|
||||
|
||||
def dialogue_ui():
|
||||
window = gtk.Window()
|
||||
window.set_title("Please wait...")
|
||||
window.connect("delete-event", destroy_window_cb)
|
||||
window.show()
|
||||
window.set_border_width(12)
|
||||
|
||||
msg = "Please wait while BitBake initializes Hob"
|
||||
label = gtk.Label(msg)
|
||||
label.show()
|
||||
window.add(label)
|
||||
|
||||
glib.timeout_add_seconds(10, all_done_cb)
|
||||
|
||||
if __name__ == "__main__":
|
||||
dialogue_ui()
|
||||
gtk.main()
|
||||
|
Loading…
Reference in New Issue