wok diff slitaz-loram/stuff/loram.iso @ rev 6668
Added gobject-introspection.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue Oct 12 03:21:24 2010 +0000 (2010-10-12) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/slitaz-loram/stuff/loram.iso Tue Oct 12 03:21:24 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