On Fri, Feb 15, 2013 at 11:11:05AM +0100, Vratislav Podzimek wrote:
On Thu, 2013-02-14 at 16:56 -0800, Brian C. Lane wrote:
> From: "Brian C. Lane" <bcl(a)redhat.com>
>
> NOTE: better solution, but requires systemd to include tmp.mount
> ---
> share/runtime-postinstall.tmpl | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/share/runtime-postinstall.tmpl b/share/runtime-postinstall.tmpl
> index e87a627..1c0f9ba 100644
> --- a/share/runtime-postinstall.tmpl
> +++ b/share/runtime-postinstall.tmpl
> @@ -22,6 +22,10 @@ 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
>
> +## Make sure tmpfs is enabled
> +mkdir etc/systemd/system/local-fs.target.wants/
> +symlink /lib/systemd/system/tmp.mount
etc/systemd/system/local-fs.target.wants/tmp.mount
> +
> ## Disable unwanted systemd services
> systemctl disable systemd-readahead-collect.service \
> systemd-readahead-replay.service \
Ooops, I have overlooked this one. The code looks good and it looks like
a best way. ACK.
Thanks, there was some discussion about the right way to do this :)
--
Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)