Skip to content

Commit e8ff852

Browse files
committed
overlay/05core: ship by-id/coreos-boot-disk udev rule in initrd only
The associated script only exists in the initrd. But also, we only need the symlink in the initrd anyway. Fixes 6d7b9ad ("overlay.d: add udev rule for creating stable symlink to boot disk"). Fixes openshift/os#755.
1 parent 5cdd20a commit e8ff852

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

overlay.d/05core/usr/lib/dracut/modules.d/35coreos-ignition/module-setup.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ install() {
3131
inst_script "$moddir/coreos-gpt-setup.sh" \
3232
"/usr/sbin/coreos-gpt-setup"
3333

34-
inst_simple "/usr/lib/udev/rules.d/80-coreos-boot-disk.rules"
34+
inst_simple "$moddir/80-coreos-boot-disk.rules" \
35+
"/usr/lib/udev/rules.d/80-coreos-boot-disk.rules"
3536

3637
inst_script "$moddir/coreos-disk-contains-fs.sh" \
3738
"/usr/lib/udev/coreos-disk-contains-fs"

0 commit comments

Comments
 (0)