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 68C42B8D5; Wed, 29 Apr 2026 13:57:43 +0000 (UTC) Received: by atuin.qyliss.net (Postfix, from userid 993) id 6CE0DB8C9; Wed, 29 Apr 2026 13:57:40 +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.1 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DMARC_MISSING,SPF_HELO_PASS autolearn=unavailable autolearn_force=no version=4.0.1 Received: from fhigh-b5-smtp.messagingengine.com (fhigh-b5-smtp.messagingengine.com [202.12.124.156]) by atuin.qyliss.net (Postfix) with ESMTPS id 5903BB8C6 for ; Wed, 29 Apr 2026 13:57:38 +0000 (UTC) Received: from phl-compute-01.internal (phl-compute-01.internal [10.202.2.41]) by mailfhigh.stl.internal (Postfix) with ESMTP id DAAB97A00F7; Wed, 29 Apr 2026 09:57:35 -0400 (EDT) Received: from phl-frontend-03 ([10.202.2.162]) by phl-compute-01.internal (MEProxy); Wed, 29 Apr 2026 09:57:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alyssa.is; h=cc :cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm1; t=1777471055; x=1777557455; bh=S1SkbBOfg4 dEqcLvWgQsr0a78fcSsCM6R/j/wrYdXNM=; b=JnS2w5+yRKASxBqWzRL6cW534h FffXWYuditI+rbAuv/NQRe+OrGUHWSQsqnaa99z8EgxBhAHL0X9jOWnc8HEltvQb r2mTjQPDxh6O+IcTC08yOnIdFr8xCqnnXJIuHlCoYyH3u5RA1Z0kAKnRcmn+m8zn IOUkuvLlnz0VS/q558mWbJkqAULdtF2IW8TbRv0tWQg534VOh9eNqR+Inr5srXiy oCnsPGUfbBvpxOUMoHLzK/hqHEPAI3XFiZQoqYj2QLTqQONjMKLirnqV27LsLIt4 MkBA0s4/RBvP5M4ZPqm+b6gjFvupKCOugJuSVuM5si00MBHYI3uQEn/2xnkw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t= 1777471055; x=1777557455; bh=S1SkbBOfg4dEqcLvWgQsr0a78fcSsCM6R/j /wrYdXNM=; b=kwJ+8UDbC5nJcC84udPyxyYF3E/jtOSXibSGoQCrSGL+K+D2eVK 9ls4Uw87Mlhw5JRZHAUkiT3RzFcRfOsSc4ixL+CntOcbRaoNMMfU0nFdQ0YekFCx 98nDNSdcLs9mP/bQwhuPRntd7Dh+Rh0vt/xhISefARbABGJYiOMGGu/qsr2sPKIc 0VFPb4c5xyRX3UmQFTiNBB8rMh3W/XLCygVhSBd3HA3xPvV+TYtZtKUZOdyW89JH w2kh/YHxvkZHdGodIVGTxyjgi/ePVxAQapYZndqO1PX5vATC1JcVUxv+YcVSqmEz FmbtCvSk2483FeGbo4jzFlMBG1fy46ieISg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefhedrtddtgdekgeeivdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecunecujfgurhephffvvefujghffffkgggtsehgtderredttd ejnecuhfhrohhmpeetlhihshhsrgcutfhoshhsuceohhhisegrlhihshhsrgdrihhsqeen ucggtffrrghtthgvrhhnpeetheevudfgjefghefhieejudelkeeljeegvdekueeuhffhge dvveefteevgeetieenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhl fhhrohhmpehhihesrghlhihsshgrrdhishdpnhgspghrtghpthhtohepvddpmhhouggvpe hsmhhtphhouhhtpdhrtghpthhtohepuggtkhgtsehmrggumhhouggvrdgtohhmpdhrtghp thhtohepughishgtuhhsshesshhpvggtthhruhhmqdhoshdrohhrgh X-ME-Proxy: Feedback-ID: i12284293:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 29 Apr 2026 09:57:34 -0400 (EDT) Received: by fw12.qyliss.net (Postfix, from userid 1000) id C3204A6F9D8E; Wed, 29 Apr 2026 15:57:32 +0200 (CEST) From: Alyssa Ross To: Dan Connolly Subject: Re: make run fails: make-gpt.sh: 9: set: Illegal option -o pipefail In-Reply-To: References: Date: Wed, 29 Apr 2026 15:57:29 +0200 Message-ID: <874iktdg3a.fsf@alyssa.is> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Message-ID-Hash: UGEW4B4337B6C2AQLM3AORVORBGAOF62 X-Message-ID-Hash: UGEW4B4337B6C2AQLM3AORVORBGAOF62 X-MailFrom: hi@alyssa.is X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-discuss.spectrum-os.org-0; header-match-discuss.spectrum-os.org-1; header-match-discuss.spectrum-os.org-2; header-match-discuss.spectrum-os.org-3; header-match-discuss.spectrum-os.org-4; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: discuss@spectrum-os.org X-Mailman-Version: 3.3.9 Precedence: list List-Id: General high-level discussion about Spectrum Archived-At: <> List-Archive: <> List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Dan Connolly writes: > On Mon, Mar 30, 2026 at 7:44=E2=80=AFPM Dan Connolly w= rote: > >> ../../scripts/make-gpt.sh build/live.img.tmp \ >> build/rootfs.verity.superblock:verity:$(../../scripts/format-uuid.sh >> "$(dd if=3Dbuild/rootfs.verity.roothash bs=3D32 skip=3D1 count=3D1 >> status=3Dnone)"):Spectrum_'0.0.0.verity' \ >> build/rootfs:root:$(../../scripts/format-uuid.sh "$(head -c 32 >> build/rootfs.verity.roothash)"):Spectrum_'0.0.0' >> ../../scripts/make-gpt.sh: 9: set: Illegal option -o pipefail >> > > A small fix (attached) worked for me. Hi Dan, thanks for the patch and sorry for the late response. This is actually not a bashism =E2=80=94 POSIX adopted it in POSIX.1-2024, = and Ubuntu's version of dash supports it since Ubuntu 25.04 from what I can tell, which means the most recent Ubuntu LTS, 26.04, should have it too. I appreciate that 26.04 only came out a few days ago (weeks after you wrote your message), but now that it has, my instinct is that it's probably not worth supporting older LTSes. Every variance like this needs to be cleaned up at some point in the future, and the older a distro is the more likely it is that it's not going to work anyway due to old kernel bugs or dropped support from VMMs. I might be a bit too aggressive in my stance here though =E2=80=94 what do you think? > Then I got a permission error, so I had to do: > > sudo usermod -aG kvm $USER > newgrp kvm Interesting! Not much we can do about that in Spectrum, but I wonder why Ubuntu chooses to vary from the systemd default, which lets any user use KVM. > From 082882cc981566891ec17ccedd291b930502c91e Mon Sep 17 00:00:00 2001 > From: Dan Connolly > Date: Mon, 30 Mar 2026 22:11:39 -0500 > Subject: [PATCH] fix: don't rely on bash-isms in /bin/sh scripts > > --- > scripts/genfiles.sh | 3 ++- > scripts/make-gpt.sh | 3 ++- FWIW there are also some pipefail uses in Makefiles that would need to be taken care of. I can do this separately if you prefer if I end up applying this. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQQGoGac7QfI+H5ZtFCZddwkt31pFQUCafIOSQAKCRCZddwkt31p FTlJAQCWS7XF31A7BFRiP1HdX0JQyeUdmPf7a+F5fcu4blhhYAEA7WfK6TszitMP xxvVUjKL3hNXHh+jpG9wz7BTXF4Lsw0= =GqUS -----END PGP SIGNATURE----- --=-=-=--