diff options
author | Matthew Ruffell <github@ruffell.nz> | 2020-06-02 09:55:40 +1200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-01 17:55:40 -0400 |
commit | fc07d633f7cb694423349a2c4b10c91c4b4981a2 (patch) | |
tree | 2ccfd2dcbf08902fd7426967d21a59049cf1c433 /tools | |
parent | 4ab3303ec4bb49f029b7821d6dba53a6b02b6dc1 (diff) | |
download | vyos-cloud-init-fc07d633f7cb694423349a2c4b10c91c4b4981a2.tar.gz vyos-cloud-init-fc07d633f7cb694423349a2c4b10c91c4b4981a2.zip |
cc_grub_dpkg: determine idevs in more robust manner with grub-probe (#358)
Replace the hardcoded list of devices with a more robust way of determining
the device which grub is installed to.
We use grub-probe to fetch the underlying disk the /boot directory is
located on, and attempt to match the disk with its /dev/disk/by-id value.
If no such /dev/disk/by-id/ value exists, we fallback to the plain disk
name.
The changes are robust to unstable kernel device names and ordering, and use
/dev/disk/by-id values to populate grub-pc/install_devices where possible.
LP: #1877491
Diffstat (limited to 'tools')
-rw-r--r-- | tools/.github-cla-signers | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/.github-cla-signers b/tools/.github-cla-signers index 2c924f85..c3113705 100644 --- a/tools/.github-cla-signers +++ b/tools/.github-cla-signers @@ -2,6 +2,7 @@ beezly bipinbachhao dhensby lucasmoura +matthewruffell nishigori tomponline TheRealFalcon |