Skip to contentSkip to conversation

Remove allarch from recipes which rdeps TUNE_PKGARCH packages

PATCH Superseded [email protected] 2 participants 5 messages Aug 3, 2018

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

cover Remove allarch from recipes which rdeps TUNE_PKGARCH packages

From: Kai Kang <[email protected]>

Kai Kang (2):
remove allarch from recipes which rdepends on TUNE_PKGARCH packages layer.conf: update SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS

 meta/conf/layer.conf                                       | 7 -------
 meta/recipes-connectivity/ppp-dialin/ppp-dialin_0.1.bb     | 2 +-
 meta/recipes-connectivity/resolvconf/resolvconf_1.79.bb    | 2 --
 meta/recipes-core/initrdscripts/initramfs-framework_1.0.bb | 2 --
 .../initrdscripts/initramfs-module-setup-live_1.0.bb       | 2 --
 .../docbook-xml/docbook-xsl-stylesheets_1.79.1.bb          | 1 -
 meta/recipes-graphics/wayland/weston-init.bb               | 2 +-
 meta/recipes-graphics/xorg-font/font-alias_1.0.3.bb        | 2 --
 meta/recipes-graphics/xorg-font/xorg-minimal-fonts.bb      | 2 +-
 .../ca-certificates/ca-certificates_20170717.bb            | 2 --
 10 files changed, 3 insertions(+), 21 deletions(-)
Signature · 1 line
2.17.1
#1 lore raw

PATCH 1/2 remove allarch from recipes which rdepends on TUNE_PKGARCH packages

From: Kai Kang <[email protected]>

The following allarch packages rdepends on TUNE_PKGARCH packages. So remove allarch from these recipes.

ca-certificates -> openssl
docbook-xsl-stylesheets -> perl
font-alias -> font-util
initramfs-module-setup-live -> udev-extraconf initramfs-framework -> ${VIRTUAL-RUNTIME_base-utils} (busybox by default) ppp-dialin -> ppp
resolvconf -> bash
weston-init -> weston kbd
xorg-minimal-fonts -> font-alias

---
 meta/recipes-connectivity/ppp-dialin/ppp-dialin_0.1.bb          | 2 +-
 meta/recipes-connectivity/resolvconf/resolvconf_1.79.bb         | 2 --
 meta/recipes-core/initrdscripts/initramfs-framework_1.0.bb      | 2 --
 .../initrdscripts/initramfs-module-setup-live_1.0.bb            | 2 --
 .../docbook-xml/docbook-xsl-stylesheets_1.79.1.bb               | 1 -
 meta/recipes-graphics/wayland/weston-init.bb                    | 2 +-
 meta/recipes-graphics/xorg-font/font-alias_1.0.3.bb             | 2 --
 meta/recipes-graphics/xorg-font/xorg-minimal-fonts.bb           | 2 +-
 .../recipes-support/ca-certificates/ca-certificates_20170717.bb | 2 --
 9 files changed, 3 insertions(+), 14 deletions(-)
meta/recipes-connectivity/ppp-dialin/ppp-dialin_0.1.bb +1 -1
index b5f68951d7..eee6ef6518 100644
@@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384
 SRC_URI = "file://host-peer \
            file://ppp-dialin"
 
-inherit allarch useradd
+inherit useradd
 
 S = "${WORKDIR}"
 
meta/recipes-connectivity/resolvconf/resolvconf_1.79.bb +0 -2
index 8550177288..0fdd479e1c 100644
@@ -23,8 +23,6 @@ SRC_URI[sha256sum] = "8e2843cd4162b706f0481b3c281657728cbc2822e50a64fff79b79bd8a
 # so we check the latest upstream from a directory that does get updated
 UPSTREAM_CHECK_URI = "${DEBIAN_MIRROR}/main/r/resolvconf/"
 
-inherit allarch
-
 do_compile () {
 	:
 }
meta/recipes-core/initrdscripts/initramfs-framework_1.0.bb +0 -2
index 6337b998ac..6d1dbdd2b8 100644
@@ -5,8 +5,6 @@ RDEPENDS_${PN} += "${VIRTUAL-RUNTIME_base-utils}"
 
 PR = "r4"
 
-inherit allarch
-
 SRC_URI = "file://init \
            file://exec \
            file://nfsrootfs \
meta/recipes-core/initrdscripts/initramfs-module-setup-live_1.0.bb +0 -2
index 4d2fe9dd2b..26468c1b5d 100644
@@ -5,8 +5,6 @@ RDEPENDS_${PN} = "initramfs-framework-base udev-extraconf"
 
 PR = "r4"
 
-inherit allarch
-
 FILESEXTRAPATHS_prepend := "${THISDIR}/initramfs-framework:"
 SRC_URI = "file://setup-live"
 
meta/recipes-devtools/docbook-xml/docbook-xsl-stylesheets_1.79.1.bb +0 -1
index 07d32ce979..c1bcc1743c 100644
@@ -17,7 +17,6 @@ UPSTREAM_CHECK_REGEX = "/docbook-xsl/(?P<pver>(\d+[\.\-_]*)+(?!\.0)\.\d+)/"
 
 S = "${WORKDIR}/docbook-xsl-${PV}"
 
-inherit allarch
 BBCLASSEXTEND = "native"
 
 do_configure (){
meta/recipes-graphics/wayland/weston-init.bb +1 -1
index 22ba5f3fb3..f3b4398295 100644
@@ -18,7 +18,7 @@ do_install() {
 	sed -i 's,@LOCALSTATEDIR@,${localstatedir},g' ${D}${bindir}/weston-start
 }
 
-inherit allarch update-rc.d distro_features_check systemd
+inherit update-rc.d distro_features_check systemd
 
 # rdepends on weston which depends on virtual/egl
 REQUIRED_DISTRO_FEATURES = "opengl"
meta/recipes-graphics/xorg-font/font-alias_1.0.3.bb +0 -2
index 15e101596a..de1c8ead38 100644
@@ -15,8 +15,6 @@ DEPENDS = "util-macros-native font-util-native"
 RDEPENDS_${PN} = "encodings font-util"
 RDEPENDS_${PN}_class-native = "font-util-native"
 
-inherit allarch
-
 PE = "1"
 PR = "${INC_PR}.3"
 
meta/recipes-graphics/xorg-font/xorg-minimal-fonts.bb +1 -1
index 9bcd1b2fa6..9740df45f6 100644
@@ -13,7 +13,7 @@ SRC_URI = "file://misc"
 PE = "1"
 PR = "r2"
 
-inherit allarch distro_features_check
+inherit distro_features_check
 
 # The font-alias requires x11 in DISTRO_FEATURES
 REQUIRED_DISTRO_FEATURES = "x11"
meta/recipes-support/ca-certificates/ca-certificates_20170717.bb +0 -2
index 24d3a6e4d3..e29cefd638 100644
@@ -27,8 +27,6 @@ SRC_URI = "git://salsa.debian.org/debian/ca-certificates.git;protocol=https \
 
 S = "${WORKDIR}/git"
 
-inherit allarch
-
 EXTRA_OEMAKE = "\
     'CERTSDIR=${datadir}/ca-certificates' \
     'SBINDIR=${sbindir}' \
Signature · 1 line
2.17.1
#2 lore raw

PATCH 2/2 layer.conf: update SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS

In reply to [email protected]

From: Kai Kang <[email protected]>

allarch has been removed from some packages which rdepends on TUNE_PKGARCH packages, so remove related depenencies from SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS.

---
 meta/conf/layer.conf | 7 -------
 1 file changed, 7 deletions(-)
meta/conf/layer.conf +0 -7
index 315fb936fa..49ce7a913a 100644
@@ -53,10 +53,6 @@ SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS += " \
   *->icecc-create-env-native \
   gcc-cross-${TARGET_ARCH}->virtual/${TARGET_PREFIX}libc-for-gcc \
   gcc-cross-${TARGET_ARCH}->linux-libc-headers \
-  ppp-dialin->ppp \
-  resolvconf->bash \
-  docbook-xsl-stylesheets->perl \
-  ca-certificates->openssl \
   initramfs-framework->${VIRTUAL-RUNTIME_base-utils} \
   initramfs-framework->eudev \
   initramfs-framework->systemd \
@@ -72,10 +68,7 @@ SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS += " \
   liberation-fonts->fontconfig \
   cantarell-fonts->fontconfig \
   gnome-icon-theme->librsvg \
-  font-alias->font-util \
   systemd-boot->systemd-bootconf \
-  weston-init->weston \
-  weston-init->kbd \
 "
 
 # We need to keep bitbake tools in PATH
Signature · 1 line
2.17.1
#3 lore raw

✗ patchtest: failure for Remove allarch from recipes which rdeps TUNE_PKGARCH packages

In reply to [email protected]

== Series Details ==

Series: Remove allarch from recipes which rdeps TUNE_PKGARCH packages
Revision: 1
URL : https://patchwork.openembedded.org/series/13360/
State : failure

== Summary ==

Thank you for submitting this patch series to OpenEmbedded Core. This is an automated response. Several tests have been executed on the proposed series by patchtest resulting in the following failures:

* Patch            [1/2] remove allarch from recipes which rdepends on TUNE_PKGARCH packages
 Issue             Shortlog does not follow expected format [test_shortlog_format] 
  Suggested fix    Commit shortlog (first line of commit message) should follow the format "<target>: <summary>"

If you believe any of these test results are incorrect, please reply to the mailing list ([email protected]) raising your concerns. Otherwise we would appreciate you correcting the issues and submitting a new version of the patchset if applicable. Please ensure you add/increment the version number when sending the new version (i.e. [PATCH] -> [PATCH v2] -> [PATCH v3] -> ...).

---

Guidelines:     https://www.openembedded.org/wiki/Commit_Patch_Message_Guidelines
Test framework: http://git.yoctoproject.org/cgit/cgit.cgi/patchtest
Test suite:     http://git.yoctoproject.org/cgit/cgit.cgi/patchtest-oe
author
#4 lore raw

Re: ✗ patchtest: failure for Remove allarch from recipes which rdeps TUNE_PKGARCH packages

Quoted 16 lines · Patchwork

== Series Details ==

Series: Remove allarch from recipes which rdeps TUNE_PKGARCH packages
Revision: 1
URL : https://patchwork.openembedded.org/series/13360/
State : failure

== Summary ==

Thank you for submitting this patch series to OpenEmbedded Core. This is an automated response. Several tests have been executed on the proposed series by patchtest resulting in the following failures:

Quoted 3 lines

* Patch [1/2] remove allarch from recipes which rdepends on TUNE_PKGARCH packages
Issue Shortlog does not follow expected format [test_shortlog_format]
Suggested fix Commit shortlog (first line of commit message) should follow the format "<target>: <summary>"

Conflict with Ross's patch 'ca-certificates: upgrade 20170717 -> 20180409' which is not merged in branches master and master-next. I'll rebase on it.

Regards,
Kai

Quoted 16 lines

If you believe any of these test results are incorrect, please reply to the mailing list ([email protected]) raising your concerns. Otherwise we would appreciate you correcting the issues and submitting a new version of the patchset if applicable. Please ensure you add/increment the version number when sending the new version (i.e. [PATCH] -> [PATCH v2] -> [PATCH v3] -> ...).

---

Guidelines:     https://www.openembedded.org/wiki/Commit_Patch_Message_Guidelines
Test framework: http://git.yoctoproject.org/cgit/cgit.cgi/patchtest
Test suite:     http://git.yoctoproject.org/cgit/cgit.cgi/patchtest-oe
Signature · 2 lines
Regards,
Neil | Kai Kang