summaryrefslogtreecommitdiffstats
path: root/meta/classes/systemd-boot.bbclass
diff options
context:
space:
mode:
authorCalifornia Sullivan <california.l.sullivan@intel.com>2018-02-28 18:15:10 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-03-06 06:35:42 -0800
commit00acdebbeda4812a49b8f06a82748f6a515e9460 (patch)
tree9d909a9dc0572d42199adc6c8e20b4583eb26421 /meta/classes/systemd-boot.bbclass
parentb84b4223400d76a93b45b1b5f5ba0711d12366a8 (diff)
downloadpoky-00acdebbeda4812a49b8f06a82748f6a515e9460.tar.gz
systemd-boot*.bbclass: Don't use vmlinuz
We can't guarantee vmlinuz anymore. Use KERNEL_IMAGETYPE instead. (From OE-Core rev: cceb4266f3e70382e171c3a338c10d9730c9dc3f) Signed-off-by: California Sullivan <california.l.sullivan@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/systemd-boot.bbclass')
-rw-r--r--meta/classes/systemd-boot.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/systemd-boot.bbclass b/meta/classes/systemd-boot.bbclass
index 14538fe2d7..3cd6811a6c 100644
--- a/meta/classes/systemd-boot.bbclass
+++ b/meta/classes/systemd-boot.bbclass
@@ -45,7 +45,7 @@ efi_iso_populate() {
45 mkdir -p ${EFIIMGDIR}/${EFIDIR} 45 mkdir -p ${EFIIMGDIR}/${EFIDIR}
46 cp $iso_dir/${EFIDIR}/* ${EFIIMGDIR}${EFIDIR} 46 cp $iso_dir/${EFIDIR}/* ${EFIIMGDIR}${EFIDIR}
47 cp -r $iso_dir/loader ${EFIIMGDIR} 47 cp -r $iso_dir/loader ${EFIIMGDIR}
48 cp $iso_dir/vmlinuz ${EFIIMGDIR} 48 cp $iso_dir/${KERNEL_IMAGETYPE} ${EFIIMGDIR}
49 EFIPATH=$(echo "${EFIDIR}" | sed 's/\//\\/g') 49 EFIPATH=$(echo "${EFIDIR}" | sed 's/\//\\/g')
50 echo "fs0:${EFIPATH}\\${DEST_EFI_IMAGE}" > ${EFIIMGDIR}/startup.nsh 50 echo "fs0:${EFIPATH}\\${DEST_EFI_IMAGE}" > ${EFIIMGDIR}/startup.nsh
51 if [ -f "$iso_dir/initrd" ] ; then 51 if [ -f "$iso_dir/initrd" ] ; then