image-vm.bbclass: remove invalid code
It has been done in syslinux.bbclass. (From OE-Core rev: 4bbd512c4eef6c449d99dbe35271dafc6e7bfe03) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
4d1df2cfe8
commit
88ea0b9613
|
@ -61,13 +61,6 @@ build_boot_dd() {
|
||||||
efi_hddimg_populate $HDDDIR
|
efi_hddimg_populate $HDDDIR
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "x${AUTO_SYSLINUXMENU}" = "x1" ] ; then
|
|
||||||
install -m 0644 ${STAGING_DIR}/${MACHINE}/usr/share/syslinux/vesamenu.c32 $HDDDIR/${SYSLINUXDIR}/
|
|
||||||
if [ "x${SYSLINUX_SPLASH}" != "x" ] ; then
|
|
||||||
install -m 0644 ${SYSLINUX_SPLASH} $HDDDIR/${SYSLINUXDIR}/splash.lss
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
BLOCKS=`du -bks $HDDDIR | cut -f 1`
|
BLOCKS=`du -bks $HDDDIR | cut -f 1`
|
||||||
BLOCKS=`expr $BLOCKS + ${BOOTDD_EXTRA_SPACE}`
|
BLOCKS=`expr $BLOCKS + ${BOOTDD_EXTRA_SPACE}`
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue