[oe] /usr merge, stateless systems and atomic updates w/ OpenEmbedded?

Leon Woestenberg leon at sidebranch.com
Sat Jan 14 23:41:09 UTC 2017


Hello Khem,

I know outside of OE it is more and more common place, such as Project
Atomic.

Re-reading some of the material I have found, I found that Chen Qi of Wind
River had something going.

http://lists.openembedded.org/pipermail/openembedded-core/2014-December/099616.html

>* > Several days ago, I tried to do /usr merge in OE (like what Fedora and
*>* > Arch does). It turned out that we need to patch several packages to make
*>* > things work.
*>* >
*>* > (I haven't sent out the patches because it's just some initial
*>* > investigation and I'm not sure if people want this feature or not.)
*>* >
*>* > If you want this feature in OE, please open a bug/enhancement in
*>* > bugzilla https://bugzilla.yoctoproject.org/
<https://bugzilla.yoctoproject.org/> to see if the community
*>* > wants it or not.
*>* >
*>* > Regards,
*>* > Chen Qi*

and in Yocto an enhancement is going for usrmerge:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=7040

and stateless:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=9527

Regards,

Leon.

On Sat, Jan 14, 2017 at 10:59 PM, Khem Raj <raj.khem at gmail.com> wrote:

>
>
> On 1/14/17 11:45 AM, Leon Woestenberg wrote:
> > Hello all,
> >
> > more and more I am liking the approach taken by SuSE snapper (incremental
> > but atomic updates using light-weight snapshots on BTRFS) and OSTree
> > (incremental atomic updates using a GIT like approach on the source,
> bsdiff
> > for delta updates).
> >
> > These are targeting -- but also require -- systems that use the "/usr
> > merge" approach, which is a bit controversial, but seems to fit many
> > today's use cases; embedded, containers etc.
> >
> > GNOME Continuous uses OpenEmbedded with OStree.
> > Automotive Grade Linux has started to use Yocto with OSTree.
> >
> > Looking back in the mailing lists, I have seen interest and activities in
> > and around OpenEmbedded Core since 2013 to support /usr merge, but I am
> > unaware of any upstream support for this, or distro's that implement it.
> Am
> > I missing something?
>
> I know archlinux based distros are already symlinking /bin and /lib
> /sbin to their counterparts in /usr but I am not sure once you remove
> these symlinks things will keep working as usual as there will be a set
> of packages assuming these paths and so on.
>
> >
> > Are there any developers here who do use OpenEmbedded with a /usr merge
> > approach?
> >
> > Regards,
> >
> > Leon.
> >
> > Some random links I came across:
> > http://lists.openembedded.org/pipermail/openembedded-core/
> 2014-December/099616.html
> > https://patchwork.openembedded.org/patch/89069/
> > http://lists.openembedded.org/pipermail/openembedded-core/
> 2013-August/083595.html
> > https://www.freedesktop.org/wiki/Software/systemd/TheCaseForTheUsrMerge/
> > https://patchwork.openembedded.org/patch/111129/
> >
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>



More information about the Openembedded-devel mailing list