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 | |
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>
-rw-r--r-- | meta-poky/conf/distro/poky.conf | 2 | ||||
-rw-r--r-- | meta-poky/conf/local.conf.sample | 4 |
2 files changed, 4 insertions, 2 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 \ |
diff --git a/meta-poky/conf/local.conf.sample b/meta-poky/conf/local.conf.sample index d92aa0ef87..4d2fa516fe 100644 --- a/meta-poky/conf/local.conf.sample +++ b/meta-poky/conf/local.conf.sample | |||
@@ -104,8 +104,8 @@ DISTRO ?= "poky" | |||
104 | # - 'package_ipk' for ipk files are used by opkg (a debian style embedded package manager) | 104 | # - 'package_ipk' for ipk files are used by opkg (a debian style embedded package manager) |
105 | # - 'package_rpm' for rpm style packages | 105 | # - 'package_rpm' for rpm style packages |
106 | # E.g.: PACKAGE_CLASSES ?= "package_rpm package_deb package_ipk" | 106 | # E.g.: PACKAGE_CLASSES ?= "package_rpm package_deb package_ipk" |
107 | # We default to rpm: | 107 | # OE-Core defaults to ipkg, whilst Poky defaults to rpm: |
108 | PACKAGE_CLASSES ?= "package_rpm" | 108 | # PACKAGE_CLASSES ?= "package_rpm" |
109 | 109 | ||
110 | # | 110 | # |
111 | # SDK target architecture | 111 | # SDK target architecture |