packagegroup-meta-oe: include abseil-cpp for all architectures
PATCH 1/4 packagegroup-meta-oe: include abseil-cpp for all architectures
* the restriction was removed in following commit, but packagegroup-meta-oe wasn't updated reflect that
commit 7223513f400d63d1fb50d65b123d00ceb94f3695
Author: Anatol Belski <[email protected]>
Date: Fri Feb 19 12:58:45 2021 +0000
abseil-cpp: Relax build requirements
While better hardware acceleration is definitely advantageous, there is no hard requirement defined by the upstream. Removing this will allow builds targeting older hardware where DEFAULTTUNE can't be changed. If found useful, this can also be backported to lower branches.
--- meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb +1 -2
@@ -304,8 +304,7 @@ RDEPENDS_packagegroup-meta-oe-devtools_remove_powerpc64 = "android-tools breakpa RDEPENDS_packagegroup-meta-oe-devtools_remove_powerpc64le = "android-tools breakpad lshw luajit ply uftrace" RDEPENDS_packagegroup-meta-oe-devtools_remove_riscv64 = "breakpad concurrencykit heaptrack lshw ltrace luajit nodejs ply uftrace" RDEPENDS_packagegroup-meta-oe-devtools_remove_riscv32 = "breakpad concurrencykit heaptrack lshw ltrace luajit nodejs ply uftrace" -RDEPENDS_packagegroup-meta-oe-devtools_remove_aarch64 = "${@bb.utils.contains("TUNE_FEATURES", "crypto", "", "abseil-cpp", d)} concurrencykit" -RDEPENDS_packagegroup-meta-oe-devtools_remove_x86-64 = "${@bb.utils.contains("TUNE_FEATURES", "corei7", "", "abseil-cpp", d)}" +RDEPENDS_packagegroup-meta-oe-devtools_remove_aarch64 = "concurrencykit" RDEPENDS_packagegroup-meta-oe-devtools_remove_x86 = "ply" RDEPENDS_packagegroup-meta-oe-extended ="\
Signature · 1 line
2.30.2
PATCH 2/4 packagegroup-meta-oe: include nodejs without meta-python2 conditional
* it doesn't depend on meta-python2 since:
commit eaf9cfb01864a7a64c6ba4142283a8cf76cadd9a
Author: Martin Jansa <[email protected]>
Date: Thu Jan 23 17:44:06 2020 +0100
nodejs: use python3native
--- meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb +1 -1
@@ -263,7 +263,7 @@ RDEPENDS_packagegroup-meta-oe-devtools ="\ mpich \ msgpack-c \ mercurial \ - ${@bb.utils.contains("BBFILE_COLLECTIONS", "meta-python2", "nodejs", "", d)} \ + nodejs \ openocd \ pax-utils \ ipc-run \
Signature · 1 line
2.30.2
PATCH 3/4 packagegroup-meta-oe: move the packages depending on meta-python2 to separate packages
In reply to Martin Jansa--- .../packagegroups/packagegroup-meta-oe.bb | 29 ++++++++++++++++--- 1 file changed, 25 insertions(+), 4 deletions(-)
meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb +25 -4
@@ -8,12 +8,15 @@ PACKAGES = "\ packagegroup-meta-oe \ packagegroup-meta-oe-benchmarks \ packagegroup-meta-oe-connectivity \ + packagegroup-meta-oe-connectivity-python2 \ packagegroup-meta-oe-core \ packagegroup-meta-oe-crypto \ packagegroup-meta-oe-bsp \ packagegroup-meta-oe-dbs \ + packagegroup-meta-oe-dbs-python2 \ packagegroup-meta-oe-devtools \ packagegroup-meta-oe-extended \ + packagegroup-meta-oe-extended-python2 \ packagegroup-meta-oe-kernel \ packagegroup-meta-oe-multimedia \ packagegroup-meta-oe-navigation \
@@ -21,6 +24,7 @@ PACKAGES = "\ packagegroup-meta-oe-shells \ packagegroup-meta-oe-security \ packagegroup-meta-oe-support \ + packagegroup-meta-oe-support-python2 \ packagegroup-meta-oe-test \ ${@bb.utils.contains("DISTRO_FEATURES", "x11", "packagegroup-meta-oe-gnome", "", d)} \ ${@bb.utils.contains("DISTRO_FEATURES", "x11", "packagegroup-meta-oe-graphics", "", d)} \
@@ -32,11 +36,14 @@ RDEPENDS_packagegroup-meta-oe = "\ packagegroup-meta-oe-benchmarks \ packagegroup-meta-oe-bsp \ packagegroup-meta-oe-connectivity \ + ${@bb.utils.contains("BBFILE_COLLECTIONS", "meta-python2", "packagegroup-meta-oe-connectivity-python2", "", d)} \ packagegroup-meta-oe-core \ packagegroup-meta-oe-crypto \ packagegroup-meta-oe-dbs \ + ${@bb.utils.contains("BBFILE_COLLECTIONS", "meta-python2", "packagegroup-meta-oe-dbs-python2", "", d)} \ packagegroup-meta-oe-devtools \ packagegroup-meta-oe-extended \ + ${@bb.utils.contains("BBFILE_COLLECTIONS", "meta-python2", "packagegroup-meta-oe-extended-python2", "", d)} \ packagegroup-meta-oe-kernel \ packagegroup-meta-oe-multimedia \ packagegroup-meta-oe-navigation \
@@ -44,6 +51,7 @@ RDEPENDS_packagegroup-meta-oe = "\ packagegroup-meta-oe-security \ packagegroup-meta-oe-shells \ packagegroup-meta-oe-support \ + ${@bb.utils.contains("BBFILE_COLLECTIONS", "meta-python2", "packagegroup-meta-oe-support-python2", "", d)} \ packagegroup-meta-oe-test \ ${@bb.utils.contains("DISTRO_FEATURES", "x11", "packagegroup-meta-oe-gnome", "", d)} \ ${@bb.utils.contains("DISTRO_FEATURES", "x11", "packagegroup-meta-oe-graphics", "", d)} \
@@ -145,7 +153,6 @@ RDEPENDS_packagegroup-meta-oe-connectivity ="\ ser2net \ smstools3 \ telepathy-glib \ - ${@bb.utils.contains("BBFILE_COLLECTIONS", "meta-python2", "telepathy-idle", "", d)} \ thrift \ usbmuxd \ wifi-test-suite \
@@ -156,6 +163,10 @@ RDEPENDS_packagegroup-meta-oe-connectivity ="\ RDEPENDS_packagegroup-meta-oe-connectivity_append_libc-glibc = " wvstreams wvdial" +RDEPENDS_packagegroup-meta-oe-connectivity-python2 = "\ + ${@bb.utils.contains("BBFILE_COLLECTIONS", "meta-python2", "telepathy-idle", "", d)} \ +" + # dracut needs dracut RDEPENDS_packagegroup-meta-oe-core = "\ ${@bb.utils.contains("DISTRO_FEATURES", "systemd", "dbus-broker", "", d)} \
@@ -201,7 +212,6 @@ RDEPENDS_packagegroup-meta-oe-dbs ="\ leveldb \ libdbi \ mariadb \ - ${@bb.utils.contains("BBFILE_COLLECTIONS", "meta-python2", "mysql-python", "", d)} \ postgresql \ psqlodbc \ rocksdb \
@@ -209,6 +219,10 @@ RDEPENDS_packagegroup-meta-oe-dbs ="\ sqlite \ " +RDEPENDS_packagegroup-meta-oe-dbs-python2 ="\ + ${@bb.utils.contains("BBFILE_COLLECTIONS", "meta-python2", "mysql-python", "", d)} \ +" + RDEPENDS_packagegroup-meta-oe-devtools ="\ abseil-cpp \ apitrace \
@@ -347,7 +361,6 @@ RDEPENDS_packagegroup-meta-oe-extended ="\ jansson \ nana \ nicstat \ - ${@bb.utils.contains("BBFILE_COLLECTIONS", "meta-python2", "openlmi-tools", "", d)} \ ${@bb.utils.contains("DISTRO_FEATURES", "pam", "openwsman", "", d)} \ p7zip \ isomd5sum \
@@ -425,6 +438,10 @@ RDEPENDS_packagegroup-meta-oe-extended_remove_powerpc64le = "upm mraa" RDEPENDS_packagegroup-meta-oe-extended_remove_riscv64 = "upm libleak mraa sysdig tiptop" RDEPENDS_packagegroup-meta-oe-extended_remove_riscv32 = "upm libleak mraa sysdig tiptop" +RDEPENDS_packagegroup-meta-oe-extended-python2 ="\ + ${@bb.utils.contains("BBFILE_COLLECTIONS", "meta-python2", "openlmi-tools", "", d)} \ +" + RDEPENDS_packagegroup-meta-oe-gnome ="\ atkmm \ gcab \
@@ -803,7 +820,6 @@ RDEPENDS_packagegroup-meta-oe-support ="\ libusbg \ libutempter \ ${@bb.utils.contains("DISTRO_FEATURES", "x11", "links-x11", "links", d)} \ - ${@bb.utils.contains("BBFILE_COLLECTIONS", "meta-python2", "lio-utils", "", d)} \ log4c \ log4cpp \ nspr \
@@ -898,6 +914,11 @@ RDEPENDS_packagegroup-meta-oe-support_append_armv7ve = " ne10" RDEPENDS_packagegroup-meta-oe-support_append_aarch64 = " ne10" RDEPENDS_packagegroup-meta-oe-support_append_x86 = " mcelog mce-inject mce-test open-vm-tools vboxguestdrivers" RDEPENDS_packagegroup-meta-oe-support_append_x86-64 = " mcelog mce-inject mce-test open-vm-tools vboxguestdrivers" + +RDEPENDS_packagegroup-meta-oe-support-python2 ="\ + ${@bb.utils.contains("BBFILE_COLLECTIONS", "meta-python2", "lio-utils", "", d)} \ +" + RDEPENDS_packagegroup-meta-oe-support_remove_arm ="numactl" RDEPENDS_packagegroup-meta-oe-support_remove_mipsarch = "gperftools" RDEPENDS_packagegroup-meta-oe-support_remove_riscv64 = "gperftools uim"
Signature · 1 line
2.30.2
PATCH 4/4 mysql-python, lio-utils, openlmi-tools: add conditional PNBLACKLIST like meta-python2 does
In reply to Martin Jansa* it depends on target python(2) recipes from meta-python2 which are restricted with this conditional since:
https://git.openembedded.org/meta-python2/commit/?h=hardknott&id=10c65fc18998d302f34634ffceaf31ab335056dd
* telepathy-idle and cherokee from:
meta-oe/recipes-connectivity/telepathy/telepathy-idle_0.2.0.bb meta-webserver/recipes-httpd/cherokee/cherokee_git.bb
also depend on meta-python2, but use only pythonnative from there, so they aren't blacklisted.
--- meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb | 6 +++--- meta-oe/recipes-dbs/mysql/mysql-python_1.2.5.bb | 2 ++ meta-oe/recipes-extended/openlmi/openlmi-tools_0.10.5.bb | 2 ++ meta-oe/recipes-support/lio-utils/lio-utils_4.1.bb | 2 ++ 4 files changed, 9 insertions(+), 3 deletions(-)
meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb +3 -3
@@ -220,7 +220,7 @@ RDEPENDS_packagegroup-meta-oe-dbs ="\ " RDEPENDS_packagegroup-meta-oe-dbs-python2 ="\ - ${@bb.utils.contains("BBFILE_COLLECTIONS", "meta-python2", "mysql-python", "", d)} \ + ${@bb.utils.contains("BBFILE_COLLECTIONS", "meta-python2", "${@bb.utils.contains('I_SWEAR_TO_MIGRATE_TO_PYTHON3', 'yes', 'mysql-python', '', d}", "", d)} \ " RDEPENDS_packagegroup-meta-oe-devtools ="\
@@ -439,7 +439,7 @@ RDEPENDS_packagegroup-meta-oe-extended_remove_riscv64 = "upm libleak mraa sysdig RDEPENDS_packagegroup-meta-oe-extended_remove_riscv32 = "upm libleak mraa sysdig tiptop" RDEPENDS_packagegroup-meta-oe-extended-python2 ="\ - ${@bb.utils.contains("BBFILE_COLLECTIONS", "meta-python2", "openlmi-tools", "", d)} \ + ${@bb.utils.contains("BBFILE_COLLECTIONS", "meta-python2", "${@bb.utils.contains('I_SWEAR_TO_MIGRATE_TO_PYTHON3', 'yes', 'openlmi-tools', '', d}", "", d)} \ " RDEPENDS_packagegroup-meta-oe-gnome ="\
@@ -916,7 +916,7 @@ RDEPENDS_packagegroup-meta-oe-support_append_x86 = " mcelog mce-inject mce-test RDEPENDS_packagegroup-meta-oe-support_append_x86-64 = " mcelog mce-inject mce-test open-vm-tools vboxguestdrivers" RDEPENDS_packagegroup-meta-oe-support-python2 ="\ - ${@bb.utils.contains("BBFILE_COLLECTIONS", "meta-python2", "lio-utils", "", d)} \ + ${@bb.utils.contains("BBFILE_COLLECTIONS", "meta-python2", "${@bb.utils.contains('I_SWEAR_TO_MIGRATE_TO_PYTHON3', 'yes', 'lio-utils', '', d}", "", d)} \ " RDEPENDS_packagegroup-meta-oe-support_remove_arm ="numactl"
meta-oe/recipes-dbs/mysql/mysql-python_1.2.5.bb +2 -0
@@ -16,6 +16,8 @@ SRC_URI[sha256sum] = "811040b647e5d5686f84db415efd697e6250008b112b6909ba77ac059e S = "${WORKDIR}/${SRCNAME}-${PV}" +PNBLACKLIST[mysql-python] ?= "${@bb.utils.contains('I_SWEAR_TO_MIGRATE_TO_PYTHON3', 'yes', '', 'python2 is out of support for long time, read https://www.python.org/doc/sunset-python-2/ https://python3statement.org/ and if you really have to temporarily use this, then set I_SWEAR_TO_MIGRATE_TO_PYTHON3 to "yes"', d)}" + inherit ${@bb.utils.contains("BBFILE_COLLECTIONS", "meta-python2", "setuptools", "", d)} python() {
meta-oe/recipes-extended/openlmi/openlmi-tools_0.10.5.bb +2 -0
@@ -7,6 +7,8 @@ SECTION = "System/Management" inherit ${@bb.utils.contains("BBFILE_COLLECTIONS", "meta-python2", "setuptools", "", d)} +PNBLACKLIST[openlmi-tools] ?= "${@bb.utils.contains('I_SWEAR_TO_MIGRATE_TO_PYTHON3', 'yes', '', 'python2 is out of support for long time, read https://www.python.org/doc/sunset-python-2/ https://python3statement.org/ and if you really have to temporarily use this, then set I_SWEAR_TO_MIGRATE_TO_PYTHON3 to "yes"', d)}" + DEPENDS = "python-native python-pywbem-native python-m2crypto python-pywbem" SRC_URI = "http://fedorahosted.org/released/${BPN}/${BP}.tar.gz \
meta-oe/recipes-support/lio-utils/lio-utils_4.1.bb +2 -0
@@ -55,6 +55,8 @@ do_install() { install -m 755 ${S}/conf/lio_start.default ${D}/etc/target/lio_start.sh } +PNBLACKLIST[lio-utils] ?= "${@bb.utils.contains('I_SWEAR_TO_MIGRATE_TO_PYTHON3', 'yes', '', 'python2 is out of support for long time, read https://www.python.org/doc/sunset-python-2/ https://python3statement.org/ and if you really have to temporarily use this, then set I_SWEAR_TO_MIGRATE_TO_PYTHON3 to "yes"', d)}" + RDEPENDS_${PN} += "python-stringold python-subprocess python-shell \ python-datetime python-textutils python-crypt python-netclient python-email \ bash"
Signature · 1 line
2.30.2
Re: [meta-oe][PATCH 4/4] mysql-python, lio-utils, openlmi-tools: add conditional PNBLACKLIST like meta-python2 does
The packagegroup-meta-oe.bb part of this is wrong, will fix and send v2 shortly.
Quoted 132 lines · Martin Jansa
* it depends on target python(2) recipes from meta-python2 which are restricted with this
conditional since:* telepathy-idle and cherokee from:
meta-oe/recipes-connectivity/telepathy/telepathy-idle_0.2.0.bb meta-webserver/recipes-httpd/cherokee/cherokee_git.bb
also depend on meta-python2, but use only pythonnative from there, so
they aren't blacklisted.Signed-off-by Martin Jansa <[email protected]>--- meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb | 6 +++--- meta-oe/recipes-dbs/mysql/mysql-python_1.2.5.bb | 2 ++ meta-oe/recipes-extended/openlmi/openlmi-tools_0.10.5.bb | 2 ++ meta-oe/recipes-support/lio-utils/lio-utils_4.1.bb | 2 ++ 4 files changed, 9 insertions(+), 3 deletions(-)meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb +1
-1@@ -220,7 +220,7 @@ RDEPENDS_packagegroup-meta-oe-dbs ="\ " RDEPENDS_packagegroup-meta-oe-dbs-python2 ="\ - ${@bb.utils.contains("BBFILE_COLLECTIONS", "meta-python2", "mysql-python", "", d)} \ + ${@bb.utils.contains("BBFILE_COLLECTIONS", "meta-python2", "${@bb.utils.contains('I_SWEAR_TO_MIGRATE_TO_PYTHON3', 'yes', 'mysql-python', '', d}", "", d)} \"
RDEPENDS_packagegroup-meta-oe-devtools ="\
meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb +0
-0@@ -439,7 +439,7 @@ RDEPENDS_packagegroup-meta-oe-extended_remove_riscv64= "upm libleak mraa sysdig
RDEPENDS_packagegroup-meta-oe-extended_remove_riscv32 = "upm libleak mraa
sysdig tiptop"RDEPENDS_packagegroup-meta-oe-extended-python2 ="\
- ${@bb.utils.contains("BBFILE_COLLECTIONS", "meta-python2",
"openlmi-tools", "", d)} \
+ ${@bb.utils.contains("BBFILE_COLLECTIONS", "meta-python2",
"${@bb.utils.contains('I_SWEAR_TO_MIGRATE_TO_PYTHON3', 'yes', 'openlmi-tools', '', d}", "", d)} \
"RDEPENDS_packagegroup-meta-oe-gnome ="\
meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb +0
-0@@ -916,7 +916,7 @@ RDEPENDS_packagegroup-meta-oe-support_append_x86 = "mcelog mce-inject mce-test
RDEPENDS_packagegroup-meta-oe-support_append_x86-64 = " mcelog mce-inject
mce-test open-vm-tools vboxguestdrivers"RDEPENDS_packagegroup-meta-oe-support-python2 ="\
- ${@bb.utils.contains("BBFILE_COLLECTIONS", "meta-python2",
"lio-utils", "", d)} \
+ ${@bb.utils.contains("BBFILE_COLLECTIONS", "meta-python2",
"${@bb.utils.contains('I_SWEAR_TO_MIGRATE_TO_PYTHON3', 'yes', 'lio-utils', '', d}", "", d)} \
"RDEPENDS_packagegroup-meta-oe-support_remove_arm ="numactl"
meta-oe/recipes-dbs/mysql/mysql-python_1.2.5.bb +0
-0@@ -16,6 +16,8 @@ SRC_URI[sha256sum] ="
811040b647e5d5686f84db415efd697e6250008b112b6909ba77ac059eS = "${WORKDIR}/${SRCNAME}-${PV}"
+PNBLACKLIST[mysql-python] ?= "${@bb.utils.contains('I_SWEAR_TO_MIGRATE_TO_PYTHON3', 'yes', '', 'python2 is out of support for long time, read
https://www.python.org/doc/sunset-python-2/ https://python3statement.org/
and if you really have to temporarily use this, then setI_SWEAR_TO_MIGRATE_TO_PYTHON3to "yes"', d)}"
+
inherit ${@bb.utils.contains("BBFILE_COLLECTIONS", "meta-python2",
"setuptools", "", d)}
python(){meta-oe/recipes-extended/openlmi/openlmi-tools_0.10.5.bb +1
-0@@ -7,6 +7,8 @@ SECTION = "System/Management" inherit ${@bb.utils.contains("BBFILE_COLLECTIONS", "meta-python2", "setuptools", "", d)} +PNBLACKLIST[openlmi-tools] ?="${@bb.utils.contains('I_SWEAR_TO_MIGRATE_TO_PYTHON3', 'yes', '', 'python2 is out of support for long time, read
https://www.python.org/doc/sunset-python-2/ https://python3statement.org/
and if you really have to temporarily use this, then setI_SWEAR_TO_MIGRATE_TO_PYTHON3to "yes"', d)}"
+
DEPENDS = "python-native python-pywbem-native python-m2crypto
python-pywbem"
SRC_URI= "http://fedorahosted.org/released/${BPN}/${BP}.tar.gz \meta-oe/recipes-support/lio-utils/lio-utils_4.1.bb +0
-0@@ -55,6 +55,8 @@ do_install() { install -m 755 ${S}/conf/lio_start.default
${D}/etc/target/lio_start.sh
}+PNBLACKLIST[lio-utils] ?= "${@bb.utils.contains('I_SWEAR_TO_MIGRATE_TO_PYTHON3', 'yes', '', 'python2 is out of support for long time, read
https://www.python.org/doc/sunset-python-2/ https://python3statement.org/
and if you really have to temporarily use this, then setI_SWEAR_TO_MIGRATE_TO_PYTHON3to "yes"', d)}"
+
RDEPENDS_${PN} += "python-stringold python-subprocess python-shell \
python-datetime python-textutils python-crypt python-netclient
python-email \
bash"
--
2.30.2