Re: Calameres configuration vs live-build installation?
Simon Josefsson writes: > Thanks for pointers -- I will try to debug this from a Calamares point > of view rather than a Live-build point of view. With the hint that I should be looking at Calamares and not live-build installer customization, solving this was easy: https://gitlab.com/debdistutils/debian-libre/debian-libre-live/-/commit/e0405b550d7ca69fca2155880865018aa454a497aa650a3f91ea0587e1bb69fc https://gitlab.com/debdistutils/debian-libre/debian-libre-live/-/commit/4c4c27caf11def1ebb66bac7f4fa659b9e27e06f9fe5c06284cecf1018759ea8 Now towards Debian Live Live 13.3.0 ISO generation and testing! /Simon signature.asc Description: PGP signature
Re: Calameres configuration vs live-build installation?
Hi Simon On 2026/01/12 23:07, Simon Josefsson wrote: I'm building Debian Libre Live images, so I don't want to fork any package in Debian, just avoid the non-free-firmware area. In that case, if you can give me a reliable method to test whether we're on Debian Libre Live media, then I can update calamares-sources-final to avoid non-free-firmware in the final sources.list file. -Jonathan
Re: Calameres configuration vs live-build installation?
Jonathan Carter writes: > Hi Simon > > On 2026/01/12 23:07, Simon Josefsson wrote: >> I'm building Debian Libre Live images, so I don't want to fork any >> package in Debian, just avoid the non-free-firmware area. > > In that case, if you can give me a reliable method to test whether > we're on Debian Libre Live media, then I can update > calamares-sources-final to avoid non-free-firmware in the final > sources.list file. Thanks -- although thinking more long-term, wouldn't the proper fix be to have some real live-build + calamares integration? Shouldn't 'helper/calamares-sources-final' pick up whatever apt sources live-build was configured to use? That would make things more consistent between calamares installations and regular live-build debian-installer installations. I don't know how that would look like though, I find live-build's installer behaviour a bit of a mystery. /Simon signature.asc Description: PGP signature
Re: Calameres configuration vs live-build installation?
Jonathan Carter writes: > Hi Simon > > On 2026/01/12 22:23, Simon Josefsson wrote: >> https://live-team.pages.debian.net/live-manual/html/live-manual/customizing-installer.en.html >> a couple of times, and I'm starting to suspect that it is not >> discussing >> the Calamares installer on the live images at all? The installer you >> get when you click 'Install Debian' icon in a live GNOME/KDE/etc >> session. The icon and program seems to be coming from the >> 'calamares-settings-debian' package. >> Is that a fourth kind of installer, distinct from the three other >> types >> discussed on the page above? >> I am confused because the page says: >> "Desktop" Debian Installer: Regardless of the type of Debian >> Installer included, d-i can be launched from the Desktop by clicking >> on an icon. This is user friendlier in some situations. >> That sounds very much like the icon for the Calamares installer. >> In order to make use of this, the debian-installer-launcher >> package >> needs to be included. >> But I removed debian-installer-launcher, and the "Install Debian" >> icon >> is still present, and it still starts Calamares. What icon is that text >> talking about? I didn't see any other icon when I added the >> debian-installer-launcher package. > > That page does indeed seem to reference the debian-installer-launcher > that's removed, not Calamares. Ah, thanks, that may explain why I never got 'debian-installer-launcher' to start for me. Does that package serve any purpose today? >> I'm struggling to get the apt sources of this (Calameres?) installer to >> be what I want. I found the apt source that it will install into the >> installed OS here: >> https://salsa.debian.org/live-team/calamares-settings-debian/-/blob/master/helpers/calamares-sources-final?ref_type=heads >> Calamares does not seem to respect any live-build settings related >> to >> apt sources, is that correct? > > Indeed. I've forgotten how live-build works, but if it leaves > something on the media we can use, then the calamares-sources-final > script can be modified to use it. > >> How do I make changes to that Calamares file in a normal 'lb config ...' >> + 'lb build' setup? >> Is there some Calameres configuration support in live-build? > > I doubt it, usually Calamares is configured by forking > calamares-settings-debian and modifying that to local needs. Thanks for pointers -- I will try to debug this from a Calamares point of view rather than a Live-build point of view. If all else fails, maybe a boot-time hook will work, although the live-build manual isn't clear if the boot-time hook is for boot-time of the live system or the installed OS... I'm building Debian Libre Live images, so I don't want to fork any package in Debian, just avoid the non-free-firmware area. /Simon signature.asc Description: PGP signature
Re: Calameres configuration vs live-build installation?
Hi Simon On 2026/01/12 22:23, Simon Josefsson wrote: https://live-team.pages.debian.net/live-manual/html/live-manual/customizing-installer.en.html a couple of times, and I'm starting to suspect that it is not discussing the Calamares installer on the live images at all? The installer you get when you click 'Install Debian' icon in a live GNOME/KDE/etc session. The icon and program seems to be coming from the 'calamares-settings-debian' package. Is that a fourth kind of installer, distinct from the three other types discussed on the page above? I am confused because the page says: "Desktop" Debian Installer: Regardless of the type of Debian Installer included, d-i can be launched from the Desktop by clicking on an icon. This is user friendlier in some situations. That sounds very much like the icon for the Calamares installer. In order to make use of this, the debian-installer-launcher package needs to be included. But I removed debian-installer-launcher, and the "Install Debian" icon is still present, and it still starts Calamares. What icon is that text talking about? I didn't see any other icon when I added the debian-installer-launcher package. That page does indeed seem to reference the debian-installer-launcher that's removed, not Calamares. Is the Calamares installer configured through some entirely other mechanism? It's not aware of live-build. I'm struggling to get the apt sources of this (Calameres?) installer to be what I want. I found the apt source that it will install into the installed OS here: https://salsa.debian.org/live-team/calamares-settings-debian/-/blob/master/helpers/calamares-sources-final?ref_type=heads Calamares does not seem to respect any live-build settings related to apt sources, is that correct? Indeed. I've forgotten how live-build works, but if it leaves something on the media we can use, then the calamares-sources-final script can be modified to use it. How do I make changes to that Calamares file in a normal 'lb config ...' + 'lb build' setup? Is there some Calameres configuration support in live-build? I doubt it, usually Calamares is configured by forking calamares-settings-debian and modifying that to local needs. -Jonathan
