From 3123a4e08eb81abb27a82dbaaa6c5c78c311610d Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sat, 23 Jan 2016 20:55:25 -0500 Subject: cmd/installer-pc: Drop LILO installation code --- diff --git a/src/cmd/installer-pc.sh b/src/cmd/installer-pc.sh index 472e885..0c16ddf 100644 --- a/src/cmd/installer-pc.sh +++ b/src/cmd/installer-pc.sh @@ -82,21 +82,6 @@ cmd_installer_pc_main() return 2 fi - if [ -f "${root}/sbin/lilo" ]; then - read b4 b3 b2 b1 <<-EOF - $(od -An -tx1 -v -j 440 -N 4 "${dev}") - EOF - # This ln command won't be needed once lilo 24.1-1 is uploaded. - ln "${root}/boot/vmlinuz" "${root}/boot/vmlinuz.old" - if ! session_begin "${root}" . : false; then - block_umount "${root}" - return 2 - fi - session_exec install-lilo \ - "${dev}" "PARTUUID=${b1}${b2}${b3}${b4}-01" - session_end - fi - block_umount "${root}" return 0 -- cgit v0.9.1