Skip to content

Commit cabc4bd

Browse files
Johan-Liebert1joelcapitao
authored andcommitted
manifest/c9s: Add multipath postprocess script
dracut-ng/dracut-ng#1306 has not been backported to Cent OS Stream 9, so for now we apply the patch ourselves in the postprocess script Signed-off-by: Pragyan Poudyal <[email protected]>
1 parent 151af20 commit cabc4bd

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

manifest-c9s.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,15 @@ packages:
2929
- centos-release-cloud-common
3030
- centos-release-nfv-common
3131
- centos-release-virt-common
32+
33+
postprocess:
34+
# We apply part of the patch https://github.com/dracut-ng/dracut-ng/pull/1306
35+
# https://issues.redhat.com/browse/RHEL-87490
36+
# https://github.com/coreos/fedora-coreos-tracker/issues/1937
37+
# Also see: https://github.com/coreos/rhel-coreos-config/pull/90#issuecomment-3484544101
38+
# The script will start to fail once backported at distgit level signaling to remove it.
39+
- |
40+
#!/usr/bin/env bash
41+
set -xeuo pipefail
42+
sed -i '/^ExecStart=\/usr\/sbin\/mpathconf --enable$/,${s//ExecStart=\/usr\/sbin\/mpathconf --enable --user_friendly_names n/;b};$q1' /usr/lib/dracut/modules.d/90multipath/multipathd-configure.service
43+

0 commit comments

Comments
 (0)