[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH v1] automation: update documentation about how to build a container


  • To: xen-devel@xxxxxxxxxxxxxxxxxxxx
  • From: Olaf Hering <olaf@xxxxxxxxx>
  • Date: Tue, 16 May 2023 15:41:27 +0000
  • Arc-authentication-results: i=1; strato.com; arc=none; dkim=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1684251695; s=strato-dkim-0002; d=strato.com; h=Message-Id:Date:Subject:Cc:To:From:Cc:Date:From:Subject:Sender; bh=S4Dal8qF6Ltkztx7Q4K2kzVp9CzmK+IBPCjFoEOJkgQ=; b=LV0LRMi3qfDSFGDQyMcoGbj+BCCSNQpqzbxuUcMyj+S4Th+rb+kuXcnrSc+Xgs5ppy +FDAQEFXNBiR3sLM4Xj2HCrgbw70aXdfsoDm4Nt60AfgRvPTdripDaaJ4XpmU2dPLudG QxeHrK/irB6Fvtg7yTsEioa49SlgZBpvlqWCHSma27+qNmvljvccRca6OSxlyQbv3k6e it56BYn3XHmbz6m7okiuC7PvwoxKoz4RpGRHHuRPWgAizcIdGCMoYLfvXwjLbrL+QO8E ONFbwOjVkthrPLQRtAorDECC7qC8BnWyoksQ14Ngn/PT7Owwx5NMQOavM31cho2hUbir BOfw==
  • Arc-seal: i=1; a=rsa-sha256; t=1684251695; cv=none; d=strato.com; s=strato-dkim-0002; b=ESkjUTCfm2BXPpE2ST2+T4JIo9QE6syo75Ajhv6NnU0fYbMl/SYsErXI/7r6OVkb1u qZpb9/LesThBR4KrYKoLjkr5ArkTZ2fosP9na7fkBvNE0IJ4Y4i4rHVWaneLQOCuFITC L1I3LmL8axkHErGhe3yWMGnmXeK0c9dqedklRfhVrOgv8hORY4TeiruoiLdH70+DTYDh MIWoYZSQFqPVnm5a+og8mkPWpeCNchh4Zaft+QLfl3H9D1Er3MUySkVzF4MGA2aRRorJ 1DC9ipf5G0G+uYz35E0Js/33GKA8VT9KQAdxrb4rxEQLZ13KddiWYcmF8Tq9paS3SAWX 6/xQ==
  • Cc: Doug Goldstein <cardoe@xxxxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>
  • Delivery-date: Tue, 16 May 2023 15:41:54 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

The command used in the example is different from the command used in
the Gitlab CI pipelines. Adjust it to simulate what will be used by CI.
This is essentially the build script, which is invoked with a number of
expected environment variables such as CC, CXX and debug.

In addition the input should not be a tty, which disables colors from
meson and interactive questions from kconfig.

Signed-off-by: Olaf Hering <olaf@xxxxxxxxx>
---
 automation/build/README.md | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/automation/build/README.md b/automation/build/README.md
index 2d07cafe0e..1c040533fd 100644
--- a/automation/build/README.md
+++ b/automation/build/README.md
@@ -96,7 +96,8 @@ docker login registry.gitlab.com/xen-project/xen
 make -C automation/build suse/opensuse-tumbleweed
 env CONTAINER_NO_PULL=1 \
   CONTAINER=tumbleweed \
-  automation/scripts/containerize bash -exc './configure && make'
+  CONTAINER_ARGS='-e CC=gcc -e CXX=g++ -e debug=y' \
+  automation/scripts/containerize automation/scripts/build < /dev/null
 make -C automation/build suse/opensuse-tumbleweed PUSH=1
 ```
 



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.