We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b28b800 commit b449304Copy full SHA for b449304
files/initramfs-tools/union-mount.j2
@@ -212,6 +212,9 @@ mkdir -p ${rootmnt}/boot
212
mkdir -p ${rootmnt}/host/$image_dir/boot
213
mount --bind ${rootmnt}/host/$image_dir/boot ${rootmnt}/boot
214
215
+## Mount the /tmp directory as tmpfs
216
+mount -t tmpfs -o rw,nosuid,nodev tmpfs ${rootmnt}/tmp
217
+
218
## Mount loop device or tmpfs for /var/log
219
if $logs_inram; then
220
# NOTE: some platforms, when reaching initramfs stage, have a small
0 commit comments