-
Notifications
You must be signed in to change notification settings - Fork 570
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
Conversation
There was a problem hiding this 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.
Follow-up to netblue30#5656. Partly relates to netblue30#5610.
Moving it to archiver-comm.profile as suggested in [code review](netblue30#5656 (review)).
Moving it to archiver-comm.profile as suggested in [code review](netblue30#5656 (review)).
Moving it to archiver-comm.profile as suggested in [code review](netblue30#5656 (review)).
As suggested in [code review](netblue30#5656 (review)).
@kmk3 Thanks for the suggestion. Done! |
Follow-up to netblue30#5656. Partly relates to netblue30#5610.
Follow-up to netblue30#5656. Partly relates to netblue30#5610.
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.
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
toarchivers-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.