[arch-commits] Commit in syslinux/trunk (PKGBUILD syslinux-install_update)
Anatol Pomozov
anatolik at archlinux.org
Thu Mar 26 16:47:25 UTC 2015
Date: Thursday, March 26, 2015 @ 17:47:25
Author: anatolik
Revision: 234977
FS#44349 update sfdisk flag
sfdisk in 2.26 has changed meaning for '-A' flag.
In 2.25 it used to be 'Switch on the bootable flag'.
But in the new version it became
'Don't create a new partition table, but only append the specified partitions'.
Use longer version of the flag '--activate' that has the same meaning in both sfdisk versions.
Modified:
syslinux/trunk/PKGBUILD
syslinux/trunk/syslinux-install_update
-------------------------+
PKGBUILD | 4 ++--
syslinux-install_update | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-03-26 16:04:27 UTC (rev 234976)
+++ PKGBUILD 2015-03-26 16:47:25 UTC (rev 234977)
@@ -6,7 +6,7 @@
pkgname=syslinux
pkgver=6.03
_tag=syslinux-$pkgver
-pkgrel=2
+pkgrel=3
pkgdesc='Collection of boot loaders that boot from FAT, ext2/3/4 and btrfs filesystems, from CDs and via PXE'
url='http://www.syslinux.org/'
arch=(i686 x86_64)
@@ -36,7 +36,7 @@
syslinux-install_update)
sha1sums=('SKIP'
'1145f454bd297d373ad123425f93620c3e92f585'
- 'd22e7e3fc544cf8a49f27ae9a25f17e65f575ea1')
+ 'b9ca016e08dd1c45dd7f3c88df680b949e39aa77')
_targets='bios efi32'
case "$CARCH" in
Modified: syslinux-install_update
===================================================================
--- syslinux-install_update 2015-03-26 16:04:27 UTC (rev 234976)
+++ syslinux-install_update 2015-03-26 16:47:25 UTC (rev 234977)
@@ -239,7 +239,7 @@
esac
if [[ "$ptb" = MBR ]]; then
- if sfdisk "$disk" -A "$partnum" &>/dev/null; then
+ if sfdisk "$disk" --activate "$partnum" &>/dev/null; then
echo "Boot Flag Set - $part"
else
echo "FAILED to Set the boot flag on $part"
More information about the arch-commits
mailing list