summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMatthew Ruffell <github@ruffell.nz>2020-06-02 09:55:40 +1200
committerGitHub <noreply@github.com>2020-06-01 17:55:40 -0400
commitfc07d633f7cb694423349a2c4b10c91c4b4981a2 (patch)
tree2ccfd2dcbf08902fd7426967d21a59049cf1c433 /tools
parent4ab3303ec4bb49f029b7821d6dba53a6b02b6dc1 (diff)
downloadvyos-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-signers1
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