# HG changeset patch # User Richard Dunbar # Date 1553612674 14400 # Node ID 2f4e0c4137e9e95f205fad671c9e570e3c58f5a4 # Parent a52ffca61a1d8a871c5034e8d1f1ae5797ea043a e2fsprogs: add slackware patch to stop 64-bit boot failure diff -r a52ffca61a1d -r 2f4e0c4137e9 e2fsprogs/receipt --- a/e2fsprogs/receipt Mon Mar 25 20:50:34 2019 +0100 +++ b/e2fsprogs/receipt Tue Mar 26 11:04:34 2019 -0400 @@ -23,6 +23,12 @@ # Rules to configure and make the package. compile_rules() { + # Do not use 64-bit feature by default on ext4 because syslinux and grub4dos-linux + # bootloaders used by the slitaz-installer(tazinst) will fail to boot. + # Add "auto_64-bit_support = 1" to enable 64-bit if the number of blocks for the file system + # require the feature to be enabled. + zcat $stuff/e2fsprogs.no.64bit.by.default.diff.gz | patch -p1 || exit 1 + sed -i 's|\$ac_MKDIR_P&|mkdir -p\&|' configure mkdir ../build && cd ../build $src/configure \ @@ -42,8 +48,6 @@ cp -a $install/sbin $fs cp -a $install/lib $fs cp -a $install/etc $fs - # legacy grub & syslinux don't support 64bit feature - sed -i 's|small = {|&\n\t\tfeatures = ^64bit|' $fs/etc/mke2fs.conf cp -a $install/usr/bin $fs/usr cp -a $install/usr/sbin $fs/usr ( cd $fs ; for i in lib/*.so.?; do ln -s /$i usr/$i ; done ) diff -r a52ffca61a1d -r 2f4e0c4137e9 e2fsprogs/stuff/e2fsprogs.no.64bit.by.default.diff.gz Binary file e2fsprogs/stuff/e2fsprogs.no.64bit.by.default.diff.gz has changed