• v10.15 b75e65bcb1

    Version-stamp squashfs filename and restrict live-boot media selection

    mchus released this 2026-05-04 18:44:47 +03:00 | 20 commits to main since this release

    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/ to the kernel boot line in
      addition to the existing live-media-label=. live-boot will now
      open exactly the labeled device rather than scanning all block devices,
      preventing accidental use of squashfs files from local disks or
      stale virtual media attached via IPMI.

    Co-Authored-By: Claude Sonnet 4.6 noreply@anthropic.com

    Downloads