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 A26DB8F38; Sun, 04 Jan 2026 14:02:41 +0000 (UTC) Received: by atuin.qyliss.net (Postfix, from userid 993) id D539B8F91; Sun, 04 Jan 2026 14:02:36 +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_PASS,SPF_HELO_PASS autolearn=unavailable autolearn_force=no version=4.0.1 Received: from mout-p-102.mailbox.org (mout-p-102.mailbox.org [IPv6:2001:67c:2050:0:465::102]) by atuin.qyliss.net (Postfix) with ESMTPS id 6EBC28F22 for ; Sun, 04 Jan 2026 14:02:35 +0000 (UTC) Received: from smtp1.mailbox.org (smtp1.mailbox.org [10.196.197.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-102.mailbox.org (Postfix) with ESMTPS id 4dkfJV1YMXz9v66 for ; Sun, 4 Jan 2026 15:02:34 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1767535354; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=WHAVPe+a473xzQcmE+kwxeXggPbQBCph4oJKTSICk2A=; b=vQsxuL03B7eXesozGUhdYHztqwPuNC3oZaUXT8hz9ZZ4o8Us1NUtFRJ+/ESf6DPyuXYvN6 2SsvniMYpquppTiN1+vN6Dfdy3K5KtE9M6VTxu3EmHxunnJPS5ZyYiEtvjvAiWY1h42vIo hKpdXGNZsblRVpeY1A3OQhoMV27dVF5Ss2lF/ULfq1B8o2Q41tIcurDW8sDWs5HZ5Nfu3q wgKmlEkjMnB9SETg+FsYEAiVfCR2LjCG8r26bT7bmd/rjH3LxXIKjqM2l/xM0H8LmGLNbP NZlZzhjEPilfDSk5WtUfANVVnbGjwzVBon68uwUcL7b8Ovz8Kf2uSOHuOV5Hsg== From: =?UTF-8?q?Johannes=20S=C3=BCllner?= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1767535354; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=WHAVPe+a473xzQcmE+kwxeXggPbQBCph4oJKTSICk2A=; b=vQsxuL03B7eXesozGUhdYHztqwPuNC3oZaUXT8hz9ZZ4o8Us1NUtFRJ+/ESf6DPyuXYvN6 2SsvniMYpquppTiN1+vN6Dfdy3K5KtE9M6VTxu3EmHxunnJPS5ZyYiEtvjvAiWY1h42vIo hKpdXGNZsblRVpeY1A3OQhoMV27dVF5Ss2lF/ULfq1B8o2Q41tIcurDW8sDWs5HZ5Nfu3q wgKmlEkjMnB9SETg+FsYEAiVfCR2LjCG8r26bT7bmd/rjH3LxXIKjqM2l/xM0H8LmGLNbP NZlZzhjEPilfDSk5WtUfANVVnbGjwzVBon68uwUcL7b8Ovz8Kf2uSOHuOV5Hsg== To: devel@spectrum-os.org Subject: [PATCH 4/4] release/live: remove B slot from live image and reduce A slot size Date: Sun, 4 Jan 2026 15:00:23 +0100 Message-ID: <20260104140102.106960-8-johannes.suellner@mailbox.org> In-Reply-To: <20260104140102.106960-5-johannes.suellner@mailbox.org> References: <20260104140102.106960-5-johannes.suellner@mailbox.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Developer-Signature: v=1; a=openpgp-sha256; l=1406; i=johannes.suellner@mailbox.org; h=from:subject; bh=gR79L27eQJhdmB5jSGopUgmkhP+EDJYU/OpVSrLjFNg=; b=owGbwMvMwCW2P/QNu5HhghDG02pJDJlRRbu1K7+yq/pUBac9v11vL5hza3ZQ38qE6i++178Hn Vr7ZKZIRykLgxgXg6yYIovD0xT+FceTlzJkxYrAzGFlAhnCwMUpABNhmMXw38FNK9dG/290sv1B mwVtThXrlP0+Jfj/nLn1yb9Lm/gvijH8r1b39VwnHXbl6iXDfv2pWorafB0cHXEM8xom3Zvz9mc WPwA= X-Developer-Key: i=johannes.suellner@mailbox.org; a=openpgp; fpr=40E5640FA8C763A5006A5D14BF55EC073231A054 Content-Transfer-Encoding: 8bit X-MBO-RS-META: 8tppycebdedbqx4aemjs1zdaztxmw9wg X-MBO-RS-ID: dc070f7cd73c41d6113 Message-ID-Hash: L3PIJY5YVQ2IGBYL2TOGTP7B64FCJM6C X-Message-ID-Hash: L3PIJY5YVQ2IGBYL2TOGTP7B64FCJM6C X-MailFrom: johannes.suellner@mailbox.org 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: =?UTF-8?q?Johannes=20S=C3=BCllner?= 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: In contrast to the old installer, with the new installer the live image is not copied as a whole to the destination disk any more. Instead, `systemd-repart` creates partitions with the desired size, and then copies the individual partitions. Signed-off-by: Johannes Süllner --- release/live/Makefile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/release/live/Makefile b/release/live/Makefile index f5fe558..34a7d3f 100644 --- a/release/live/Makefile +++ b/release/live/Makefile @@ -11,9 +11,7 @@ $(dest): ../../scripts/format-uuid.sh ../../scripts/make-gpt.sh ../../scripts/sf ../../scripts/make-gpt.sh $@.tmp \ build/boot.fat:c12a7328-f81f-11d2-ba4b-00a0c93ec93b \ $(ROOT_FS_VERITY):verity:$$(../../scripts/format-uuid.sh "$$(dd if=$(ROOT_FS_VERITY_ROOTHASH) bs=32 skip=1 count=1 status=none)"):Spectrum_'$(VERSION).verity:162' \ - $(ROOT_FS_IMAGE):root:$$(../../scripts/format-uuid.sh "$$(head -c 32 $(ROOT_FS_VERITY_ROOTHASH))"):Spectrum_'$(VERSION):20000' \ - /dev/null:verity:18f2ccff-92f1-4bb1-a80e-24f76ecda90c:_empty:162 \ - /dev/null:root:ec0c5ff3-f6b1-4adf-82b4-61336c4d135f:_empty:20000 + $(ROOT_FS_IMAGE):root:$$(../../scripts/format-uuid.sh "$$(head -c 32 $(ROOT_FS_VERITY_ROOTHASH))"):Spectrum_'$(VERSION)' mv $@.tmp $@ build/boot.fat: $(SYSTEMD_BOOT_EFI) $(SPECTRUM_EFI)