Fixing ext2/ext3 case in lb_binary_rootfs to work with --build-with-chroot false (Closes: #627902).
This commit is contained in:
parent
348cb4b391
commit
7b92318f64
|
@ -100,7 +100,16 @@ case "${LB_CHROOT_FILESYSTEM}" in
|
|||
rm -f binary/${INITFS}/filesystem.${LB_CHROOT_FILESYSTEM}
|
||||
fi
|
||||
|
||||
DU_DIM="$(du -ks chroot/chroot | cut -f1)"
|
||||
case "${LB_BUILD_WITH_CHROOT}" in
|
||||
true)
|
||||
DU_DIM="$(du -ks chroot/chroot | cut -f1)"
|
||||
;;
|
||||
|
||||
false)
|
||||
DU_DIM="$(du -ks chroot | cut -f1)"
|
||||
;;
|
||||
esac
|
||||
|
||||
REAL_DIM="$(Calculate_partition_size ${DU_DIM} ${LB_CHROOT_FILESYSTEM})"
|
||||
|
||||
RESERVED_PERCENTAGE="--reserved-percentage"
|
||||
|
|
Loading…
Reference in New Issue