diff options
author | Ross Burton <ross.burton@arm.com> | 2022-04-25 17:33:47 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-04-28 13:35:35 +0100 |
commit | 3168b02b08614045ed82ba7d4305204fd99c449c (patch) | |
tree | 91bc2c21ef8e46b22ef2e79b7a37f5e78e3c3385 /meta-poky/conf/distro | |
parent | 4e2c92c68936bbda6f7074023542b4d47e55dae0 (diff) | |
download | poky-3168b02b08614045ed82ba7d4305204fd99c449c.tar.gz |
poky.conf: set PACKAGE_CLASSES explicitly to package_rpm
Currently, defaultsetup.conf defaults PACKAGE_CLASSES to ipkg, and Poky's
local.conf.template defaults it to rpm. So in theory Poky uses RPM, but
only if you actually use the local.conf.template: use Poky but write
your own minimal local.conf and you get ipkg being used.
Resolve this by explicitly setting PACKAGE_CLASSES in poky.conf, and
commentting out the assignment in local.conf.sample. Users with
existing local.conf files won't notice a change of behaviour, and users
who write their own minimal local.conf will get the behaviour that is
expected, that is RPMs.
(From meta-yocto rev: 0615305e26f7e643cdf91e17902ebaa8e7f8faf8)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-poky/conf/distro')
-rw-r--r-- | meta-poky/conf/distro/poky.conf | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-poky/conf/distro/poky.conf b/meta-poky/conf/distro/poky.conf index a42e1d4ebb..b4c64c495f 100644 --- a/meta-poky/conf/distro/poky.conf +++ b/meta-poky/conf/distro/poky.conf | |||
@@ -30,6 +30,8 @@ DISTRO_EXTRA_RRECOMMENDS += "${POKY_DEFAULT_EXTRA_RRECOMMENDS}" | |||
30 | 30 | ||
31 | TCLIBCAPPEND = "" | 31 | TCLIBCAPPEND = "" |
32 | 32 | ||
33 | PACKAGE_CLASSES ?= "package_rpm" | ||
34 | |||
33 | SANITY_TESTED_DISTROS ?= " \ | 35 | SANITY_TESTED_DISTROS ?= " \ |
34 | poky-3.3 \n \ | 36 | poky-3.3 \n \ |
35 | poky-3.4 \n \ | 37 | poky-3.4 \n \ |