* Assuming you do not have a separate /boot partition. * Installing the kernel via installkernel ... run-parts: executing /etc/kernel/postinst.d/91-grub-mkconfig.install 5.15.15-gentoo-dist /boot/vmlinuz-5.15.15-gentoo-dist Generating new grub config as /boot/grub/grub.cfg /usr/sbin/grub-probe: error: failed to get canonical path of `/dev/nvme0n1p4'. Failed to generate grub config run-parts: /etc/kernel/postinst.d/91-grub-mkconfig.install exited with return code 1 ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop_plasma-j4-20220113-070005 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-9.3.1 [2] x86_64-pc-linux-gnu-11.2.1 * clang/llvm (if any): clang version 13.0.0 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/13/bin /usr/lib/llvm/13 13.0.0 Python 3.9.10 Available Ruby profiles: [1] ruby26 (with Rubygems) [2] ruby27 (with Rubygems) [3] ruby30 (with Rubygems) * Available Rust versions: [1] rust-bin-1.58.0 * The following VMs are available for generation-2: *) AdoptOpenJDK 11.0.13_p8 [openjdk-bin-11] 2) AdoptOpenJDK 8.312_p07 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 [2] openjdk-bin-11 system-vm The Glorious Glasgow Haskell Compilation System, version 8.10.4 php cli: [1] php7.3 [2] php7.4 [3] php8.1 * HEAD of ::gentoo commit 8b80a8049804f3c0186ee7fb4e3dd301ee102a3d Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Mon Jan 17 08:22:04 2022 +0000 2022-01-17 08:22:02 UTC emerge -qpvO sys-kernel/gentoo-kernel-bin [ebuild R ] sys-kernel/gentoo-kernel-bin-5.15.15 USE="-initramfs -test"
Created attachment 762389 [details] emerge-info.txt
Created attachment 762390 [details] emerge-history.txt
Created attachment 762391 [details] etc.portage.tar.bz2
Created attachment 762392 [details] sys-kernel:gentoo-kernel-bin-5.15.15:20220117-093332.log.bz2
Whilst this might be just a tinderbox issue I like to file the bug here b/c I do not see what's wrong with the tinderbox setup (https://github.com/toralf/tinderbox/blob/master/bin/bwrap.sh#L112)
it tries to generate grub config and fails to read disks, probably due to combination of bubblewrap and namespacing. nothing really to worry about and nothing we can do too. error comes from sys-kernel/installkernel-gentoo[grub] you probably want to never turn on USE=grub for installkernel-gentoo for tinderbox runs.
on other hand maybe I can add some magic variable script reads, so it never attempts to run if it's set. suggestions? =)
here's the hook that fails, for the record https://github.com/mgorny/installkernel-gentoo/blob/master/hooks/91-grub-mkconfig.install
Grub-mkconfig exits non-fatally in recent versions