[LORAX rhel7/master] Make sure tmpfs is enabled (#908253)

Brian C. Lane bcl at redhat.com
Fri Feb 15 13:41:48 UTC 2013


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 at 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)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 482 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/anaconda-patches/attachments/20130215/4f166d28/attachment.sig>


More information about the anaconda-patches mailing list