From 58fd378005400ca4592f21e74f105625344a72b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Hertzog?= Date: Fri, 2 Dec 2016 15:01:28 +0100 Subject: [PATCH] Drop useless code in binary_grub-pc --- scripts/build/binary_grub-pc | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/scripts/build/binary_grub-pc b/scripts/build/binary_grub-pc index 4909eadad..6d111a7d0 100755 --- a/scripts/build/binary_grub-pc +++ b/scripts/build/binary_grub-pc @@ -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)."