Re: [OE-core] [PATCH 05/10] initramfs-framework: support mounting rootfs in modules

2015-09-03 Thread Otavio Salvador
On Thu, Sep 3, 2015 at 3:29 AM, Patrick Ohly wrote: > On Wed, 2015-09-02 at 13:24 -0300, Otavio Salvador wrote: >> On Wed, Sep 2, 2015 at 1:19 PM, Otavio Salvador >> wrote: >> > If there is any limitation please share the use case so we can >> > understand the need for it. >> >> I found the live

Re: [OE-core] [PATCH 05/10] initramfs-framework: support mounting rootfs in modules

2015-09-02 Thread Patrick Ohly
On Wed, 2015-09-02 at 13:24 -0300, Otavio Salvador wrote: > On Wed, Sep 2, 2015 at 1:19 PM, Otavio Salvador > wrote: > > If there is any limitation please share the use case so we can > > understand the need for it. > > I found the live module and understood why you want to do this. > Instead yo

Re: [OE-core] [PATCH 05/10] initramfs-framework: support mounting rootfs in modules

2015-09-02 Thread Otavio Salvador
On Wed, Sep 2, 2015 at 1:19 PM, Otavio Salvador wrote: > If there is any limitation please share the use case so we can > understand the need for it. I found the live module and understood why you want to do this. Instead you could use: - live as 99-live - move finish for 99-rootfs-mount and spl

Re: [OE-core] [PATCH 05/10] initramfs-framework: support mounting rootfs in modules

2015-09-02 Thread Otavio Salvador
On Wed, Sep 2, 2015 at 12:48 PM, Patrick Ohly wrote: > The "finish" script always expected to mount the rootfs itself if the > "root" parameter was set. Now it checks first whether the rootfs > directory is still empty (using /dev as indicator, because that was > already expected to be present in

[OE-core] [PATCH 05/10] initramfs-framework: support mounting rootfs in modules

2015-09-02 Thread Patrick Ohly
The "finish" script always expected to mount the rootfs itself if the "root" parameter was set. Now it checks first whether the rootfs directory is still empty (using /dev as indicator, because that was already expected to be present in a supported rootfs) and skips that step if non-empty. This al