All of lore.kernel.org
 help / color / mirror / Atom feed
* how to make writable permission for home/root in read-only rootfs (yocto build)
@ 2019-03-19 10:26 Arunkumar V
  2019-03-20 12:35 ` Josef Holzmayr
  2019-03-20 13:47 ` Mike Looijmans
  0 siblings, 2 replies; 3+ messages in thread
From: Arunkumar V @ 2019-03-19 10:26 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 187 bytes --]

HI

can any one explain me how to config the /home/root as writable in
read-only rootfs?

is any setting to do with local file or .bbclass?
if any macros need to be enable, please

[-- Attachment #2: Type: text/html, Size: 264 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: how to make writable permission for home/root in read-only rootfs (yocto build)
  2019-03-19 10:26 how to make writable permission for home/root in read-only rootfs (yocto build) Arunkumar V
@ 2019-03-20 12:35 ` Josef Holzmayr
  2019-03-20 13:47 ` Mike Looijmans
  1 sibling, 0 replies; 3+ messages in thread
From: Josef Holzmayr @ 2019-03-20 12:35 UTC (permalink / raw)
  To: Arunkumar V; +Cc: yocto

Hello,

On Tue, Mar 19, 2019 at 03:56:00PM +0530, Arunkumar V wrote:
> HI
> 
> can any one explain me how to config the /home/root as writable in
> read-only rootfs?
> 
> is any setting to do with local file or .bbclass?
> if any macros need to be enable, please

No, it does not work like this on a directory based approach. General
Linux concepts regarding filesystems permissions apply, so its basically
an all-or-nothing thing.

Having said that, please find some inspiration in this thread:
https://lists.yoctoproject.org/pipermail/yocto/2019-February/044166.html

Greetz
-- 
———————————————
Josef Holzmayr
Software Developer Embedded Systems

Tel: +49 8444 9204-48
Fax: +49 8444 9204-50

R-S-I Elektrotechnik GmbH & Co. KG
Woelkestrasse 11
D-85301 Schweitenkirchen
www.rsi-elektrotechnik.de
———————————————
Amtsgericht Ingolstadt – GmbH: HRB 191328 – KG: HRA 170393
Geschäftsführer: Dr.-Ing. Michael Sorg, Dipl.-Ing. Franz Sorg
Ust-IdNr: DE 128592548 

_____________________________________________________________
Amtsgericht Ingolstadt - GmbH: HRB 191328 - KG: HRA 170363
Geschäftsführer: Dr.-Ing. Michael Sorg, Dipl.-Ing. Franz Sorg
USt-IdNr.: DE 128592548



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: how to make writable permission for home/root in read-only rootfs (yocto build)
  2019-03-19 10:26 how to make writable permission for home/root in read-only rootfs (yocto build) Arunkumar V
  2019-03-20 12:35 ` Josef Holzmayr
@ 2019-03-20 13:47 ` Mike Looijmans
  1 sibling, 0 replies; 3+ messages in thread
From: Mike Looijmans @ 2019-03-20 13:47 UTC (permalink / raw)
  To: yocto

On 19-03-19 11:26, Arunkumar V wrote:
> HI
> 
> can any one explain me how to config the /home/root as writable in read-only 
> rootfs?
> 
> is any setting to do with local file or .bbclass?
> if any macros need to be enable, please
> 


You can mount something writeable on top of /home/root to accomplish that.

(Being able to write onto a read-only partition would kind of defeat the 
purpose of a read-only filesystem...)

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-03-21  2:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-19 10:26 how to make writable permission for home/root in read-only rootfs (yocto build) Arunkumar V
2019-03-20 12:35 ` Josef Holzmayr
2019-03-20 13:47 ` Mike Looijmans

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.