public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@web.de>
To: isar-users <isar-users@googlegroups.com>
Subject: [PATCH] sdkchroot: Drop bogus restriction to x86 hosts
Date: Fri, 1 Jan 2021 16:01:40 +0100	[thread overview]
Message-ID: <525e8730-d142-fd0d-8b89-af97e7f1105f@web.de> (raw)

From: Jan Kiszka <jan.kiszka@siemens.com>

This check is not just unneeded, at least for arm64. It also breaks the
build on non-x86 hosts because it takes away a dependency that the image
class requires.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
 meta/recipes-devtools/sdkchroot/sdkchroot.bb | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/meta/recipes-devtools/sdkchroot/sdkchroot.bb b/meta/recipes-devtools/sdkchroot/sdkchroot.bb
index d7a848e2..e367eae2 100644
--- a/meta/recipes-devtools/sdkchroot/sdkchroot.bb
+++ b/meta/recipes-devtools/sdkchroot/sdkchroot.bb
@@ -35,12 +35,6 @@ ROOTFS_FEATURES += "clean-package-cache generate-manifest export-dpkg-status"
 ROOTFS_MANIFEST_DEPLOY_DIR = "${DEPLOY_DIR_SDKCHROOT}"
 ROOTFS_DPKGSTATUS_DEPLOY_DIR = "${DEPLOY_DIR_SDKCHROOT}"

-python() {
-    if d.getVar("HOST_ARCH") not in ['i386', 'amd64']:
-        raise bb.parse.SkipRecipe("SDK doesn't support {} as host".format(
-            d.getVar("ROOTFS_ARCH")))
-}
-
 SDK_PREINSTALL += " \
     debhelper \
     autotools-dev \
--
2.26.2


             reply	other threads:[~2021-01-01 15:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-01 15:01 Jan Kiszka [this message]
2021-01-18 16:18 ` Anton Mikanovich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=525e8730-d142-fd0d-8b89-af97e7f1105f@web.de \
    --to=jan.kiszka@web.de \
    --cc=isar-users@googlegroups.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox