index : archiso32 | |
Archlinux32 iso tools | gitolite user |
summaryrefslogtreecommitdiff |
-rwxr-xr-x | archiso/mkarchiso | 2 |
diff --git a/archiso/mkarchiso b/archiso/mkarchiso index 469bd08..6ca68d1 100755 --- a/archiso/mkarchiso +++ b/archiso/mkarchiso @@ -261,7 +261,7 @@ command_usb () { fsimg="${imgname}.part1" # ext2 overhead's upper bound is 6%, empirically tested up to 1GB - rootsize=$(du -bs ${IMGROOT}|cut -f1) + rootsize=$(du -bs "${work_dir}/iso" | cut -f1) imgsz=$(( (${rootsize}*106)/100/512 + 1)) # image size in sectors # create the filesystem image file |