public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: "'Felix Moessbauer' via isar-users" <isar-users@googlegroups.com>
To: isar-users@googlegroups.com
Cc: jan.kiszka@siemens.com, Felix Moessbauer <felix.moessbauer@siemens.com>
Subject: [PATCH 1/1] container-loader: make generated package arch specific
Date: Wed, 12 Mar 2025 14:50:46 +0100	[thread overview]
Message-ID: <20250312135046.3773482-1-felix.moessbauer@siemens.com> (raw)

The generated package contains files which are architecture specific
(the container image). By that, it must not be arch=all. Further, we
currently cannot co-install the package for multiple architectures and
we also do not want to automatically allow resolving this package in a
foreign architecture. Hence set the multi-arch specifier to "allowed",
which means the dependency needs to be annotated with ":any".

Signed-off-by: Felix Moessbauer <felix.moessbauer@siemens.com>
---
 meta/recipes-support/container-loader/container-loader.inc | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta/recipes-support/container-loader/container-loader.inc b/meta/recipes-support/container-loader/container-loader.inc
index 5fd8d23c..90c16228 100644
--- a/meta/recipes-support/container-loader/container-loader.inc
+++ b/meta/recipes-support/container-loader/container-loader.inc
@@ -11,6 +11,9 @@ SRC_URI += " \
     file://container-loader.service.tmpl \
     file://container-loader.sh.tmpl"
 
+DPKG_ARCH ?= "${DISTRO_ARCH}"
+DEBIAN_MULTI_ARCH ?= "allowed"
+
 CONTAINER_DELETE_AFTER_LOAD ?= "0"
 
 DEBIAN_DEPENDS += "${CONTAINER_ENGINE_PACKAGES}, zstd"
-- 
2.39.5

-- 
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/20250312135046.3773482-1-felix.moessbauer%40siemens.com.

             reply	other threads:[~2025-03-12 13:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-12 13:50 'Felix Moessbauer' via isar-users [this message]
2025-03-25 16:56 ` Uladzimir Bely

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=20250312135046.3773482-1-felix.moessbauer@siemens.com \
    --to=isar-users@googlegroups.com \
    --cc=felix.moessbauer@siemens.com \
    --cc=jan.kiszka@siemens.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