Fix error
This commit is contained in:
parent
57c263f016
commit
96d96c37ac
1 changed files with 2 additions and 2 deletions
4
build.sh
4
build.sh
|
@ -423,8 +423,8 @@ rm -f "$MOUNT_DIR/usr/sbin/policy-rc.d"
|
|||
##
|
||||
# Unmount all file systems and minimize image file for distribution.
|
||||
#
|
||||
mount "$MOUNT_DIR/boot"
|
||||
mount "$MOUNT_DIR"
|
||||
umount "$MOUNT_DIR/boot"
|
||||
umount "$MOUNT_DIR"
|
||||
ROOT_DEV=$(mount | grep "$MOUNT_DIR " | cut -f1 -d ' ')
|
||||
zerofree -v "$ROOT_DEV"
|
||||
unmount_image "$IMG_FILE"
|
||||
|
|
Reference in a new issue