[arch-general] [patch] AIF, partition table compatibility with grub2.

Mark Pustjens pustjens at dds.nl
Tue Feb 9 14:26:45 EST 2010


Hi list,

The attatched patch adds the `-D' option to the sfdisk call.
This causes some extra space to be saved for the MBR, which is needed for grub2 
in some cases.

Please let me know what you think.

Greetings/Groetjes

Mark Pustjens

-- 
I do note with interest that old women in my books become young women on
the covers... this is discrimination against the chronologically gifted.
    (alt.fan.pratchett)
-------------- next part --------------
--- usr/lib/aif/core/libs/lib-blockdevices-filesystems.sh	2009-08-07 21:25:04.000000000 +0200
+++ /home/unknown/Documents/lightarch/image-build/overlay/usr/lib/aif/core/libs/lib-blockdevices-filesystems.sh	2009-12-08 13:00:46.000000000 +0100
@@ -368,7 +366,7 @@
 	# invoke sfdisk
 	debug 'FS' "Partition calls: sfdisk $DEVICE -uM >$LOG 2>&1 <<< $sfdisk_input"
 	printk off
-	sfdisk $DEVICE -uM >$LOG 2>&1 <<EOF
+	sfdisk -D $DEVICE -uM >$LOG 2>&1 <<EOF
 $sfdisk_input
 EOF
     if [ $? -gt 0 ]; then


More information about the arch-general mailing list