wok view slitaz-loram/stuff/loram.iso @ rev 8050

Improve attr&acl receipts by replacing strange slackware seds by the use of DIST_ROOT; acl includes are now going at the right place.
author Antoine Bodin <gokhlayeh@slitaz.org>
date Thu Jan 20 21:38:00 2011 +0100 (2011-01-20)
parents
children
line source
1 if [ -s $1/rootfs.gz2 ]; then
2 local rem
3 rem=$(( $(stat -c "%s" $1/boot/rootfs.gz) % 4 ))
4 [ $rem -ne 0 ] &&
5 dd if=/dev/zero bs=1 count=$(( 4 - $rem )) >> $1/boot/rootfs.gz
6 cat $1/rootfs.gz2 >> $1/boot/rootfs.gz
7 rm -f $1/rootfs.gz2
8 fi