mirror of
https://git.yoctoproject.org/poky
synced 2026-07-16 03:47:03 +00:00
Drop chroot usage as its not well used, tested and is broken
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
@@ -1,14 +1,12 @@
|
||||
DESCRIPTION = "Adds scripts to use distcc on the host system under qemu"
|
||||
LICENSE = "GPL"
|
||||
RDEPENDS = "distcc task-poky-nfs-server fakeroot oprofileui-server rsync bash"
|
||||
PR = "r16"
|
||||
RDEPENDS = "distcc task-poky-nfs-server oprofileui-server rsync bash"
|
||||
PR = "r17"
|
||||
|
||||
SRC_URI = "file://distcc.sh \
|
||||
file://anjuta-remote-run \
|
||||
file://exports \
|
||||
file://shutdown.desktop \
|
||||
file://poky-chroot-init \
|
||||
file://poky-chroot-launch \
|
||||
file://qemu-autostart"
|
||||
|
||||
S = "${WORKDIR}"
|
||||
@@ -24,8 +22,6 @@ do_install() {
|
||||
|
||||
install -d ${D}${bindir}
|
||||
install -m 0755 anjuta-remote-run ${D}${bindir}/
|
||||
install -m 0775 poky-chroot-init ${D}${bindir}/
|
||||
install -m 0775 poky-chroot-launch ${D}${bindir}/
|
||||
|
||||
install -d ${D}${datadir}/applications
|
||||
install -m 0644 shutdown.desktop ${D}${datadir}/applications/
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
export USER=root
|
||||
export HOME=/home/root
|
||||
export PATH=/sbin:/bin:/usr/sbin:/usr/bin
|
||||
|
||||
fakeroot ipkg configure
|
||||
@@ -1,26 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
export USER=root
|
||||
export HOME=/home/root
|
||||
export PATH=/sbin:/bin:/usr/sbin:/usr/bin
|
||||
|
||||
export DISPLAY=:1
|
||||
|
||||
unset DBUS_SESSION_BUS_ADDRESS
|
||||
|
||||
SERVICES=dbus-1
|
||||
|
||||
for S in $SERVICES; do
|
||||
fakeroot /etc/init.d/$S start
|
||||
done
|
||||
|
||||
/etc/X11/Xsession &
|
||||
|
||||
bash -l
|
||||
|
||||
# The --user option in the dbus stop script breaks under chroot
|
||||
/sbin/start-stop-daemon --stop --pidfile /var/run/dbus/pid
|
||||
|
||||
for S in $SERVICES; do
|
||||
fakeroot /etc/init.d/$S stop
|
||||
done
|
||||
Reference in New Issue
Block a user