public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@siemens.com>
To: isar-users <isar-users@googlegroups.com>
Subject: [PATCH v2 4/4] doc: Describe new compat arch support
Date: Fri, 11 Sep 2020 14:13:09 +0200	[thread overview]
Message-ID: <ab5c49e99cad666f0163d2b8af4e6c25f9b77038.1599826389.git.jan.kiszka@siemens.com> (raw)
In-Reply-To: <cover.1599826389.git.jan.kiszka@siemens.com>

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

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
 doc/user_manual.md | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/doc/user_manual.md b/doc/user_manual.md
index 9c28d165..60802dc6 100644
--- a/doc/user_manual.md
+++ b/doc/user_manual.md
@@ -723,6 +723,19 @@ Debian cross-compilation works out of the box starting from Debian stretch distr
 
 Experimental support for riscv64 is available as well.
 
+### Cross-building for a compat architecture
+
+Some architectures, under Isar amd64 and arm64 so far, support running 32-bit
+legacy applications on 64-bit kernels. Debian supports this via the multiarch
+concept.
+
+Isar can build 32-bit packages as part of a 64-bit image build and also enable
+the image with the necessary packages. To activate the compat mode of a build,
+set `ISAR_ENABLE_COMPAT_ARCH = "1"` in `local.conf`. Packages that shall be
+built for the compat arch need to be tagged individually by setting
+`PACKAGE_ARCH = "${COMPAT_DISTRO_ARCH}"` in the package recipe. Non-tagged
+packages will continue to be built for the primary target architecture.
+
 
 ## Examining and debugging package generation inside their buildchroot
 
-- 
2.26.2


  parent reply	other threads:[~2020-09-11 12:13 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-11 12:13 [PATCH v2 0/4] 32-bit " Jan Kiszka
2020-09-11 12:13 ` [PATCH v2 1/4] Add compat architecture support via multiarch Jan Kiszka
2020-09-11 12:13 ` [PATCH v2 2/4] ci: Add compat arch support Jan Kiszka
2020-09-11 12:13 ` [PATCH v2 3/4] doc: Enhance list of supported cross-archs, drop QEMU reference Jan Kiszka
2020-09-11 12:13 ` Jan Kiszka [this message]
2020-09-21  9:24 ` [PATCH v2 0/4] 32-bit compat arch support Jan Kiszka
2020-09-21  9:41   ` Baurzhan Ismagulov
2020-09-21 12:06     ` Jan Kiszka

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=ab5c49e99cad666f0163d2b8af4e6c25f9b77038.1599826389.git.jan.kiszka@siemens.com \
    --to=jan.kiszka@siemens.com \
    --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