* Runtime update of yocto-images
@ 2012-10-01 20:18 Julian Scheel
2012-10-01 20:51 ` Marc Ferland
0 siblings, 1 reply; 3+ messages in thread
From: Julian Scheel @ 2012-10-01 20:18 UTC (permalink / raw)
To: yocto
Hi,
I wonder how everyone deals with runtime updates of yocto based systems? Are you using the package management for this? Actually I'd prefer a one-file update, which would replace the whole rootfs. I think having a squashfs image containing the rootfs and place it on some ext-partition would be nice. One would just need an initramfs, that could mount the squashfs file as root.
Is anyone following an approach like this?
Regards,
Julian
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Runtime update of yocto-images
2012-10-01 20:18 Runtime update of yocto-images Julian Scheel
@ 2012-10-01 20:51 ` Marc Ferland
2012-10-03 6:20 ` Khem Raj
0 siblings, 1 reply; 3+ messages in thread
From: Marc Ferland @ 2012-10-01 20:51 UTC (permalink / raw)
To: yocto
Julian Scheel <julian@jusst.de> writes:
> Hi,
>
> I wonder how everyone deals with runtime updates of yocto based
> systems? Are you using the package management for this? Actually I'd
> prefer a one-file update, which would replace the whole rootfs. I
> think having a squashfs image containing the rootfs and place it on
> some ext-partition would be nice. One would just need an initramfs,
> that could mount the squashfs file as root.
>
> Is anyone following an approach like this?
This is the approach that I've taken. Works fairly well.
You will need to:
- Create your own init script (look in:
meta/recipes-core/initrdscripts/files as a starting point)
- Patch your kernel with AUFS/unionfs/overlayfs if you want something
that is not 100% volatile.
- Create an "install/update" script that actually takes care of updating
your squashfs rootfs from the initramfs.
Marc
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Runtime update of yocto-images
2012-10-01 20:51 ` Marc Ferland
@ 2012-10-03 6:20 ` Khem Raj
0 siblings, 0 replies; 3+ messages in thread
From: Khem Raj @ 2012-10-03 6:20 UTC (permalink / raw)
To: Marc Ferland; +Cc: yocto
On Mon, Oct 1, 2012 at 1:51 PM, Marc Ferland <ferlandm@sonatest.com> wrote:
> Julian Scheel <julian@jusst.de> writes:
>
>> Hi,
>>
>> I wonder how everyone deals with runtime updates of yocto based
>> systems? Are you using the package management for this? Actually I'd
>> prefer a one-file update, which would replace the whole rootfs. I
>> think having a squashfs image containing the rootfs and place it on
>> some ext-partition would be nice. One would just need an initramfs,
>> that could mount the squashfs file as root.
>>
>> Is anyone following an approach like this?
>
> This is the approach that I've taken. Works fairly well.
>
> You will need to:
> - Create your own init script (look in:
> meta/recipes-core/initrdscripts/files as a starting point)
> - Patch your kernel with AUFS/unionfs/overlayfs if you want something
> that is not 100% volatile.
> - Create an "install/update" script that actually takes care of updating
> your squashfs rootfs from the initramfs.
>
Marc
interesting. Do you have some patches to share ?
> Marc
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-10-03 6:21 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-01 20:18 Runtime update of yocto-images Julian Scheel
2012-10-01 20:51 ` Marc Ferland
2012-10-03 6:20 ` Khem Raj
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.