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

profiles: archiver-common: add mkinitcpio to private-etc #5656

Merged
merged 1 commit into from
Mar 5, 2024

Conversation

glitsj16
Copy link
Collaborator

mkinitcpio (used to generate initramfs images) supports several compression formats. On Arch Linux (based distributions) at least this implies the supported archivers to have access to mkinitcpio-related files under /etc.

This was no problem before 29da82d added private-etc to archivers-common.profile. This PR adds the now needed extra private-etc items to mkinitcpio's supported compressors.

Relates to #5610.

Side-note: mkinitcpio also supports lz4 compression. I was a bit surprised to notice we don't have a profile for that yet. I'll add one in a follow-up PR.

@glitsj16 glitsj16 changed the title Add mkinitcpio support in archivers Add mkinitcpio support in relevant archivers Feb 11, 2023
Copy link
Collaborator

@kmk3 kmk3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggestion: Since this affects multiple archivers and considering that in #5655
you want to remove private-etc from the archivers (as it was added to
archivers-common.profile), add private-etc mkinitcpio* to
archivers-common.profile instead.

@kmk3 kmk3 changed the title Add mkinitcpio support in relevant archivers archivers: add mkinitcpio support in relevant archivers Feb 11, 2023
kmk3 pushed a commit to glitsj16/firejail that referenced this pull request Feb 11, 2023
glitsj16 added a commit to glitsj16/firejail that referenced this pull request Feb 11, 2023
Moving it to archiver-comm.profile as suggested in [code review](netblue30#5656 (review)).
glitsj16 added a commit to glitsj16/firejail that referenced this pull request Feb 11, 2023
Moving it to archiver-comm.profile as suggested in [code review](netblue30#5656 (review)).
glitsj16 added a commit to glitsj16/firejail that referenced this pull request Feb 11, 2023
Moving it to archiver-comm.profile as suggested in [code review](netblue30#5656 (review)).
glitsj16 added a commit to glitsj16/firejail that referenced this pull request Feb 11, 2023
@glitsj16
Copy link
Collaborator Author

@kmk3 Thanks for the suggestion. Done!

@kmk3 kmk3 changed the title archivers: add mkinitcpio support in relevant archivers archiver-common: add mkinitcpio support to private-etc Feb 13, 2023
@glitsj16 glitsj16 marked this pull request as draft February 13, 2023 01:42
glitsj16 added a commit to glitsj16/firejail that referenced this pull request Mar 1, 2023
glitsj16 added a commit to glitsj16/firejail that referenced this pull request Mar 3, 2023
mkinitcpio (used to generate initramfs images) supports several
compression formats:
https://gitlab.archlinux.org/archlinux/mkinitcpio/mkinitcpio/-/blob/master/mkinitcpio.conf#L54-L64.

On Arch Linux (based distributions) at least this implies the supported
archivers to have access to mkinitcpio-related files under /etc.

This was no problem before 29da82d added `private-etc` to
`archivers-common.profile`.

This adds the now needed extra private-etc items to
archiver-common.profile, for mkinitcpio's supported compressors (which
seem to be at least cpio, gzip and zstd).

Relates to netblue30#5610.
@kmk3 kmk3 marked this pull request as ready for review March 5, 2024 13:56
@kmk3 kmk3 merged commit 06d160f into netblue30:master Mar 5, 2024
3 checks passed
@glitsj16 glitsj16 deleted the mkinitcpio branch March 5, 2024 14:24
@kmk3 kmk3 changed the title archiver-common: add mkinitcpio support to private-etc profiles: archiver-common: add mkinitcpio to private-etc Sep 28, 2024
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