[OE-core] [PATCH 0/4] Implement merged /usr
Matthias Schiffer
mschiffer at universe-factory.net
Wed Dec 16 18:11:56 UTC 2015
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(-)
--
2.6.4
More information about the Openembedded-core
mailing list