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

deploy: Don't copy xattrs for devicetree #3323

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Oct 18, 2024

  1. deploy: Don't copy xattrs for devicetree

    xref: coreos/fedora-coreos-tracker#1808
    
    For the kernel/initramfs that we copy to `/boot`
    we use an explicit relabeling today, ignoring the source SELinux
    context.
    
    When we added handling for devicetree it reuse the `copy_dir_recurse`
    we have for `etc` handling, and that copied the source xattrs.
    
    Let's ensure that the devicetree is also `boot_t` by *not* copying
    xattrs and relying on the default labeling.
    
    Signed-off-by: Colin Walters <[email protected]>
    cgwalters committed Oct 18, 2024
    Configuration menu
    Copy the full SHA
    72202df View commit details
    Browse the repository at this point in the history