public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [PATCH] multistrap: Ignore native arch
@ 2017-11-24 16:38 Alexander Smirnov
  0 siblings, 0 replies; only message in thread
From: Alexander Smirnov @ 2017-11-24 16:38 UTC (permalink / raw)
  To: isar-users; +Cc: Alexander Smirnov

Multistrap supports two modes:
 - Native: target and host architectures are the same.
 - Cross: target architecture differs from host.

In native mode, multistrap automatically runs pos-install scripts for
all the packages installed to rootfs. This could be a problem for Isar
build flow, becuase configscript.sh assumes, that rootfs is not
configured. Also this leads to different Isar flows for native and cross
architectures what should not happen.

Signed-off-by: Alexander Smirnov <asmirnov@ilbers.de>
---
 meta-isar/recipes-core/images/files/multistrap.conf.in     | 1 +
 meta/recipes-devtools/buildchroot/files/multistrap.conf.in | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta-isar/recipes-core/images/files/multistrap.conf.in b/meta-isar/recipes-core/images/files/multistrap.conf.in
index 491e5a2..6b56571 100644
--- a/meta-isar/recipes-core/images/files/multistrap.conf.in
+++ b/meta-isar/recipes-core/images/files/multistrap.conf.in
@@ -4,6 +4,7 @@
 [General]
 noauth=true
 unpack=true
+ignorenativearch=true
 bootstrap=##DISTRO## Isar
 aptsources=##DISTRO##
 configscript=##CONFIG_SCRIPT##
diff --git a/meta/recipes-devtools/buildchroot/files/multistrap.conf.in b/meta/recipes-devtools/buildchroot/files/multistrap.conf.in
index 7e88608..ffdf671 100644
--- a/meta/recipes-devtools/buildchroot/files/multistrap.conf.in
+++ b/meta/recipes-devtools/buildchroot/files/multistrap.conf.in
@@ -1,9 +1,10 @@
 # This software is a part of ISAR.
-# Copyright (C) 2015-2016 ilbers GmbH
+# Copyright (C) 2015-2017 ilbers GmbH
 
 [General]
 noauth=true
 unpack=true
+ignorenativearch=true
 bootstrap=##DISTRO##
 aptsources=##DISTRO##
 configscript=##CONFIG_SCRIPT##
-- 
2.9.5


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-11-24 16:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-24 16:38 [PATCH] multistrap: Ignore native arch Alexander Smirnov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox