| Message ID | 20251023094308.3406453-11-sjg@u-boot.org |
|---|---|
| State | New |
| Headers |
Return-Path: <concept-bounces+u-boot-concept=u-boot.org@u-boot.org> X-Original-To: u-boot-concept@u-boot.org Delivered-To: u-boot-concept@u-boot.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1761212640; bh=VJajDDwDKyeAimAfG2kcm1/D606q8Oph1jd++/rjfFs=; h=From:To:Date:In-Reply-To:References:CC:Subject:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=LY/e8ViftB1iC3dmujdmrfCn34JRsEawzju8cxWQtYbmKp7CBaCikFMbdQXOROHfx mKc15bzYW+QptWhkCzPYM5LHRwcz7r9YaQBEsS8aHQxoIcYpamIoRZ4lG9diE1nAZH WOQccbWMTiwZFxsVFFmyGZaSGWJ/mUkuYiyxVwfMNFBCX1wiIdFV6NUSgli7Lpxhtu grZBAr5Lz1snxkOtHxKdClRJZ04wFHGMA+2ZoB2DGKUHsPoD0V97NxsXNLJw1rInLm Pkm1mZZ+u+aq3VBn6oV7FE9ZCFra3e3gHgd4B60S/JvNOXUqy08EqXm3YZ2l9KmUh2 rH+URbM3yjj1g== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id A7F8568263 for <u-boot-concept@u-boot.org>; Thu, 23 Oct 2025 03:44:00 -0600 (MDT) X-Virus-Scanned: Debian amavis at Received: from mail.u-boot.org ([127.0.0.1]) by localhost (mail.u-boot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id Y3OWdvXaBXsn for <u-boot-concept@u-boot.org>; Thu, 23 Oct 2025 03:44:00 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1761212638; bh=VJajDDwDKyeAimAfG2kcm1/D606q8Oph1jd++/rjfFs=; h=From:To:Date:In-Reply-To:References:CC:Subject:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=oyDTbRRTJRB0pNxuC+oEDiSwfFuFd/Cyx642F9LhWvfZvXe/9FD82dxY//OaEbwn0 C/Y9GvQzdrsRnJ0UBb3m4tFQjVWoppoCsM9qQMXDb89YnxRukfJwZVGCMa2upgzR/Z XAC4c0DsujpN93SaOHNSKkoNgzDhtRfwMjKuC5lVcbnIg6n67ia9G0NAqIhRTuRAlK 7uyOf84mS3dNpXXsOO6Tjr5bh7giTrNlwIsFodPd8fYiBh9zNO8lyBBI1uLdWjhohQ Qzo2nd1AG7ajHNDqTaZRy1kuTxeRCyEPwcAS7ZBQJ7OHf1shb2GozojX7Xh7W7KlqP dO15uGY6T5f/g== Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 9CF7068228 for <u-boot-concept@u-boot.org>; Thu, 23 Oct 2025 03:43:58 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1761212636; bh=+W6al069Ejxluc0O7aXjFLSfhkIPBrSLEX0/UUpoFDw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=K/FXV1sX2m1WASAnw3rfz/yjr6uwaMEi580Xt9CDJoF3RzVe/HkxS+dtwyEeuKY2R FSscQ0mC6DQ1V7FP5EInVs5//TbGHGc7YjMscA6uL0zUP1I4IKhEh8RGHeUt5t+mAe UoiOupFKUVyzK8CeGh5Ny/Xk5BxorObFeqrcQq2jReKpLuZX/Aj2YAHiwDx2srG/uv CwDRJSgLKiFij9UxVIqgOmhLlZ2F4RQD1yH5e1TMmfBuH5bwuSa1E4jDqFPaFDtizY 9pRfHKlMC6LxtgREJjUJh3JYcAkuT+2lqbsA0+WQ/3i1yXP5rmQKeZkvQ/ygrEfEfr VUlWpFNECgI4Q== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 8D16F68263; Thu, 23 Oct 2025 03:43:56 -0600 (MDT) X-Virus-Scanned: Debian amavis at Received: from mail.u-boot.org ([127.0.0.1]) by localhost (mail.u-boot.org [127.0.0.1]) (amavis, port 10026) with ESMTP id wdrfLWdhdHJx; Thu, 23 Oct 2025 03:43:56 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1761212636; bh=yZN6YmEr7AVMLiXkUjlGgkbIee2JSPQXdU9my0wi2dM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=AqWemUIoV2N4uE1JDEL2A1WO9DTkCGaj93mz3C6zxwKZev0CkXO/k/CGwggldYq8S K/zzt60KezuTojmxlBrpdxYBe2nZd3Ziiv+Z0mHvMa+W15UP0f0WbxbOgqQue9DuOJ fHLVN+aAdpTGfvMR5PTEP+kGBYRDBy+9WkmrH8UYAQpRd8ajEI3ojToavIBJQ9CulB AbeitisVRp5sMj8Cxk8IyCb25goGCTm3b3W3kpbrmKGe5h5VTgWspNoII8wiDVZ+W9 wY+rbuL2PX7ABRenMSNris3/8YxZunViXpz49uoTf7dyIjMOKwZbyM76cD7ZQRVsRZ FGjg0ukUwkocw== Received: from u-boot.org (unknown [73.34.74.121]) by mail.u-boot.org (Postfix) with ESMTPSA id 1152068245; Thu, 23 Oct 2025 03:43:56 -0600 (MDT) From: Simon Glass <sjg@u-boot.org> To: U-Boot Concept <concept@u-boot.org> Date: Thu, 23 Oct 2025 03:42:59 -0600 Message-ID: <20251023094308.3406453-11-sjg@u-boot.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20251023094308.3406453-1-sjg@u-boot.org> References: <20251023094308.3406453-1-sjg@u-boot.org> MIME-Version: 1.0 Message-ID-Hash: RG2ARVQE6ZTSE4I6YYMTQTOX6F22FFD3 X-Message-ID-Hash: RG2ARVQE6ZTSE4I6YYMTQTOX6F22FFD3 X-MailFrom: sjg@u-boot.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: Heinrich Schuchardt <xypron.glpk@gmx.de>, Simon Glass <sjg@chromium.org> X-Mailman-Version: 3.3.10 Precedence: list Subject: [Concept] [PATCH 10/11] scripts: build-efi: Flush output before running QEMU List-Id: Discussion and patches related to U-Boot Concept <concept.u-boot.org> Archived-At: <https://lists.u-boot.org/archives/list/concept@u-boot.org/message/RG2ARVQE6ZTSE4I6YYMTQTOX6F22FFD3/> List-Archive: <https://lists.u-boot.org/archives/list/concept@u-boot.org/> List-Help: <mailto:concept-request@u-boot.org?subject=help> List-Owner: <mailto:concept-owner@u-boot.org> List-Post: <mailto:concept@u-boot.org> List-Subscribe: <mailto:concept-join@u-boot.org> List-Unsubscribe: <mailto:concept-leave@u-boot.org> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit |
| Series |
Bootstage and script enhancements
|
|
Commit Message
Simon Glass
Oct. 23, 2025, 9:42 a.m. UTC
From: Simon Glass <sjg@chromium.org> Complete writing of any output before running QEMU, since otherwise it does not always appear until QEMU exits (e.g. with 'tee') Signed-off-by: Simon Glass <sjg@chromium.org> --- scripts/build-efi | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/scripts/build-efi b/scripts/build-efi index 340ff5ac445..95a8f456097 100755 --- a/scripts/build-efi +++ b/scripts/build-efi @@ -19,6 +19,7 @@ from argparse import ArgumentParser import os from pathlib import Path import shutil +import sys import build_helper @@ -152,6 +153,7 @@ class BuildEfi: cmd += extra self.helper.add_qemu_args(self.args, cmd, base_hd=1) tout.info(' '.join(cmd)) + sys.stdout.flush() command.run(*cmd) def setup_files(self, build, build_type, dst):