Skip to content

initscript: mount the cache device at /storage

Martin Roukala requested to merge storage_mountpoint into master

Historically, /container was supposed to mean the extracted rootfs of the container we want to run. This has however changed when we moved to using podman directly in the initramfs. Let's reflect that in the mount point name!

This is the second attempt at this patch, as its first version made its way into a release, which broke the backwards compatibility because podman's run/graphroot somewhat store absolute paths, and would re-create /container in the /, which is backed by tmpfs. This led hosts to run out of RAM during execution...

v2:

  • Add a symlink from /container to /storage for backwards compatibility

Closes: #19 (closed) Closes: #28 (moved)

Merge request reports