Skip to content

Commit

Permalink
overlay/05core: ship by-id/coreos-boot-disk udev rule in initrd only
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jlebon committed Mar 23, 2022
1 parent 5cdd20a commit e8ff852
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ install() {
inst_script "$moddir/coreos-gpt-setup.sh" \
"/usr/sbin/coreos-gpt-setup"

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

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

0 comments on commit e8ff852

Please sign in to comment.