release.sh: call df(1) with -k
This commit is contained in:
parent
0075a21504
commit
21e6836bb7
1 changed files with 1 additions and 1 deletions
|
@ -358,7 +358,7 @@ mount $TMPDISKUSR $RELEASEMNTDIR/usr || exit
|
||||||
|
|
||||||
echo " * Copying files from staging to image"
|
echo " * Copying files from staging to image"
|
||||||
synctree -f $RELEASEDIR $RELEASEMNTDIR > /dev/null || true
|
synctree -f $RELEASEDIR $RELEASEMNTDIR > /dev/null || true
|
||||||
expr `df $TMPDISKUSR | tail -1 | awk '{ print $4 }'` - $extrakb >$RELEASEMNTDIR/.usrkb
|
expr `df -k $TMPDISKUSR | tail -1 | awk '{ print $4 }'` - $extrakb >$RELEASEMNTDIR/.usrkb
|
||||||
|
|
||||||
echo " * Unmounting $TMPDISKUSR from $RELEASEMNTDIR/usr"
|
echo " * Unmounting $TMPDISKUSR from $RELEASEMNTDIR/usr"
|
||||||
umount $TMPDISKUSR || exit
|
umount $TMPDISKUSR || exit
|
||||||
|
|
Loading…
Reference in a new issue