#983506 grub2-common: grub-install doesn't install files to /boot/grub/i386-pc

Package:
grub2-common
Source:
grub2
Description:
GRand Unified Bootloader (common files for version 2)
Submitter:
Vratislav Blazek
Date:
2021-02-25 10:03:04 UTC
Severity:
important
#983506#5
Date:
2021-02-25 09:58:57 UTC
From:
To:
Dear Maintainer,

   * We use grub-install while preparing a new system in chrooted environment.

   * After upgrade from 2.02+dfsg1-20+deb10u2 to 2.02+dfsg1-20+deb10u3, grub-install stopped to install files in /boot/grub/i386-pc dir.

   * Command we use:

       chroot "${INSTALL_DIR}" grub-install /tmp/dummy_nonexistent

   * Working workaround - copy files explicitly:

       chroot "${INSTALL_DIR}" "mkdir -p /boot/grub/i386-pc/" || die
       chroot "${INSTALL_DIR}" "cp /usr/lib/grub/i386-pc/*.mod /boot/grub/i386-pc/" || die
       chroot "${INSTALL_DIR}" "cp /usr/lib/grub/i386-pc/*.lst /boot/grub/i386-pc/" || die
       chroot "${INSTALL_DIR}" "cp /usr/lib/grub/i386-pc/efiemu*.o /boot/grub/i386-pc/" || die
       chroot "${INSTALL_DIR}" "cp /usr/lib/grub/i386-pc/modinfo.sh /boot/grub/i386-pc/" || die