diff options
author | Scott Murray <scott.murray@konsulko.com> | 2021-06-07 17:14:20 -0400 |
---|---|---|
committer | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2021-06-08 21:55:19 +0000 |
commit | b71d5c65f6a749eb6b04ba46e289d430686a5eee (patch) | |
tree | bceff225d4d765ec9b0945d11372f20a97a01711 /meta-agl-core | |
parent | 371a90a2e6c463467e0e90d5112910ebb3502be2 (diff) |
Add agl-package-management feature
Changes:
- Move addition of package-management to IMAGE_FEATURES and
associated package feed variables to a new agl-package-management
feature template. The feature is not included by default in
the base set.
- To somewhat maintain the previous developer experience the new
feature has been made a dependency of the agl-devel feature.
In practice, the only images affected by this change are
agl-image-minimal and agl-image-weston from meta-agl-core, the
demo platform images in meta-agl have package management enabled
by default.
Bug-AGL: SPEC-3971
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I56665e1cd82db19a697fdae2551a9276eab08961
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26393
Tested-by: Jenkins Job builder account
ci-image-build: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'meta-agl-core')
-rw-r--r-- | meta-agl-core/conf/distro/poky-agl.conf | 7 | ||||
-rw-r--r-- | meta-agl-core/conf/include/agl-package-management.inc | 6 |
2 files changed, 6 insertions, 7 deletions
diff --git a/meta-agl-core/conf/distro/poky-agl.conf b/meta-agl-core/conf/distro/poky-agl.conf index 95b8fbec7..d835a080c 100644 --- a/meta-agl-core/conf/distro/poky-agl.conf +++ b/meta-agl-core/conf/distro/poky-agl.conf @@ -152,13 +152,6 @@ INITRAMFS_FSTYPES = "${AGL_DEFAULT_INITRAMFS_FSTYPES} ${AGL_EXTRA_INITRAMFS_FSTY # THE FUTURE is 'wic' # IMAGE_FSTYPES_append = " wic" -# enable the packagemanagement -IMAGE_FEATURES =+ "package-management" -PACKAGE_FEED_URIS = "http://192.168.7.1:8000/tmp/deploy/" -PACKAGE_FEED_BASE_PATHS = "rpm" -PACKAGE_FEED_ARCHS = "" -#${PACKAGE_ARCHS}" - # Complementary package definitions for agl-test-wgt and agl-devel-wgt # image features COMPLEMENTARY_GLOB[agl-test-wgt] = '*-test' diff --git a/meta-agl-core/conf/include/agl-package-management.inc b/meta-agl-core/conf/include/agl-package-management.inc new file mode 100644 index 000000000..9acf439c2 --- /dev/null +++ b/meta-agl-core/conf/include/agl-package-management.inc @@ -0,0 +1,6 @@ +# Enable package management +IMAGE_FEATURES =+ "package-management" +PACKAGE_FEED_URIS = "http://192.168.7.1:8000/tmp/deploy/" +PACKAGE_FEED_BASE_PATHS = "rpm" +PACKAGE_FEED_ARCHS = "" +#${PACKAGE_ARCHS}" |