xbps-uchroot: with -O, don't make tmpfs a private mount.

This seems to avoid the weird build issues with xbps-fbulk.
This commit is contained in:
Juan RP 2015-04-16 19:07:40 +02:00
parent 18e743daed
commit d50a6866bc

View File

@ -146,7 +146,7 @@ setup_overlayfs(const char *chrootdir, uid_t ruid, gid_t rgid)
/* /*
* Create a temporary directory on tmpfs for overlayfs storage. * Create a temporary directory on tmpfs for overlayfs storage.
*/ */
if (mount("tmpfs", tmpdir, "tmpfs", MS_MGC_VAL|MS_PRIVATE, NULL) == -1) if (mount("tmpfs", tmpdir, "tmpfs", 0, NULL) == -1)
die("failed to mount tmpfs on %s", tmpdir); die("failed to mount tmpfs on %s", tmpdir);
/* /*
* Create the upper/work dirs to setup overlayfs. * Create the upper/work dirs to setup overlayfs.