[OE-core] systemd: /run directory not created

Martin Jansa martin.jansa at gmail.com
Mon Apr 15 13:10:58 UTC 2013


On Mon, Apr 15, 2013 at 01:58:52PM +0100, Jack Mitchell wrote:
> Ok, I have just come back to trying out the new systemd implementation, 
> and this bug still exists.
> 
> Exactly the same error as before:
> 
> [    2.390730] systemd[1]: Failed to mount /run: No such file or directory
> 
> Can we shed any light on why this directory is failing to be created and 
> what can be done to fix it. Having looked in my final target filesystem 
> there are no links to the volatiles in /var/voltatile/* to /*, should 
> there be? The base-files packages looks like it should do it but 
> obviously something is going wrong.
> 
>    for d in ${volatiles}; do
>      ln -sf volatile/$d ${D}${localstatedir}/$d
>    done

We're using base-files bbappend to create it and also replacing few
symlinks to volatile with real directories (not mandatory for systemd
iirc, but useful in some cases).

https://github.com/shr-distribution/meta-smartphone/commit/24161eed3c185867b2fd91aab6532f370d327cdd

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20130415/9aea3b9e/attachment-0002.sig>


More information about the Openembedded-core mailing list