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/local.conf.sample | |
| 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/local.conf.sample')
| -rw-r--r-- | meta-poky/conf/local.conf.sample | 4 |
1 files changed, 2 insertions, 2 deletions
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 |
