[patch] AIF, partition table compatibility with grub2.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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)
--- 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

[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux