wok diff slitaz-loram/stuff/loram.iso @ rev 11393
Fix: polkit needs intltool to be compiled
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Sat Dec 10 05:13:50 2011 +0100 (2011-12-10) |
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 Dec 10 05:13:50 2011 +0100 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