Skip to content

Conversation

meisenzahl
Copy link
Member

Related to #252

I had to dig through the code of live-build to find out that the versions of Debian and Ubuntu are implemented differently. By using debian:latest to build our images, the mode ubuntu is not supported. Only security repositories are enabled for mode debian: https://salsa.debian.org/live-team/live-build/-/blob/master/functions/sourcelist.sh#L77

Before

deb mirror://mirrors.ubuntu.com/mirrors.txt jammy main restricted universe multiverse
deb-src mirror://mirrors.ubuntu.com/mirrors.txt jammy main restricted universe multiverse
deb mirror://mirrors.ubuntu.com/mirrors.txt jammy-updates main restricted universe multiverse
deb-src mirror://mirrors.ubuntu.com/mirrors.txt jammy-updates main restricted universe multiverse

After

deb mirror://mirrors.ubuntu.com/mirrors.txt jammy main restricted universe multiverse
deb-src mirror://mirrors.ubuntu.com/mirrors.txt jammy main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse
deb-src http://security.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse
deb mirror://mirrors.ubuntu.com/mirrors.txt jammy-updates main restricted universe multiverse
deb-src mirror://mirrors.ubuntu.com/mirrors.txt jammy-updates main restricted universe multiverse

@davidmhewitt
Copy link
Member

Well spotted. Have you built a working image with this config?

There's a couple of other things affected by changing this, but I don't think they look significant:

https://salsa.debian.org/search?search=LB_MODE&nav_source=navbar&project_id=11221&group_id=2761&search_code=true&repository_ref=master

@meisenzahl
Copy link
Member Author

Yes, I have built a working image with this config. I was able to install it without any problems and have not noticed any limitations from the change so far.

@davidmhewitt davidmhewitt merged commit 62e266e into master Nov 7, 2022
@davidmhewitt davidmhewitt deleted the switch-mode-to-debian branch November 7, 2022 11:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants