diff options
author | Daniel Baumann <daniel@debian.org> | 2010-09-26 16:40:05 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 19:17:24 +0100 |
commit | c2f8b6a8ce17e4524dad647d163b16a4252dd9cb (patch) | |
tree | f495757731249209ec5aff76461e44146b61e26e /scripts | |
parent | a49052630ae9ad34bb6695ff5b70a520a6a15091 (diff) | |
download | live-build-c2f8b6a8ce17e4524dad647d163b16a4252dd9cb.zip live-build-c2f8b6a8ce17e4524dad647d163b16a4252dd9cb.tar.gz |
Removing d-i hacks, should be fixed with newer live-installer.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/build/lb_chroot_hacks | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/scripts/build/lb_chroot_hacks b/scripts/build/lb_chroot_hacks index c0052da..a3d85a2 100755 --- a/scripts/build/lb_chroot_hacks +++ b/scripts/build/lb_chroot_hacks @@ -213,31 +213,6 @@ then # This is a temporary hack to get rid of fstab; # needs cleanup in live-initramfs first to proper fix. rm -f chroot/etc/fstab - - # There is a timing issue somewhere when using live-installer - # and the apt-get update waypoint: At the time when we're installing - # bootloader, it tries to fetch them from the net but the e.g. - # 'chroot /target apt-get install grub' fails because of missing - # packages lists. As a very cheap workaround, we ensure that the - # bootloader is already installed in the image. Very ugly, but it's to - # late to fix it in d-i because lenny rc2 has been already released. - case "${LB_ARCHITECTURE}" in - amd64|i386) - case "${LB_BOOTLOADER}" in - grub) - Apt install grub - ;; - - grub2) - Apt install grub2 - ;; - esac - ;; - - powerpc) - Apt install yaboot - ;; - esac fi if [ "${LB_EXPOSED_ROOT}" = "true" ] |