Skip to content
/ os Public
forked from openshift/os

Commit 8c7c2e7

Browse files
committed
overlay.d/05rhcos: Add dracut module to install vendored gdisk
See: coreos/ignition#1926 See: https://issues.redhat.com/browse/RHEL-56080 See: coreos/fedora-coreos-config#3015
1 parent 8af0f80 commit 8c7c2e7

File tree

1 file changed

+15
-0
lines changed
  • overlay.d/05rhcos/usr/lib/dracut/modules.d/50ignition-sgdisk

1 file changed

+15
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#!/bin/bash
2+
3+
check() {
4+
return 0
5+
}
6+
7+
depends() {
8+
echo ignition
9+
}
10+
11+
install() {
12+
# Installed vendored gdisk binary in the initramfs for Ignition
13+
# See: https://issues.redhat.com/browse/RHEL-56080
14+
inst /usr/libexec/ignition-sgdisk /usr/sbin/sgdisk
15+
}

0 commit comments

Comments
 (0)