summaryrefslogtreecommitdiffstats
path: root/meta-skeleton/recipes-core
diff options
context:
space:
mode:
authorJohannes Schneider <johannes.schneider@leica-geosystems.com>2024-05-12 08:31:59 +0200
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2024-05-12 18:48:29 +0200
commitfc688aef0c469f992b08ed4cf17d135110003e79 (patch)
tree778827c8f8b7e8a3c2a43e1ab21c1b92f7517464 /meta-skeleton/recipes-core
parentdaac13defdc7738be682d3baa3af88512f526a2a (diff)
downloadopenembedded-core-contrib-abelloni/master-next-success.tar.gz
classes: add a systemd-sysext image classabelloni/master-next-success
systemd-sysext can load a raw-image containing usr/ and opt/ folders to mount them as RO overlay over the rootfs, to "extend" the systems. This class provides the necessary changes/additions to the enclosed file-system so that systemd-sysext accepts the extension for "merge" into the rootfs. With such an created image, placed into the correct folder (see [1]), `systemd-sysext list` should be able to list the "extension" and `systemd-sysext merge` should enable the overlay. On both commands a preceding "SYSTEMD_LOG_LEVEL=debug" can aide in figuring out what is amiss. The strict name checking systemd-sysext does against the name of extension-release.NAME file, is disabled, as there is only one such in the resulting image. This is done to allow a user to freely rename the resulting image file. Note that for e.g. squashfs, the kernel needs CONFIG_SQUASHFS_XATTR=y Link: https://www.freedesktop.org/software/systemd/man/latest/systemd-sysext.html Link: https://0pointer.net/blog/testing-my-system-code-in-usr-without-modifying-usr.html Signed-off-by: Johannes Schneider <johannes.schneider@leica-geosystems.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'meta-skeleton/recipes-core')
0 files changed, 0 insertions, 0 deletions