Skip to content

Implement merged /usr

Matthias Schiffer openembedded-core 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4busybox: generalize recipe to work with arbitrary install directoriesmeta/recipes-core/busybox/busybox.inc+12 -230 replies
2/4kernel: allow kernel module and firmware installation with ${base_libdir} != "/lib"meta/classes/kernel-module-split.bbclass meta/classes/kernel.bbclass+20 -92 replies
3/4base-files: create ${base_bindir} etc. instead of /bin, /sbin and /libmeta/recipes-core/base-files/base-files_3.0.14.bb+2 -23 replies
4/4base-files: create typical merged /usr symlinks if the "merged-usr" distro feature is setmeta/recipes-core/base-files/base-files_3.0.14.bb+22 -03 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] Implement merged /usr

Hi,
this patchset implements Fedora-style merged /usr with symlinks, and fixes the kernel and busybox recipes to work with this. There are probably more packages which need similar fixes.

The creation of the symlinks is controlled by the merged-usr DISTRO_FEATURE as suggested in [YOCTO #7040]. The variables base_bindir, base_sbindir, sbindir, base_libdir and nonarch_base_libdir need to be set explicitly in the distro config in addition to the DISTRO_FEATURE to make this feature as flexible as possible (see the commit message of PATCH 4/4).

Matthias Schiffer (4):
busybox: generalize recipe to work with arbitrary install directories
kernel: allow kernel module and firmware installation with

    ${base_libdir} != "/lib"

base-files: create ${base_bindir} etc. instead of /bin, /sbin and /lib
base-files: create typical merged /usr symlinks if the "merged-usr"
distro feature is set

 meta/classes/kernel-module-split.bbclass          |  4 +--
 meta/classes/kernel.bbclass                       | 25 +++++++++++-----
 meta/recipes-core/base-files/base-files_3.0.14.bb | 26 +++++++++++++++--
 meta/recipes-core/busybox/busybox.inc             | 35 ++++++++---------------
 4 files changed, 56 insertions(+), 34 deletions(-)
Signature · 1 line
2.6.4