diff options
Diffstat (limited to 'testing/scripts/build-rootimage')
-rwxr-xr-x | testing/scripts/build-rootimage | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/testing/scripts/build-rootimage b/testing/scripts/build-rootimage index b575ebb50..ac9ee8bbc 100755 --- a/testing/scripts/build-rootimage +++ b/testing/scripts/build-rootimage @@ -48,6 +48,7 @@ do_on_exit umount $LOOPDIR/proc mkdir -p $LOOPDIR/root/compile log_action "Mounting $ROOTIMGCOMPILEDIR as /root/compile" execute "mount -o bind $ROOTIMGCOMPILEDIR $LOOPDIR/root/compile" +do_on_exit rm -r $LOOPDIR/root/compile do_on_exit umount $LOOPDIR/root/compile echo "Installing software from source" @@ -63,3 +64,5 @@ done log_action "Removing /etc/resolv.conf" execute "rm -f $LOOPDIR/etc/resolv.conf" + +mkdir -p $LOOPDIR/hostfs |