diff options
author | Johannes Schneider <johannes.schneider@leica-geosystems.com> | 2024-05-12 08:31:58 +0200 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2024-05-12 18:48:29 +0200 |
commit | daac13defdc7738be682d3baa3af88512f526a2a (patch) | |
tree | 547bfcb5252e89a2ebbc8e5f041c93c60e8e4903 /meta-skeleton/recipes-core | |
parent | 34c4c4b56abf1a32cf4349528758f76f5b7b700e (diff) | |
download | openembedded-core-contrib-daac13defdc7738be682d3baa3af88512f526a2a.tar.gz |
image.bbclass/rootfs: set and unpack package-database
set the package-database of a "lower image" to unpack and build upon
when installing packages for the current image. This way a lean image
will be created, which only holds the packages that are not already
present in the lower image.
An image build such could then be used with overlayfs or systemd-
sysext to extend the "lower image" on demand; for development purposes
on a device running the "lower image" in RO mode for example.
A configuration could look as follows:
some-core-image.bb
inherit image
IMAGE_GEN_PKGDBFS = "1"
extending-image.bb
inherit image
IMAGE_BASE_PKGDB = "some-core-image"
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