Skip to content

Commit

Permalink
overlay.d: create new 30gcp-udev-rules overlay
Browse files Browse the repository at this point in the history
We previously had the 65-gce-disk-naming.rules under the 05core
overlay. This commit makes a new overlay.d entry specifically for
the GCP rules, in this way we can track it and have a better
maintenance

Signed-off-by: Renata Ravanelli <rravanel@redhat.com>
(cherry picked from commit 9da4327)
  • Loading branch information
ravanelli committed Apr 10, 2023
1 parent eef4015 commit dd7ee9c
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
2 changes: 2 additions & 0 deletions overlay.d/30gcp-udev-rules/statoverride
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Config file for overriding permission bits on overlay files/dirs
# Format: =<file mode in decimal> <absolute path to a file or directory>
14 changes: 14 additions & 0 deletions overlay.d/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,17 @@ bits to include the rules in the initramfs too.
[1] https://github.com/coreos/fedora-coreos-tracker/issues/1383
[2] https://github.com/Azure/WALinuxAgent/pull/1622
[3] https://src.fedoraproject.org/rpms/WALinuxAgent/pull-request/4


30gcp-udev-rules
-------------------

Add udev rules and scripts needed from google-guest-configs [1] for disk
configuration in GCP, such as local SSD controllers (nvme and scsi).

There is an opened BZ [2] requesting a subpackage of google-compute-engine-guest-configs
containing only what we need. Once we get it, we can include this rpm in the
OS (Fedora/RHEL) and drop this module entirely.

[1] https://github.com/GoogleCloudPlatform/guest-configs/tree/master/src/lib/udev
[2] https://bugzilla.redhat.com/show_bug.cgi?id=218286

0 comments on commit dd7ee9c

Please sign in to comment.