wok rev 21141

e2fsprogs: add slackware patch to stop 64-bit boot failure
author Richard Dunbar <mojo@slitaz.org>
date Tue Mar 26 11:04:34 2019 -0400 (2019-03-26)
parents a52ffca61a1d
children b2fef50ebad6
files e2fsprogs/receipt e2fsprogs/stuff/e2fsprogs.no.64bit.by.default.diff.gz
line diff
     1.1 --- a/e2fsprogs/receipt	Mon Mar 25 20:50:34 2019 +0100
     1.2 +++ b/e2fsprogs/receipt	Tue Mar 26 11:04:34 2019 -0400
     1.3 @@ -23,6 +23,12 @@
     1.4  # Rules to configure and make the package.
     1.5  compile_rules()
     1.6  {
     1.7 +	# Do not use 64-bit feature by default on ext4 because syslinux and grub4dos-linux 
     1.8 +	# bootloaders used by the slitaz-installer(tazinst) will fail to boot. 
     1.9 +	# Add "auto_64-bit_support = 1" to enable 64-bit if the number of blocks for the file system 
    1.10 +	# require the feature to be enabled.
    1.11 +	zcat $stuff/e2fsprogs.no.64bit.by.default.diff.gz | patch -p1 || exit 1
    1.12 +
    1.13  	sed -i 's|\$ac_MKDIR_P&|mkdir -p\&|' configure
    1.14  	mkdir ../build && cd ../build
    1.15  	$src/configure \
    1.16 @@ -42,8 +48,6 @@
    1.17  	cp -a $install/sbin $fs
    1.18  	cp -a $install/lib $fs
    1.19  	cp -a $install/etc $fs
    1.20 -	# legacy grub & syslinux don't support 64bit feature
    1.21 -	sed -i 's|small = {|&\n\t\tfeatures = ^64bit|' $fs/etc/mke2fs.conf
    1.22  	cp -a $install/usr/bin $fs/usr
    1.23  	cp -a $install/usr/sbin $fs/usr
    1.24  	( cd $fs ; for i in lib/*.so.?; do ln -s /$i usr/$i ; done )
     2.1 Binary file e2fsprogs/stuff/e2fsprogs.no.64bit.by.default.diff.gz has changed