summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/boot-directdisk.bbclass4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/classes/boot-directdisk.bbclass b/meta/classes/boot-directdisk.bbclass
index c5765233ac..e1ec1be534 100644
--- a/meta/classes/boot-directdisk.bbclass
+++ b/meta/classes/boot-directdisk.bbclass
@@ -70,7 +70,9 @@ boot_direct_populate() {
70 install -d $dest 70 install -d $dest
71 71
72 # 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.
73 install -m 0644 ${DEPLOY_DIR_IMAGE}/bzImage $dest/vmlinuz 73 if [ -e ${DEPLOY_DIR_IMAGE}/bzImage ]; then
74 install -m 0644 ${DEPLOY_DIR_IMAGE}/bzImage $dest/vmlinuz
75 fi
74 76
75 # initrd is made of concatenation of multiple filesystem images 77 # initrd is made of concatenation of multiple filesystem images
76 if [ -n "${INITRD}" ]; then 78 if [ -n "${INITRD}" ]; then