runtime icon indicating copy to clipboard operation
runtime copied to clipboard

why is there umount in cross/build-rootfs.sh?

Open seanshpark opened this issue 10 years ago • 2 comments

There's a line in cross/build-rootfs.sh that un-mounts the folder before and after preparing arm root-fs.

umount $__RootfsDir/*
rm -rf $__RootfsDir
...
umount $__RootfsDir/*

do anyone know the reason? is this (still) valid ?

seanshpark avatar Apr 07 '16 10:04 seanshpark

During rootfs preparation some scripts from .deb packages are executed. Some of them can mount some directory inside chroot.

mkborg avatar Apr 07 '16 10:04 mkborg

thanks, I'll close this issue after a day or two.

seanshpark avatar Apr 07 '16 11:04 seanshpark