mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-08-30 00:33:19 +00:00
e059fc1543b8f5274ca03218bb589f4c1a9904ea
The current mctp recipe relies on the upstream's conditional build and install of the mctpd binary if systemd is present, only building the mctp utility otherwise. Future upstream changes allowing running as non-root require more control over the build process. We will need to add a new system user when mctpd is built. Adding a user requires inheriting useradd, which assumes at least one user will be created, failing the recipe otherwise. Building without mctpd would then cause the recipe to fail as conditionally inheriting useradd seems infeasible. To make useradd available for the new upstream release, split the recipe into "mctp" for the utilities and "mctpd" for the daemon, isolating the systemd dependency to "mctpd". This makes the two parts of the source explicitly selectable from user choice, rather than auto-detecting based on the presence of systemd. This will allow the mctpd daemon to be installed without the mctp utilities and allow the utilities to be installed without the daemon in distros without systemd. It will also let us express the useradd rules only when they're needed for the mctpd installation in the upcoming version bump. The mctp/mctpd split cannot be done with different packages within the same recipe. It would require the systemd and useradd classes be added to inherit_defer only when mctpd is to be built, and the library functions cannot be used to detect which packages are built. Signed-off-by: James Lee james@codeconstruct.com.au Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
Collection of layers for the OE-core universe
Main layer maintainer: Khem Raj raj.khem@gmail.com
This repository is a collection of layers to supplement OE-Core with additional packages, Each layer have designated maintainer Please see the respective READMEs in the layer subdirectories
Description
Languages
BitBake
86.3%
Shell
5.9%
C
2.7%
Roff
1.9%
NASL
1.7%
Other
1.3%