You are not logged in.
Some day soon I need to take a look at whether live-build has caught up with DEB822....
Bug report about DEB822:
https://bugs.debian.org/cgi-bin/bugrepo … ug=1032131Roland Clobus Wed, 22 Jan 2025 wrote:It will take some effort to migrate to deb822 for d-i, and additionally live-build needs to migrate to deb822 as well.
And very little after that...
And a placeholder bug report for live-build:
https://bugs.debian.org/cgi-bin/bugrepo … ug=1110886
So no DEB822 in Trixie debian-installer or live-build, and BL will have to try to do something with scripts or hooks.
...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )
Offline
@johnraff you can do it with preseed.cfg . That’s what I did. Not ideal but it works.
Offline
^Thanks cog, I saw your solution a while ago and will probably use something like that - maybe a linked script instead of putting all the commands in preseed.cfg.
Of course a live-build hook (as I suggested yesterday) won't work because it has to happen at install time, not iso-build time. The Debian-Installer sets up apt sources then.
I was also wondering about wrapping a script around 'apt modernize-sources'.
Since for BunsenLabs there's no queston of choosing a mirror, it might work to hard-code that part - including "signed-by" - while leaving the Debian sources under apt's control. Even the Debian sources will need modernizing though, because the D-I doesn't yet know about deb822.
It might be OK to make a modern deb822 sources file for BL and ship it in the squashed filesystem in the iso. Some testing will be needed...
...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )
Offline
The trixie 13.0 installer doesn't leave any sources at all, see https://forums.debian.net/viewtopic.php?t=163399 for more on this.
I've used this in preseed.cfg
:
d-i preseed/late_command string printf 'Types: deb\nURIs: http://deb.debian.org/debian/\nSuites: trixie trixie-updates\nComponents: main contrib non-free non-free-firmware\nSigned-By: /usr/share/keyrings/debian-archive-keyring.gpg\n\nTypes: deb\nURIs: http://deb.debian.org/debian-security/\nSuites: trixie-security\nComponents: main contrib non-free non-free-firmware\nSigned-By: /usr/share/keyrings/debian-archive-keyring.gpg' > /target/etc/apt/sources.list.d/deadbang.sources ; in-target apt update
It's basically the same as cog's solution.
EDIT: that didn't work because the late_commands use the busybox version of printf
. Oops.
Trying this instead (with the deadbang.sources
file added to config/includes.installer/
):
d-i preseed/late_command string cp deadbang.sources /target/etc/apt/sources.list.d/deadbang.sources
Last edited by Head_on_a_Stick (2025-08-31 19:05:36)
Offline
^ Debian bug: https://bugs.debian.org/cgi-bin/bugrepo … ug=1110717
It seems to be about whether User enables a mirror during installation or not.
...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )
Offline
Thank you sir!
This is strange though because I set the mirror manually in the preseed file. I think I'll just drop those lines and copy the sources file directly into the system, that way deadbang will be DEB822-compliant from the trixie release.
Last edited by Head_on_a_Stick (2025-09-01 06:28:57)
Offline