wok annotate slitaz-loram/stuff/loram.iso @ rev 7905
fix-bdep: pciutils
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Sun Jan 09 14:35:06 2011 +0100 (2011-01-09) |
parents | |
children |
rev | line source |
---|---|
pascal@5048 | 1 if [ -s $1/rootfs.gz2 ]; then |
pascal@5048 | 2 local rem |
pascal@5048 | 3 rem=$(( $(stat -c "%s" $1/boot/rootfs.gz) % 4 )) |
pascal@5048 | 4 [ $rem -ne 0 ] && |
pascal@5048 | 5 dd if=/dev/zero bs=1 count=$(( 4 - $rem )) >> $1/boot/rootfs.gz |
pascal@5048 | 6 cat $1/rootfs.gz2 >> $1/boot/rootfs.gz |
pascal@5048 | 7 rm -f $1/rootfs.gz2 |
pascal@5048 | 8 fi |