-
Notifications
You must be signed in to change notification settings - Fork 152
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
Get rid of debootstrap #2602
Get rid of debootstrap #2602
Conversation
@Conan-Kudo I'm unsure about the usr-merge stuff and did not yet add that. Is this manual usrmerge really needed ? Maybe @DaanDeMeyer could provide a hint ? Thanks |
Note this has the consequence of breaking Debian builds on openSUSE hosts since apt is not available there. |
We do need it as that package is what forces usrmerge for Debian systems. |
Note that what mkosi does might be too extreme, I don't think all the per architecture symlinks are actually required, I just never bothered with dropping them again. |
70e4a41
to
2210b04
Compare
I think that never worked because if you call apt-get on suse you get
How funny, so I don't care. |
yeah I also thought it might be too drastic :) I think in the kiwi case we try first without it and see where it causes issues and if it does try to find a solution... |
I set the don't merge label as I want to create a Staging build and see if our debian integration tests still builds |
Do we have debian tests on all arches? |
we have
no power no s390 |
That's probably fine for this... |
2210b04
to
b40e5c1
Compare
Do we tell apt to disable signature checking? Because if we don't, it probably isn't going to work. |
e67c6fb
to
acaa8bb
Compare
@Conan-Kudo @DaanDeMeyer ok I found why it does not work on an obs worker. So look at this
This is funny. On the worker itself the packages that we want for bootstrap are already installed. This leads to a number of So can the download be forced even if the system already has that package installed ? Thanks much |
Add |
That means it's using the host dpkg status file, is there a way to make apt not do that? |
Sure apt has options for everything, should be somewhere in the man pages |
Dir::State::status solved it |
f563796
to
d7b1689
Compare
Replace debootstrap with an apt-get based pre-download of packages followed by a dpkg-deb extraction. This Fixes #2599
0a71797
to
eae4762
Compare
The ubuntu integration needs some adaptions such that apt-get after bootstrap succeeds. This is now done. The integration tests for x86_64 and aarch64 succeeds here: |
8a8fa13
to
320e810
Compare
was needed to fix the pam issue. Its script code has to run such that we have to install this package in the proper system installation because just unpacking it in the bootstrap is not enough and it is not picked up by the dependency solver later. Thus needs to be explicitly added to the package list and that made the OS to function properly |
320e810
to
f34f83a
Compare
f34f83a
to
c1a3d7d
Compare
Remove package hacks for debootstrap, explicitly add required packages and or configurations.
1b23f9d
to
27ac74b
Compare
kiwi no longer uses debootstrap
27ac74b
to
1aaf9ce
Compare
Replace debootstrap with an apt-get based pre-download of packages followed by a dpkg-deb extraction.
This Fixes #2599