diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-12-20 11:19:51 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-12-21 12:37:55 +0000 |
| commit | 6ae253c9b1837b47549d182a120bc60713753052 (patch) | |
| tree | 07884395ce7c6aa7f821bc8963bec7ad2bd4b2c9 | |
| parent | c5236d723fc9f9856f4d3e346734928a7305bcea (diff) | |
| download | poky-6ae253c9b1837b47549d182a120bc60713753052.tar.gz | |
boot-directdisk: Use kernel from DEPLOY_DIR_IMAGE, not sysroot
After the recent kernel changes, this avoids failures like:
DEBUG: Executing shell function build_boot_dd
install: cannot stat '/home/pokybuild/yocto-autobuilder/yocto-worker/build-appliance/build/build/tmp/sysroots/qemux86-64/usr/src/kernel/bzImage': No such file or directory
WARNING: exit code 1 from a shell command.
(From OE-Core rev: 40e83470ca45ae5c305609a5065278612e69a7e2)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | meta/classes/boot-directdisk.bbclass | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/classes/boot-directdisk.bbclass b/meta/classes/boot-directdisk.bbclass index 09da032049..44f738b02e 100644 --- a/meta/classes/boot-directdisk.bbclass +++ b/meta/classes/boot-directdisk.bbclass | |||
| @@ -20,6 +20,7 @@ | |||
| 20 | # ${ROOTFS} - the rootfs image to incorporate | 20 | # ${ROOTFS} - the rootfs image to incorporate |
| 21 | 21 | ||
| 22 | do_bootdirectdisk[depends] += "dosfstools-native:do_populate_sysroot \ | 22 | do_bootdirectdisk[depends] += "dosfstools-native:do_populate_sysroot \ |
| 23 | virtual/kernel:do_deploy \ | ||
| 23 | syslinux:do_populate_sysroot \ | 24 | syslinux:do_populate_sysroot \ |
| 24 | syslinux-native:do_populate_sysroot \ | 25 | syslinux-native:do_populate_sysroot \ |
| 25 | parted-native:do_populate_sysroot \ | 26 | parted-native:do_populate_sysroot \ |
| @@ -69,7 +70,7 @@ boot_direct_populate() { | |||
| 69 | install -d $dest | 70 | install -d $dest |
| 70 | 71 | ||
| 71 | # Install bzImage, initrd, and rootfs.img in DEST for all loaders to use. | 72 | # Install bzImage, initrd, and rootfs.img in DEST for all loaders to use. |
| 72 | install -m 0644 ${STAGING_KERNEL_DIR}/bzImage $dest/vmlinuz | 73 | install -m 0644 ${DEPLOY_DIR_IMAGE}/bzImage $dest/vmlinuz |
| 73 | 74 | ||
| 74 | # initrd is made of concatenation of multiple filesystem images | 75 | # initrd is made of concatenation of multiple filesystem images |
| 75 | if [ -n "${INITRD}" ]; then | 76 | if [ -n "${INITRD}" ]; then |
