summaryrefslogtreecommitdiffstats
path: root/initramfs/stage3-stuff/init
diff options
context:
space:
mode:
Diffstat (limited to 'initramfs/stage3-stuff/init')
-rwxr-xr-xinitramfs/stage3-stuff/init2
1 files changed, 2 insertions, 0 deletions
diff --git a/initramfs/stage3-stuff/init b/initramfs/stage3-stuff/init
index 1f88172f..b1de9a82 100755
--- a/initramfs/stage3-stuff/init
+++ b/initramfs/stage3-stuff/init
@@ -701,6 +701,8 @@ fi
if [ -n "${union_type}" ] ; then
echo "Using ${union_type} for rw access"
mkdir -p ${rwdir}/union ${rwdir}/uniontmp /rorootfs
+ # adapting tempfs size of the device directory (takes /tmp in stage4)
+ mount -o remount,size=${tmpfssize} ${devdir}
mount -n -t tmpfs -o size=${tmpfssize} none ${rwdir}/uniontmp
# hack for handling unionfs with patched run-init
mount -n --move /mnt /rorootfs