Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch mode to debian #635

Merged
merged 1 commit into from
Nov 7, 2022
Merged

Switch mode to debian #635

merged 1 commit into from
Nov 7, 2022

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.

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.

None yet

2 participants