actually apply overrides
This commit is contained in:
parent
e95986917e
commit
16a9ba7f14
@ -1,12 +1,19 @@
|
||||
include:
|
||||
- ignition-and-ostree.yaml
|
||||
- shared-el9.yaml
|
||||
- shared-workarounds.yaml
|
||||
|
||||
ostree-layers:
|
||||
- overlay/05core
|
||||
- overlay/08nouveau
|
||||
- overlay/09misc
|
||||
- overlay/20platform-chrony
|
||||
|
||||
|
||||
conditional-include:
|
||||
- if: releasever <= 8
|
||||
include: fallback-hostname.yaml
|
||||
|
||||
|
||||
packages:
|
||||
- rpm
|
||||
- policycoreutils
|
||||
|
10
manifests/shared-el9.yaml
Normal file
10
manifests/shared-el9.yaml
Normal file
@ -0,0 +1,10 @@
|
||||
# These are packages that are shared between FCOS and
|
||||
# RHCOS/SCOS 9+
|
||||
|
||||
packages:
|
||||
# SSH
|
||||
- ssh-key-dir
|
||||
|
||||
ostree-layers:
|
||||
- overlay/06el9
|
||||
|
35
manifests/shared-workarounds.yaml
Normal file
35
manifests/shared-workarounds.yaml
Normal file
@ -0,0 +1,35 @@
|
||||
# This manifest is a list of shared workarounds that are needed in both Fedora CoreOS
|
||||
# and downstreams (i.e. Red Hat CoreOS).
|
||||
|
||||
postprocess:
|
||||
# Put in the fix for multipathd.service in dracut on releases that haven't
|
||||
# been fixed yet.
|
||||
# https://github.com/dracutdevs/dracut/pull/1606
|
||||
# https://github.com/coreos/fedora-coreos-config/pull/1233
|
||||
- |
|
||||
#!/usr/bin/env bash
|
||||
set -xeuo pipefail
|
||||
source /etc/os-release
|
||||
# This has landed in Fedora but not in any version of RHEL yet
|
||||
if [[ ${ID} != "rhel" ]]; then
|
||||
exit 0
|
||||
fi
|
||||
mkdir /usr/lib/dracut/modules.d/36coreos-multipath-fix
|
||||
cat > /usr/lib/dracut/modules.d/36coreos-multipath-fix/90-multipathd-remove-execstop.conf <<'EOF'
|
||||
# Temporary workaround for https://github.com/dracutdevs/dracut/pull/1606.
|
||||
[Service]
|
||||
ExecStop=
|
||||
EOF
|
||||
cat > /usr/lib/dracut/modules.d/36coreos-multipath-fix/module-setup.sh <<'EOF'
|
||||
#!/bin/bash
|
||||
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
|
||||
# ex: ts=8 sw=4 sts=4 et filetype=sh
|
||||
install() {
|
||||
# Temporary workaround for https://github.com/dracutdevs/dracut/pull/1606.
|
||||
mkdir -p "$systemdsystemunitdir/multipathd.service.d"
|
||||
inst_simple "$moddir/90-multipathd-remove-execstop.conf" \
|
||||
"$systemdsystemunitdir/multipathd.service.d/90-multipathd-remove-execstop.conf"
|
||||
}
|
||||
EOF
|
||||
chmod +x /usr/lib/dracut/modules.d/36coreos-multipath-fix/module-setup.sh
|
||||
|
Loading…
Reference in New Issue
Block a user