mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-04 20:54:45 +02:00
qemu-helper: depend on unfs3 and pseudo directly
The eliminates having to do extra steps (e.g. meta-ide-support) when booting an image with a nfs mount as rootfs - startng runqemu with a nfs mount starts to 'just work' after building an image. (From OE-Core rev: f73e370bec16d206592a7ca01b4a86b1d1316ada) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
afa94425a0
commit
dea0b2d2a9
|
@ -1,6 +1,6 @@
|
|||
SUMMARY = "Qemu helper scripts"
|
||||
LICENSE = "GPL-2.0-only"
|
||||
RDEPENDS:${PN} = "nativesdk-qemu \
|
||||
RDEPENDS:${PN} = "nativesdk-qemu nativesdk-unfs3 nativesdk-pseudo \
|
||||
nativesdk-python3-shell nativesdk-python3-fcntl nativesdk-python3-logging \
|
||||
"
|
||||
|
||||
|
|
|
@ -25,5 +25,5 @@ do_install() {
|
|||
install qemu-oe-bridge-helper ${D}${bindir}/
|
||||
}
|
||||
|
||||
DEPENDS += "qemu-system-native"
|
||||
DEPENDS += "qemu-system-native unfs3-native pseudo-native"
|
||||
addtask addto_recipe_sysroot after do_populate_sysroot before do_build
|
||||
|
|
|
@ -34,16 +34,12 @@ if [ -z "$SYSROOT_SETUP_SCRIPT" ]; then
|
|||
echo "Did you forget to source your build environment setup script?"
|
||||
exit 1
|
||||
fi
|
||||
. $SYSROOT_SETUP_SCRIPT meta-ide-support
|
||||
. $SYSROOT_SETUP_SCRIPT qemu-helper-native
|
||||
|
||||
if [ ! -e "$OECORE_NATIVE_SYSROOT/usr/bin/unfsd" ]; then
|
||||
echo "Error: Unable to find unfsd binary in $OECORE_NATIVE_SYSROOT/usr/bin/"
|
||||
|
||||
if [ "x$OECORE_DISTRO_VERSION" = "x" ]; then
|
||||
echo "Have you run 'bitbake meta-ide-support'?"
|
||||
else
|
||||
echo "This shouldn't happen - something is missing from your toolchain installation"
|
||||
fi
|
||||
echo "This shouldn't happen - something is missing from your toolchain installation"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@ if [ -z "$SYSROOT_SETUP_SCRIPT" ]; then
|
|||
echo "Did you forget to source your build system environment setup script?"
|
||||
exit 1
|
||||
fi
|
||||
. $SYSROOT_SETUP_SCRIPT meta-ide-support
|
||||
. $SYSROOT_SETUP_SCRIPT qemu-helper-native
|
||||
PSEUDO_OPTS="-P $OECORE_NATIVE_SYSROOT/usr"
|
||||
|
||||
ROOTFS_TARBALL=$1
|
||||
|
|
Loading…
Reference in New Issue
Block a user