summaryrefslogtreecommitdiff
path: root/scripts/build
diff options
context:
space:
mode:
authorRaphaël Hertzog <hertzog@debian.org>2016-12-02 15:01:28 +0100
committerRaphaël Hertzog <hertzog@debian.org>2016-12-02 15:01:28 +0100
commit58fd378005400ca4592f21e74f105625344a72b3 (patch)
treebf2937c422ce6b282477610d0b2fe99533718cd3 /scripts/build
parent4204a7435216c94622d06bd19af6c63b65b7a77a (diff)
downloadvyos-live-build-58fd378005400ca4592f21e74f105625344a72b3.tar.gz
vyos-live-build-58fd378005400ca4592f21e74f105625344a72b3.zip
Drop useless code in binary_grub-pc
Diffstat (limited to 'scripts/build')
-rwxr-xr-xscripts/build/binary_grub-pc24
1 files changed, 0 insertions, 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)."