app-admin/google-guest-configs: New package to install udev disk rules #3606
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
google-guest-configs: New package to install udev disk rules
We already have GCE disk rules in coreos-init, but a user has pointed out that the newer NVMe rules are missing. Let's take the rules directly from upstream instead. This is loosely based on the ChromiumOS package of the same name.
This only installs the udev disk rules because the network rules are not GCE-specific. The disk rules need to be in the initrd, so we cannot separate this package from other platforms by putting it in the GCE OEM image. We could split this package in two, but the network rules don't seem essential.
The wider GCE packages are very outdated. I started looking into this in early 2025. I then noticed this had already been attempted the year before in #1826. This change at least implements a small part of what was in that PR without touching the rest.
How to use
Spin up a VM with Kola using
--gce-machinetype c3-standard-4and check whether the "google" symlink exists under /dev/disk.Testing done
An amd64-only Jenkins run using GCE has passed. I've also manually tested as above.
changelog/directory (user-facing change, bug fix, security fix, update)/bootand/usrsize, packages, list files for any missing binaries, kernel modules, config files, kernel modules, etc.