Drop useless code in binary_grub-pc

This commit is contained in:
Raphaël Hertzog 2016-12-02 15:01:28 +01:00
parent 4204a74352
commit 58fd378005
1 changed files with 0 additions and 24 deletions

View File

@ -53,32 +53,8 @@ Restore_cache cache/packages.binary
# Installing depends
Install_package
case "${LB_INITRAMFS}" in
live-boot)
INITFS="live"
;;
*)
INITFS=""
;;
esac
# Setting destination directory
case "${LIVE_IMAGE_TYPE}" in
iso*|tar)
case "${LB_INITRAMFS}" in
live-boot)
DESTDIR_LIVE="binary/live"
;;
*)
DESTDIR_LIVE="binary/live"
;;
esac
DESTDIR_INSTALL="binary/install"
;;
hdd*|netboot)
Echo_warning "Bootloader in this image type not yet supported by live-build."
Echo_warning "This would produce a not bootable image, aborting (FIXME)."