Build Fail - gvfs problem in chroot environment
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Customization Kit |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
During the installation of some applications, a gvfs file system is mounted on "/root/.gvfs". Thus, the directory "/root" can't be umounted in the "unmount_
I solve this problem by adding an "if" clause in the "/usr/lib/
It is like this:
--
function unmount_
{
if [ -n "$REMASTER_DIR" ]; then
if [ -d "$REMASTER_
echo "Cleaning up /root/.gvfs..."
# Need to be umounted as chroot, because it is mounted in chroot environment
chroot "$REMASTER_DIR" sh -c "umount /root/.gvfs 2>&1"
chroot "$REMASTER_DIR" sh -c "umount /root/.gvfs 2>&1"
chroot "$REMASTER_DIR" sh -c "rm -rfv /root/.gvfs 2>&1"
echo "Umounting other mount points..."
fi
unmount_
unmount_
unmount_
unmount_
unmount_
unmount_
unmount_
unmount_
unmount_
fi
}
--
I don't know if it is the best solution, but solve my issue and finalize the customization.
Please think about it. This can be solved in the "Run console application" option during customization and doing the "umount /root/.gvfs; rm -rfv /root/.gvfs" commands manually, but these facilities can be appreciated by end-users :P
Bye! Good job guys.
please provice uck version and build.log