From fc07d633f7cb694423349a2c4b10c91c4b4981a2 Mon Sep 17 00:00:00 2001 From: Matthew Ruffell Date: Tue, 2 Jun 2020 09:55:40 +1200 Subject: 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 --- tools/.github-cla-signers | 1 + 1 file changed, 1 insertion(+) (limited to 'tools/.github-cla-signers') 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 -- cgit v1.2.3