From noreply at github.com Tue Mar 7 08:36:00 2023 From: noreply at github.com (Michael Prokop) Date: Mon, 06 Mar 2023 23:36:00 -0800 Subject: [Git-commits] [grml/grml-live] 7eb188: SW: add f3 to GRML_FULL Message-ID: Branch: refs/heads/master Home: https://github.com/grml/grml-live Commit: 7eb1881376feb8d8ba7f8430108eacee776fef8d https://github.com/grml/grml-live/commit/7eb1881376feb8d8ba7f8430108eacee776fef8d Author: Michael Prokop Date: 2023-03-07 (Tue, 07 Mar 2023) Changed paths: M etc/grml/fai/config/package_config/GRML_FULL Log Message: ----------- SW: add f3 to GRML_FULL Thanks: Keith Irwin for the suggestion Closes: https://github.com/grml/grml-live/issues/134 From noreply at github.com Fri Mar 31 12:17:28 2023 From: noreply at github.com (Michael Prokop) Date: Fri, 31 Mar 2023 03:17:28 -0700 Subject: [Git-commits] [grml/grml-debootstrap] b379e2: GRUB: use persistent device names under /dev/disk/... Message-ID: Branch: refs/heads/mika/grub Home: https://github.com/grml/grml-debootstrap Commit: b379e2401637be5569cd87f26e39bc54549fa834 https://github.com/grml/grml-debootstrap/commit/b379e2401637be5569cd87f26e39bc54549fa834 Author: Michael Prokop Date: 2023-03-31 (Fri, 31 Mar 2023) Changed paths: M chroot-script Log Message: ----------- GRUB: use persistent device names under /dev/disk/by-id/ for install_devices We pass the requested --grub … device argument to the GRUB package configuration, like: | # debconf-show grub-pc | grep grub-pc/install_devices: | * grub-pc/install_devices: /dev/sda But the GRUB package tries to use /dev/disk/by-id/... for install_devices setting (since 2010 and Debian/squeeze AFAICS), as can be observed by reconfiguring the GRUB package (which then automatically converts the /dev/sdX to the proper /dev/disk/by-id/... device when being asked in the debconf prompt): | # dpkg-reconfigure grub-pc | grub-pc: Running grub-install ... | [...] | # debconf-show grub-pc | grep grub-pc/install_devices: | * grub-pc/install_devices: /dev/disk/by-id/ata-VBOX_HARDDISK_VBf4f4391c-6316fa69 The available_ids() and device_to_id() helper functions are based on code by Colin Watson in GRUB's postinst script of the Debian package, see git commits 4830efd9e + ce2a43c85 at https://salsa.debian.org/grub-team/grub.git. Closes: https://github.com/grml/grml-debootstrap/issues/206