bootdisk: installer-boot (HEAD) [malekith]
PLD CVS
pld-cvs-commit w pld.org.pl
Wto, 8 Paź 2002, 18:46:25 CEST
Module name: bootdisk
Changes by: malekith 02/10/08 18:46:22
Modified files:
installer-boot
Log message:
- fixed dest_boot_device!=auto and boot_loader=lilo
Index: installer-boot
===================================================================
RCS file: /cvsroot/bootdisk/batch-installer/installer-boot,v
diff -d -u -r1.33 -r1.34
--- installer-boot 14 Aug 2002 11:18:31 -0000 1.33
+++ installer-boot 8 Oct 2002 16:46:22 -0000 1.34
@@ -31,12 +31,12 @@
esac
}
+dest_root_partition=`grep ' /dest ' /proc/mounts | sed 's/ .*$//' || : `
+dest_boot_partition=`grep ' /dest/boot ' /proc/mounts | sed 's/ .*$//' || : `
+test "$dest_boot_partition" || dest_boot_partition=$dest_root_partition || :
+
case "$boot_loader_device" in
auto )
- dest_root_partition=`grep ' /dest ' /proc/mounts | sed 's/ .*$//' || : `
- dest_boot_partition=`grep ' /dest/boot ' /proc/mounts | sed 's/ .*$//' || : `
- test "$dest_boot_partition" || dest_boot_partition=$dest_root_partition || :
-
dest_boot_device=$(strip_partition_number $dest_boot_partition)
;;
/dev/* )
Więcej informacji o liście dyskusyjnej pld-installer