[PATCH] enable tmpfs (#908253)

Brian C. Lane bcl at redhat.com
Thu Feb 14 17:51:30 UTC 2013


From: "Brian C. Lane" <bcl at redhat.com>

NOTE: This depends on systemd updating the tmp.mount unit so that it can be enabled with systemctl.
---
 share/runtime-postinstall.tmpl | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/share/runtime-postinstall.tmpl b/share/runtime-postinstall.tmpl
index e87a627..3153969 100644
--- a/share/runtime-postinstall.tmpl
+++ b/share/runtime-postinstall.tmpl
@@ -22,6 +22,9 @@ move etc/yum.repos.d etc/anaconda.repos.d
 remove etc/systemd/system/default.target
 symlink /lib/systemd/system/anaconda.target etc/systemd/system/default.target
 
+## Enable tmpfs
+systemctl enable tmp.mount
+
 ## Disable unwanted systemd services
 systemctl disable systemd-readahead-collect.service \
                   systemd-readahead-replay.service \
-- 
1.8.1



More information about the anaconda-patches mailing list