aboutsummaryrefslogtreecommitdiffstats
path: root/initramfs-init.in
diff options
context:
space:
mode:
Diffstat (limited to 'initramfs-init.in')
-rwxr-xr-xinitramfs-init.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/initramfs-init.in b/initramfs-init.in
index d140d75..8604c12 100755
--- a/initramfs-init.in
+++ b/initramfs-init.in
@@ -328,9 +328,9 @@ if [ "$SINGLEMODE" = "yes" ]; then
fi
# mount tmpfs sysroot
-root_opts=
+root_opts="-o mode=0755"
if [ -n "$KOPT_root_size" ]; then
- root_opts="-o size=$KOPT_root_size"
+ root_opts="$root_opts,size=$KOPT_root_size"
fi
mount -t tmpfs $root_opts tmpfs $sysroot