tiny-slitaz rev 11
helper: fix floppy size
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jan 05 20:32:45 2016 +0100 (2016-01-05) |
parents | 26cfc967375f |
children | 4f59e782a307 |
files | helper |
line diff
1.1 --- a/helper Tue Jan 05 19:54:54 2016 +0100 1.2 +++ b/helper Tue Jan 05 20:32:45 2016 +0100 1.3 @@ -447,7 +447,8 @@ 1.4 cd $tmp 1.5 cp fs/boot/bzImage slitaz.img 1.6 sh fs/boot/bundle slitaz.img rootfs.gz 1.7 - dd of=slitaz.img bs=18k seek=80 count=0 conv=notrunc 2> /dev/null 1.8 + [ $(stat -c %s slitaz.img) -lt 1474560 ] && 1.9 + dd of=slitaz.img bs=18k seek=80 count=0 2> /dev/null 1.10 fi 1.11 if [ "x$1" == "x--mkcfg" ]; then 1.12 tmp=$2