From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from atuin.qyliss.net (localhost [IPv6:::1]) by atuin.qyliss.net (Postfix) with ESMTP id 2613F190E2; Fri, 28 Nov 2025 21:17:51 +0000 (UTC) Received: by atuin.qyliss.net (Postfix, from userid 993) id 3D9FF19102; Fri, 28 Nov 2025 21:17:49 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on atuin.qyliss.net X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DMARC_MISSING,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS autolearn=unavailable autolearn_force=no version=4.0.1 Received: from fhigh-b2-smtp.messagingengine.com (fhigh-b2-smtp.messagingengine.com [202.12.124.153]) by atuin.qyliss.net (Postfix) with ESMTPS id 674FA190DB for ; Fri, 28 Nov 2025 21:17:48 +0000 (UTC) Received: from phl-compute-02.internal (phl-compute-02.internal [10.202.2.42]) by mailfhigh.stl.internal (Postfix) with ESMTP id DDA0A7A0876; Fri, 28 Nov 2025 16:17:45 -0500 (EST) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-02.internal (MEProxy); Fri, 28 Nov 2025 16:17:45 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alyssa.is; h=cc :cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:message-id:mime-version:reply-to:subject:subject:to :to; s=fm3; t=1764364665; x=1764451065; bh=+344mXlRE8oQ+blLI0441 uwaLwnZflLd2J8hWCYFMDE=; b=jspTM5baNR2idYvyGoHHqL47XPXCli0XRd7QV e0Vo4w7U0fcW77CJ85sPULmLKUgmE5o/10M2IqQWw0TPW4ZrBcey3hHNiMpMj9t+ aFWj2PGNXqbBqWfAVJ4hXfuZLrxLIH18ckLiCC4UeOtPAtRzsM8drvS7LPSgAbWK QZJfqqQB10gEtjRcvSWOuPGgdYKi14qtyKnU2MqKUBwefa+mt3zgIksq3vsOYw1B J5cMmdQW88Ipb5zVK4NJ0yjnKjflKOldHOxRZocYWcqJkqDZzV5DqPoYRvXtqIit 1JQn+SSTKyWayaFHBPzmRntaaj2Xgkn876RjC9g194BydsqNw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:message-id:mime-version:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1764364665; x=1764451065; bh=+344mXlRE8oQ+blLI0441uwaLwnZflLd2J8 hWCYFMDE=; b=Ks02QjJolQwmG2OS/WJSA6DbWDlTmFqIdBRPVrFMAMaPw5XOzsE R7uXoZcXgHc0eO7GTW78jLYF+2v30GSHfmRURNdLNxHOrv7udGNtytRT1Agt5ivE qN01ftLL67ZliSnm0HJ55n7CsckxjvXDOR1iv8/WcbUcCDvKdTxNYksjzus6hkEe 90/dgAuQD7YQKU/+aUacDdBT726XGBIMECJRU+Ky3b9a1gxmaIz3nHTRW0qWiVo4 acA/uFvXqEvf3xx8ipiVZoTjjiZtxo9htgUEM2iadF/iNPXDf0GbTGRvYbYg1wYj 50OT/7zp9a4NcZKqgl2xMrR76zVF3i/8Orw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdeggddvhedtkeeiucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujf gurhephffvvefufffkofgggfestdekredtredttdenucfhrhhomheptehlhihsshgrucft ohhsshcuoehhihesrghlhihsshgrrdhisheqnecuggftrfgrthhtvghrnhepkedugfekfe efvdeihedtheevjeetueejhffhuddtueffhfeikeevteffheefgeevnecuffhomhgrihhn pehsphgvtghtrhhumhdqohhsrdhorhhgnecuvehluhhsthgvrhfuihiivgeptdenucfrrg hrrghmpehmrghilhhfrhhomhephhhisegrlhihshhsrgdrihhspdhnsggprhgtphhtthho pedvpdhmohguvgepshhmthhpohhuthdprhgtphhtthhopeguvghmihhosggvnhhouhhrse hgmhgrihhlrdgtohhmpdhrtghpthhtohepuggvvhgvlhesshhpvggtthhruhhmqdhoshdr ohhrgh X-ME-Proxy: Feedback-ID: i12284293:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 28 Nov 2025 16:17:45 -0500 (EST) Received: by fw12.qyliss.net (Postfix, from userid 1000) id 39ADC2DB342E; Fri, 28 Nov 2025 22:17:34 +0100 (CET) From: Alyssa Ross To: devel@spectrum-os.org Subject: [PATCH 1/2] scripts/make-gpt.sh: set -o pipefail Date: Fri, 28 Nov 2025 22:17:10 +0100 Message-ID: <20251128211710.462696-2-hi@alyssa.is> X-Mailer: git-send-email 2.51.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID-Hash: UFBKVUE4WJSESUQTWZCM5JOSWXEG4Z62 X-Message-ID-Hash: UFBKVUE4WJSESUQTWZCM5JOSWXEG4Z62 X-MailFrom: hi@alyssa.is X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-devel.spectrum-os.org-0; header-match-devel.spectrum-os.org-1; header-match-devel.spectrum-os.org-2; header-match-devel.spectrum-os.org-3; header-match-devel.spectrum-os.org-4; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: Demi Marie Obenour X-Mailman-Version: 3.3.9 Precedence: list List-Id: Patches and low-level development discussion Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Wasn't POSIX at the time this script was originally written! Suggested-by: Demi Marie Obenour Link: https://spectrum-os.org/lists/archives/spectrum-devel/20251127174054.2056835-2-hi@alyssa.is/ Signed-off-by: Alyssa Ross --- scripts/make-gpt.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/make-gpt.sh b/scripts/make-gpt.sh index 3cae441..e39828b 100755 --- a/scripts/make-gpt.sh +++ b/scripts/make-gpt.sh @@ -1,4 +1,4 @@ -#!/bin/sh -eu +#!/bin/sh -- # # SPDX-FileCopyrightText: 2021-2023 Alyssa Ross # SPDX-FileCopyrightText: 2022 Unikie @@ -6,6 +6,8 @@ # # usage: make-gpt.sh GPT_PATH PATH:PARTTYPE[:PARTUUID[:PARTLABEL]]... +set -euo pipefail + ONE_MiB=1048576 # Prints the number of 1MiB blocks required to store the file named base-commit: d76e9b29aea9f31238d07e21db50d3fe6a80da5a -- 2.51.0