diff options
author | Daniel Baumann <daniel@debian.org> | 2007-09-23 10:05:11 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 18:18:30 +0100 |
commit | 37a5c53ddd2825bf6b0ce521908a63d419683981 (patch) | |
tree | 0b0a8ea3072a4d6b9c37ce8efedb29d25a713e04 /helpers/lh_binary_rootfs | |
parent | 85c342c299231131d22764c0dfdcf977c57ce147 (diff) | |
download | live-build-37a5c53ddd2825bf6b0ce521908a63d419683981.zip live-build-37a5c53ddd2825bf6b0ce521908a63d419683981.tar.gz |
Adding live-helper 1.0~a14-1.
Diffstat (limited to 'helpers/lh_binary_rootfs')
-rwxr-xr-x | helpers/lh_binary_rootfs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/helpers/lh_binary_rootfs b/helpers/lh_binary_rootfs index 359151f..455b1ab 100755 --- a/helpers/lh_binary_rootfs +++ b/helpers/lh_binary_rootfs @@ -74,7 +74,7 @@ case "${LIVE_CHROOT_FILESYSTEM}" in rm -f binary/${INITFS}/filesystem.ext2 fi - DU_DIM="`du -ks chroot | cut -f1`" + DU_DIM="`du -ks chroot/chroot | cut -f1`" REAL_DIM="`expr ${DU_DIM} + ${DU_DIM} / 20`" # Just 5% more to be sure, need something more sophistcated here... Chroot "genext2fs --size-in-blocks=${REAL_DIM} --reserved-blocks=0 --root=chroot filesystem.ext2" |