sakaki- / sakaki-tools

Overlay containing various utility ebuilds for Gentoo on EFI.
79 stars 53 forks source link

sys-kernel/genkernel-next-70 - Could not find busybox source tarball #27

Closed lacc97 closed 4 years ago

lacc97 commented 4 years ago

Running the buildkernel script with genkernel-next-70 fails with

* Creating initramfs (uncompressed)...
* Gentoo Linux Genkernel; Version 70
* Running with options: --install --no-mountboot --luks --lvm --no-gpg --udev --kernel-config="/var/tmp/buildkernel/buildkernel/.config" --busybox --no-compress-initramfs --all-ramdisk-modules --firmware --plymouth --plymouth-theme=breeze initramfs

* Using genkernel.conf from /etc/genkernel.conf
* Sourcing arch-specific config.sh from /usr/share/genkernel/arch/x86_64/config.sh ..
* Sourcing arch-specific modules_load from /usr/share/genkernel/arch/x86_64/modules_load ..

grep: : No such file or directory
Could not find source tarball /usr/portage/distfiles/busybox-1.32.0.tar.bz2. Please refetch.

* buildkernel: Error: Caught signal - exiting

Since my distfiles directory is /var/cache/distfiles/, I imagine the problem is genkernel-next-70 does not respect the appropriate environment variables.

donbcd commented 4 years ago

I had the same issue, and found that the path "/usr/portage/distfiles/busybox-1.32.0.tar.bz2" is configured in /etc/genkernel.conf

You just have to change that to the correct location (e.g. /var/cache/distfiles/busybox-....") and everything works fine

lacc97 commented 4 years ago

That fixed it. Thanks!