initramfs: Default to DRACUT_NO_XATTR=1
See the linked issue https://github.com/dracut-ng/dracut-ng/issues/1561 Signed-off-by: Colin Walters <walters@verbum.org>
This commit is contained in:
parent
c34a29bc53
commit
2cfaaf7788
1 changed files with 3 additions and 0 deletions
|
|
@ -7,6 +7,9 @@ postprocess:
|
|||
cat > /usr/lib/dracut/dracut.conf.d/20-bootc-base.conf << 'EOF'
|
||||
# We want a generic image; hostonly makes no sense as part of a server side build
|
||||
hostonly=no
|
||||
# Dracut will always fail to set security.selinux xattrs at build time
|
||||
# https://github.com/dracut-ng/dracut-ng/issues/1561
|
||||
export DRACUT_NO_XATTR=1
|
||||
add_dracutmodules+=" kernel-modules dracut-systemd systemd-initrd base ostree "
|
||||
EOF
|
||||
cat > /usr/lib/dracut/dracut.conf.d/22-bootc-generic.conf << 'EOF'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue