slitaz-modular rev 59

Removed -nopad option. Never use -nopad since it screws up squashfs format.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Apr 10 21:56:58 2011 +0000 (2011-04-10)
parents af1ed0392288
children 3baad9f857a2
files initramfs/liblinuxlive initramfs/usr/bin/slitaz-modular
line diff
     1.1 --- a/initramfs/liblinuxlive	Sun Apr 10 18:32:49 2011 +0000
     1.2 +++ b/initramfs/liblinuxlive	Sun Apr 10 21:56:58 2011 +0000
     1.3 @@ -480,7 +480,7 @@
     1.4  {
     1.5     debug_log "create_module" "$*"
     1.6     rm -f "$2" # overwrite, never append to existing file
     1.7 -   mksquashfs "$1" "$2" -nopad -b 256K $3 $4 $5 $6 $7 $8 $9>/dev/null
     1.8 +   mksquashfs "$1" "$2" -b 256K $3 $4 $5 $6 $7 $8 $9>/dev/null
     1.9     if [ $? -ne 0 ]; then return 1; fi
    1.10     chmod a-wx "$2" # remove execute and write attrib
    1.11     chmod a+r "$2" # add read for everyone
     2.1 --- a/initramfs/usr/bin/slitaz-modular	Sun Apr 10 18:32:49 2011 +0000
     2.2 +++ b/initramfs/usr/bin/slitaz-modular	Sun Apr 10 21:56:58 2011 +0000
     2.3 @@ -233,7 +233,7 @@
     2.4  	#	fi
     2.5  	#fi
     2.6  	rm -f "$2" # overwrite, never append to existing file
     2.7 -	mksquashfs "$1" "$2" -b 256K -nopad -comp $COMPRESSION >/dev/null
     2.8 +	mksquashfs "$1" "$2" -b 256K -comp $COMPRESSION >/dev/null
     2.9  	if [ $? -ne 0 ]; then return 1; fi
    2.10  	chmod a-wx "$2" # remove execute and write attrib
    2.11  	chmod a+r "$2" # add read for everyone