[OE-core] RFC: meta-ro-rootfs approach and volatiles vs tmpfiles.d

Otavio Salvador otavio at ossystems.com.br
Wed Jul 24 22:40:42 UTC 2013


On Wed, Jul 24, 2013 at 7:34 PM, Chris Larson <clarson at kergoth.com> wrote:
>
> On Wed, Jul 24, 2013 at 2:51 PM, Otavio Salvador <otavio at ossystems.com.br>
> wrote:
>>
>> On Wed, Jul 24, 2013 at 3:54 PM, Chris Larson <clarson at kergoth.com> wrote:
>> ...
>> > The standalone systemd-tmpfiles recipe I've created has a fairly small
>> > set
>> > of dependencies: intltool-native, dbus, libcap. Given this, I'd like to
>> > propose transitioning away from populate-volatiles to systemd-tmpfiles,
>> > even
>> > for non-systemd images. I think that the update-tmpfiles shell script
>> > may be
>> > of use in a transition, but before we even begin discussing a transition
>> > path, I'd like to request comments on the notion of moving to it at all.
>>
>> I think it shouldn't be hard to make an C app or script which could
>> parse systemd-tmpfiles and use this for non-systemd systems. What do
>> you think?
>
>
> I considered this too, but systemd-tmpfiles supports quite a lot more than
> volatiles, for example restoring selinux labels. Maybe that sounds fun to
> you, but it sounded like more trouble than it was worth to me, given
> systemd-tmpfiles can be used without systemd :) But yes, it's definitely
> another option to consider.

Sorry, pressed the send button too fast ...

I understand but I think we could solve the tmp files issue only;
people using sysv are expected to solve all those other issues in
another way so it is not a regression for them.

--
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://projetos.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750



More information about the Openembedded-core mailing list