* [PATCH] fix: improve check for availability of compat arch
@ 2023-03-06 7:12 Adriaan Schmidt
2023-03-09 5:44 ` Uladzimir Bely
0 siblings, 1 reply; 2+ messages in thread
From: Adriaan Schmidt @ 2023-03-06 7:12 UTC (permalink / raw)
To: isar-users; +Cc: Adriaan Schmidt
follow-up to 3aa4d3832ccb2271e850a8245cb45ad40e3da366
The check, whether compat can be built needs to also ensure that we
actually have a compat arch for our DISTRO_ARCH. There is a helper
function in the compat class for this now.
Signed-off-by: Adriaan Schmidt <adriaan.schmidt@siemens.com>
---
Sorry, I was slow to send an updated patch, rebasing the essential
packages feature onto v4 of the multiarch series.
Adriaan
---
meta/classes/essential.bbclass | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/meta/classes/essential.bbclass b/meta/classes/essential.bbclass
index be98a76d..2ae31b38 100644
--- a/meta/classes/essential.bbclass
+++ b/meta/classes/essential.bbclass
@@ -3,9 +3,11 @@
ISAR_REBUILD_ESSENTIAL_PKGS ?= ""
+inherit compat
+
python() {
isar_rebuild_essential_pkgs = (d.getVar('ISAR_REBUILD_ESSENTIAL_PKGS') or '').split()
- build_compat = d.getVar('ISAR_ENABLE_COMPAT_ARCH') == "1"
+ build_compat = isar_can_build_compat(d)
build_native = not d.getVar('DISTRO_ARCH') == d.getVar('HOST_ARCH')
# construct list of essential packages that should be rebuilt:
--
2.30.2
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] fix: improve check for availability of compat arch
2023-03-06 7:12 [PATCH] fix: improve check for availability of compat arch Adriaan Schmidt
@ 2023-03-09 5:44 ` Uladzimir Bely
0 siblings, 0 replies; 2+ messages in thread
From: Uladzimir Bely @ 2023-03-09 5:44 UTC (permalink / raw)
To: isar-users; +Cc: Adriaan Schmidt, Adriaan Schmidt
In the email from Monday, 6 March 2023 10:12:26 +03 user Adriaan Schmidt wrote:
> follow-up to 3aa4d3832ccb2271e850a8245cb45ad40e3da366
>
> The check, whether compat can be built needs to also ensure that we
> actually have a compat arch for our DISTRO_ARCH. There is a helper
> function in the compat class for this now.
>
> Signed-off-by: Adriaan Schmidt <adriaan.schmidt@siemens.com>
>
Merged to next, thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-03-09 5:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-06 7:12 [PATCH] fix: improve check for availability of compat arch Adriaan Schmidt
2023-03-09 5:44 ` Uladzimir Bely
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox