wok-4.x diff slitaz-loram/stuff/loram.iso @ rev 7240
Fixed linux-sound and linux-netfilter to have same fix thats in last commit.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Nov 13 03:57:25 2010 +0000 (2010-11-13) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/slitaz-loram/stuff/loram.iso Sat Nov 13 03:57:25 2010 +0000 1.3 @@ -0,0 +1,8 @@ 1.4 +if [ -s $1/rootfs.gz2 ]; then 1.5 + local rem 1.6 + rem=$(( $(stat -c "%s" $1/boot/rootfs.gz) % 4 )) 1.7 + [ $rem -ne 0 ] && 1.8 + dd if=/dev/zero bs=1 count=$(( 4 - $rem )) >> $1/boot/rootfs.gz 1.9 + cat $1/rootfs.gz2 >> $1/boot/rootfs.gz 1.10 + rm -f $1/rootfs.gz2 1.11 +fi