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

CI: mkosi-mainline: Support for 'noble' mainline kernels #326

Merged
merged 1 commit into from
Feb 27, 2024

Conversation

vt-alt
Copy link
Contributor

@vt-alt vt-alt commented Feb 27, 2024

Description

Ubuntu started to create mainline kernel packages for upcoming 'noble' release but jammy's (where CI runs) debootstrap knows nothing about it.

debootstrap fails with (though this is not visible in mkosi output):

E: No such script: /usr/share/debootstrap/scripts/noble

Add Ubuntu's development debootstrap from their git. It's possible to run it from the git repo itself (as stated in their README). The repo cloned into /debootstrap so we don't need to set DEBOOTSTRAP_DIR and executable is symlinked to /usr/local/bin which we prepared earlier (and GA prepends it to PATH).

For the current bug it's not required to symlink debootstrap script because today we only need to update their scripts directory but this fuller update may be future proof.

Fixes: #303

How Has This Been Tested?

GA run in fork .

Ubuntu started to create mainline kernel packages for upcoming 'noble'
release but jammy's (where CI runs) debootstrap knows nothing about it.

debootstrap fails with (though this is not visible in mkosi output):

    E: No such script: /usr/share/debootstrap/scripts/noble

Add Ubuntu's development debootstrap from their git. It's possible to
run it from the git repo itself (as stated in their README). The repo
cloned into `/debootstrap` so we don't need to set `DEBOOTSTRAP_DIR` and
executable is symlinked to `/usr/local/bin` which we prepared earlier
(and GA prepends it to `PATH`).

For the current bug it's not required to symlink `debootstrap` script
because today we only need to update their `scripts` directory but this
fuller update may be future proof.

Fixes: lkrg-org#303
Signed-off-by: Vitaly Chikunov <[email protected]>
@solardiz solardiz merged commit 2155c8c into lkrg-org:main Feb 27, 2024
20 checks passed
@vt-alt vt-alt deleted the debootstrap-noble branch April 19, 2024 13:26
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.

mkosi-mainline E: Tried to extract package, but file already exists. Exit...
2 participants