#80 manifest: Set tmp-is-dir to enable tmpfs on /tmp
Merged 6 years ago by walters. Opened 6 years ago by walters.
walters/workstation-ostree-config master-tmp-is-dir  into  master

@@ -6,6 +6,7 @@ 

      "documentation": true,

      "boot_location": "new",

      "etc-group-members": ["wheel"],

+     "tmp-is-dir": true,

  

      "postprocess-script": "post.sh",

  

Regardless of the root cause for that RHBZ, I think this is something we want anyway. So, LGTM.

Pull-Request has been merged by walters

6 years ago

can someone explain tmp-is-dir to me? the docs don't really get it through my dense (and continuously distracted) head.

When true, instead of /tmp being a symlink to /sysroot/tmp, it'll be a regular dir. This allows tmp.mount to kick in to get a tmpfs: https://github.com/systemd/systemd/blob/ffb3c2bd705409ca5bbbb9ccef4c59349ea787cf/units/tmp.mount#L14

Thanks! Some text like that would help in the docs I linked to earlier I think.

                  Submit a PR?

:thumbsup: I really need to

Metadata