-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Open
Labels
Status: UntriagedAn issue that has yet to be triaged.An issue that has yet to be triaged.
Description
During a qemu build of Debian 13:
==> qemu.vm: Provisioning with shell script: ./packer_templates/scripts/debian/networking_debian.sh
==> qemu.vm: + sed -i s/en[[:alnum:]]*/eth0/g /etc/network/interfaces
==> qemu.vm: + sed -i s/GRUB_CMDLINE_LINUX="\(.*\)"/GRUB_CMDLINE_LINUX="net.ifnames=0 biosdevname=0 \1"/g /etc/default/grub
==> qemu.vm: + update-grub
==> qemu.vm: Generating grub configuration file ...
==> qemu.vm: Found linux image: /boot/vmlinuz-6.12.63+deb13-amd64
==> qemu.vm: Found initrd image: /boot/initrd.img-6.12.63+deb13-amd64
==> qemu.vm: Warning: os-prober will not be executed to detect other bootable partitions.
==> qemu.vm: Systems on them will not be added to the GRUB boot configuration.
==> qemu.vm: Check GRUB_DISABLE_OS_PROBER documentation entry.
==> qemu.vm: Adding boot menu entry for UEFI Firmware Settings ...
==> qemu.vm: done
==> qemu.vm: + echo pre-up sleep 2
==> qemu.vm: Provisioning with shell script: ./packer_templates/scripts/debian/sudoers_debian.sh
==> qemu.vm: + grep -q secure_path /etc/sudoers
==> qemu.vm: + echo vagrant ALL=(ALL) NOPASSWD:ALL
==> qemu.vm: + chmod 440 /etc/sudoers.d/99_vagrant
==> qemu.vm: Provisioning with shell script: ./packer_templates/scripts/debian/systemd_debian.sh
==> qemu.vm: + apt-get install libpam-systemd
==> qemu.vm: Reading package lists...
==> qemu.vm: Building dependency tree...
==> qemu.vm: Reading state information...
==> qemu.vm: libpam-systemd is already the newest version (257.9-1~deb13u1).
==> qemu.vm: 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
==> qemu.vm: Provisioning with shell script: ./packer_templates/scripts/debian/hyperv_debian.sh
==> qemu.vm: Provisioning with shell script: ./packer_templates/scripts/debian/cleanup_debian.sh
==> qemu.vm: + [ -d /sys/firmware/efi ]
==> qemu.vm: + dpkg --print-architecture
==> qemu.vm: + grub-install --target=amd64-efi --efi-directory=/boot/efi --bootloader-id=debian --removable
==> qemu.vm: grub-install: error: /usr/lib/grub/amd64-efi/modinfo.sh doesn't exist. Please specify --target or --directory.
==> qemu.vm: Provisioning step had errors: Running the cleanup provisioner, if present...
==> qemu.vm: Deleting output directory...
Build 'qemu.vm' errored after 12 minutes 26 seconds: Script exited with non-zero exit status: 1. Allowed exit codes are: [0]
Examining the filesystem, the file in question is now actually in /usr/lib/grub/x86_64-efi, not /usr/lib/grub/amd64-efi.
I'm submitting a PR with a simple fix (creating a symlink).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Status: UntriagedAn issue that has yet to be triaged.An issue that has yet to be triaged.