From b75e65bcb1bb12019f3f6c599f120a925e207938 Mon Sep 17 00:00:00 2001 From: Mikhail Chusavitin Date: Mon, 4 May 2026 18:44:47 +0300 Subject: [PATCH] Version-stamp squashfs filename and restrict live-boot media selection MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Squashfs versioning: - ISO now contains filesystem-v.squashfs instead of the generic filesystem.squashfs, making it immediately visible which build is running (visible in /run/live/medium/live/ at boot time). - Full build path: rename filesystem.squashfs → filesystem-v*.squashfs after lb build, before lb binary_checksums/binary_iso. - Fast path: find and unpack whatever filesystem*.squashfs exists, repack as the new versioned name, remove the old file, update the ISO. - needs_full_build: accept any filesystem*.squashfs so version changes alone don't force a full rebuild. Media selection hardening: - Add live-media=/dev/disk/by-label/