diff options
author | Simon Rettberg | 2020-12-09 13:16:19 +0100 |
---|---|---|
committer | Simon Rettberg | 2020-12-09 13:16:19 +0100 |
commit | 81da3bfe80b8410d6a48c46ac8ed91b0ea5b0369 (patch) | |
tree | 22723585e1561cfcaa5296e1125920d43bafd04c | |
parent | [rootfs-stage32] Add missing config include (diff) | |
download | mltk-81da3bfe80b8410d6a48c46ac8ed91b0ea5b0369.tar.gz mltk-81da3bfe80b8410d6a48c46ac8ed91b0ea5b0369.tar.xz mltk-81da3bfe80b8410d6a48c46ac8ed91b0ea5b0369.zip |
[chroot] tmpfs size = 2G
-rw-r--r-- | core/includes/chroot.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/includes/chroot.inc b/core/includes/chroot.inc index 4339085a..3782ab05 100644 --- a/core/includes/chroot.inc +++ b/core/includes/chroot.inc @@ -91,7 +91,7 @@ chroot_prepare_mounts() { # Newer kernels (5.x) cannot have upperdir as subdirectory of lowerdir - tmpfs mkdir -p "${CHROOT_TMPFS}" - mount -t tmpfs chrootupper "${CHROOT_TMPFS}" || perror "Could not mount tmpfs as upperdir" + mount -t tmpfs -o size=2G chrootupper "${CHROOT_TMPFS}" || perror "Could not mount tmpfs as upperdir" mkdir -p "${CHROOT_UPPER_TMPFS}" || perror "Could not create ${CHROOT_UPPER_TMPFS}" rsync -axHAX "${CHROOT_UPPERDIR}/" "${CHROOT_UPPER_TMPFS}/" || perror "Could not put upperdir into upupdir" |