[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1111039: Upgrading a system installed with Debian live from Bookworm to Trixie does not change /etc/os-release due to dpkg diversion



On 14/08/2025 11:33, Luca Boccassi wrote:
Actually not quite enough: the local copy with IMAGE_ID et al. also
needs to be deleted by the installer and replaced with a symlink when
copying to a persistent, writable rootfs as well. Is that code that
copies the rootfs in live-build or elsewhere?

Both Calamares and d-i use rsync to copy the content of filesystem.squashfs to the installed system.

For forky (and hotfixing point releases) it would be possible to create this diversion (or alternative) in a specifically crafted package (e.g. live-hotfix-os-release) which could then be uninstalled in the final steps of the installation (which currently already removes many live-related packages).

With kind regards,
Roland Clobus

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


Reply to: