Skip to contentSkip to conversation

read only rootfs & systemd

DISCUSSION Maciek Borzecki 3 participants 4 messages Jul 22, 2014

lore
Share & tools
lore
#0 lore raw

Hi,

Is read-only-rootfs supported on systemd setups?

The current dev manual is not clear about this. Also in image.bbclass there are comments that read_only_rootfs_hook supports only sysvinit setups.

Thanks,

Signature · 19 lines
Maciej Borzęcki
Senior Software Developer at Open-RnD Sp. z o.o., Poland
www.open-rnd.pl
mobile: +48 889 117 365, fax: +48 42 657 9079

Niniejsza wiadomość wraz z załącznikami może zawierać chronione prawem
lub poufne informacje i została wysłana wyłącznie do wiadomości i
użytku osób, do których została zaadresowana. Jeśli wiadomość została
otrzymana przypadkowo zabrania się jej kopiowania lub rozsyłania do
osób trzecich. W takim przypadku uprasza się o natychmiastowe
zniszczenie wiadomości oraz poinformowanie nadawcy o zaistniałej
sytuacji za pomocą wiadomości zwrotnej. Dziękujemy.

This message, including any attachments hereto, may contain privileged
or confidential information and is sent solely for the attention and
use of the intended addressee(s). If you are not an intended addressee,
you may neither use this message nor copy or deliver it to anyone. In
such case, you should immediately destroy this message and kindly notify
the sender by reply email. Thank you.
#1 lore raw
Quoted 6 lines · Maciek Borzecki

Is read-only-rootfs supported on systemd setups?

The current dev manual is not clear about this. Also in image.bbclass there are comments that read_only_rootfs_hook supports only sysvinit setups.

Not in oe-core, no. https://github.com/MentorEmbedded/meta-ro-rootfs is how we're handling it at mentor today, we haven't gotten around to pursuing an upstream solution, whether integration of this or something else, as of yet. If you follow the instructions at
https://github.com/MentorEmbedded/meta-ro-rootfs#usage it should work fine for you.

Signature · 5 lines
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics
#2 lore raw

Christopher,
Thanks for the information. I too have been looking for this.

It seems odd to me that this build system that is designed for an embedded device, doesn't have this feature by default.

Quoted 31 lines · Christopher Larson
Quoted 6 lines · Maciek Borzecki

Is read-only-rootfs supported on systemd setups?

The current dev manual is not clear about this. Also in image.bbclass there are comments that read_only_rootfs_hook supports only sysvinit setups.

Not in oe-core, no. https://github.com/MentorEmbedded/meta-ro-rootfs is how we're handling it at mentor today, we haven't gotten around to pursuing an upstream solution, whether integration of this or something else, as of yet. If you follow the instructions at
https://github.com/MentorEmbedded/meta-ro-rootfs#usage it should work fine for you.
--
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics

--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

#3 lore raw
In reply to Christopher Larson
Quoted 12 lines · Christopher Larson

On Tue, Jul 22, 2014 at 4:43 AM, Maciek Borzecki <[email protected]> wrote:
Is read-only-rootfs supported on systemd setups?

The current dev manual is not clear about this. Also in image.bbclass
there are comments that read_only_rootfs_hook supports only sysvinit
setups.

Quoted 7 lines

Not in oe-core, no. https://github.com/MentorEmbedded/meta-ro-rootfs
is how we're handling it at mentor today, we haven't gotten around to pursuing an upstream solution, whether integration of this or something else, as of yet. If you follow the instructions at
https://github.com/MentorEmbedded/meta-ro-rootfs#usage it should work fine for you.

Thanks, very useful.

Signature · 19 lines
Maciej Borzęcki
Senior Software Developer at Open-RnD Sp. z o.o., Poland
www.open-rnd.pl
mobile: +48 889 117 365, fax: +48 42 657 9079

Niniejsza wiadomość wraz z załącznikami może zawierać chronione prawem
lub poufne informacje i została wysłana wyłącznie do wiadomości i
użytku osób, do których została zaadresowana. Jeśli wiadomość została
otrzymana przypadkowo zabrania się jej kopiowania lub rozsyłania do
osób trzecich. W takim przypadku uprasza się o natychmiastowe
zniszczenie wiadomości oraz poinformowanie nadawcy o zaistniałej
sytuacji za pomocą wiadomości zwrotnej. Dziękujemy.

This message, including any attachments hereto, may contain privileged
or confidential information and is sent solely for the attention and
use of the intended addressee(s). If you are not an intended addressee,
you may neither use this message nor copy or deliver it to anyone. In
such case, you should immediately destroy this message and kindly notify
the sender by reply email. Thank you.