-
Notifications
You must be signed in to change notification settings - Fork 57
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
manifest,image: add Files,Directories to bootc customizations #1227
Conversation
This commit adds support for files/directories in blueprint customizations. This needs osbuild/images#1227 Closes: osbuild#834
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.
This PR and commit are specifically for the bootc disk images but the commit message (summary and description) don't mention it at all. Can you make it more specific so it's clearer when reading back? The current description makes it sound like this PR introduces the customizations for the first time.
Otherwise, LGTM! Thanks :)
We should probably do this before selinux labelling, right? This is how the os pipeline does it IIRC. |
8313e74
to
51a9fe1
Compare
This commit adds support for files/directories in blueprint customizations. This needs osbuild/images#1227 Closes: osbuild#834
of course. good catch! |
51a9fe1
to
755118b
Compare
This commit adds support for Files,Directories to the bp customizations fo BootcDiskImage and RawBootcImage.
755118b
to
a457b37
Compare
This commit adds support for files/directories in blueprint customizations. This needs osbuild/images#1227 Closes: osbuild#834
This commit runs selinux labeling unconfidionally. Traditionally we wanted to touch the filesystem that bootc created as little as possible. However as Achilleas rightfully pointed out we always write the /etc/fstab so we always need to label. If we go back to not write /etc/fstab and use kargs to find the rootfs (see issue#756) we probably should to revert this again and make labeling conditional again.
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.
Code is fine; I'm having a harder time understanding the use case for this.
Uh, my bad - I should have linked the issue that promoted this directly - here it is osbuild/bootc-image-builder#834 |
This commit adds support for files/directories in blueprint customizations. This needs osbuild/images#1227 Closes: osbuild#834
This commit adds support for files/directories in blueprint customizations. This needs osbuild/images#1227 Closes: osbuild#834
This commit adds support for files/directories in blueprint customizations. This needs osbuild/images#1227 Closes: osbuild#834
This commit adds support for files/directories in blueprint customizations. This needs osbuild/images#1227 Closes: osbuild#834
This commit adds support for Files,Directories to the bp
customizations fo BootcDiskImage and RawBootcImage.
The integration test is in osbuild/bootc-image-builder#841 once that is green this can be considered ready. The unit test has the gap that "getInlineSources()" is not covered, I looked but did not found a good way, I would really like to get back to this at some point though (and also see if the 5 identical implementations could be somehow unified).