bootdisk: installer-boot (HEAD) [malekith]
PLD CVS
pld-cvs-commit w pld.org.pl
Pon, 5 Sie 2002, 15:15:03 CEST
Module name: bootdisk
Changes by: malekith 02/08/05 15:14:59
Modified files:
installer-boot
Log message:
- bugfix: boot = line in lilo.conf (and rc-boot) wasn't properly set;
I wonder how did it work for me...
Index: installer-boot
===================================================================
RCS file: /cvsroot/bootdisk/batch-installer/installer-boot,v
diff -d -u -r1.31 -r1.32
--- installer-boot 2002/07/29 11:04:03 1.31
+++ installer-boot 2002/08/05 13:14:58 1.32
@@ -37,7 +37,7 @@
dest_boot_partition=`grep ' /dest/boot ' /proc/mounts | sed 's/ .*$//' || : `
test "$dest_boot_partition" || dest_boot_partition=$dest_root_partition || :
- dest_boot_partition=$(strip_partition_number $dest_boot_partition)
+ dest_boot_device=$(strip_partition_number $dest_boot_partition)
;;
/dev/* )
dest_boot_device="$boot_loader_device"
@@ -47,7 +47,9 @@
;;
esac
-boot_disk=$(strip_partition_number $dest_boot_partition)
+log info $(nls "dest_boot_device = %s" "$dest_boot_device")
+
+boot_disk=$(strip_partition_number $dest_boot_device)
if test -x /bin/parted ; then
# hmm.. what if we havn't got parted?
if parted -s $boot_disk print | grep -q "[ ]boot" ; then
Więcej informacji o liście dyskusyjnej pld-installer