Skip to content

Commit

Permalink
systemd: Do not mount /tmp as tmpfs
Browse files Browse the repository at this point in the history
It’s preferred to put it on disk, so mask the unit.
  • Loading branch information
pmenzel committed Mar 12, 2018
1 parent 121312a commit 56f143e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions systemd.be0
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,9 @@ mee_install_post() {

# Support Linux kernels built with `CONFIG_CMDLINE="init=/bin/systemd"`
ln -v ${D}/lib/systemd/systemd ${D}/bin/systemd

# Do not use tmpfs for `/tmp`
ln -vs /dev/null ${D}/etc/systemd/system/tmp.mount
}

###############################################################################
Expand Down

0 comments on commit 56f143e

Please sign in to comment.