summaryrefslogtreecommitdiff
path: root/helpers/lh_buildbinary
diff options
context:
space:
mode:
Diffstat (limited to 'helpers/lh_buildbinary')
-rwxr-xr-xhelpers/lh_buildbinary2
1 files changed, 1 insertions, 1 deletions
diff --git a/helpers/lh_buildbinary b/helpers/lh_buildbinary
index 48216e1e0..2a11c9bf4 100755
--- a/helpers/lh_buildbinary
+++ b/helpers/lh_buildbinary
@@ -162,7 +162,7 @@ EOF
REAL_DIM="`expr ${DU_DIM} + ${DU_DIM} / 20`" # Just 5% more to be sure, need something more sophistcated here...
dd if=/dev/zero of="${LIVE_ROOT}"/binary.img bs=1024k count=${REAL_DIM}
- FREELO="`losetup -f`"
+ FREELO="`lh_chroot 'losetup -f'`"
echo "!!! The following error/warning messages can be ignored !!!"
lh_losetup $FREELO "${LIVE_ROOT}"/binary.img 0