diff options
-rwxr-xr-x | cdinit-pmmx | bin | 19168 -> 19168 bytes | |||
-rw-r--r-- | cdinit.c | 3 |
2 files changed, 2 insertions, 1 deletions
diff --git a/cdinit-pmmx b/cdinit-pmmx Binary files differindex 61b7d2a..cad331b 100755 --- a/cdinit-pmmx +++ b/cdinit-pmmx @@ -320,10 +320,11 @@ int main(void) /* If this fails, we'll find out below */ mkdir("/upperroot/.overlay_work", S_IRWXU); + mkdir("/upperroot/.root", S_IRWXU); if(mount("overlay", "/newroot", "overlay", 0, "lowerdir=/lowerroot," - "upperdir=/upperroot," + "upperdir=/upperroot/.root," "workdir=/upperroot/.overlay_work") != 0) { fprintf(stderr, "FATAL: could not mount overlayfs: %s\n", |