Skip to content

Commit 855e80d

Browse files
authored
[202411] Revert "Mount the /tmp directory as tmpfs" (#22080)
[202411] Revert "Mount the /tmp directory as tmpfs"
1 parent 1a00c73 commit 855e80d

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

files/initramfs-tools/union-mount.j2

-3
Original file line numberDiff line numberDiff line change
@@ -218,9 +218,6 @@ mkdir -p ${rootmnt}/boot
218218
mkdir -p ${rootmnt}/host/$image_dir/boot
219219
mount --bind ${rootmnt}/host/$image_dir/boot ${rootmnt}/boot
220220

221-
## Mount the /tmp directory as tmpfs
222-
mount -t tmpfs -o rw,nosuid,nodev,size=25% tmpfs ${rootmnt}/tmp
223-
224221
## Mount loop device or tmpfs for /var/log
225222
if $logs_inram; then
226223
# NOTE: some platforms, when reaching initramfs stage, have a small

0 commit comments

Comments
 (0)