On Sat, Aug 21, 2021 at 05:45:48PM +0200, Eric Valette wrote: > But upstream kernel look explicitely in /sbin so there will be a problem... > > /usr/src/linux-zotac-h67itx# sh -x > /usr/src/linux-5.10.7/arch/x86/boot/install.sh 5.10.60 arch/x86/boot/bzImage > System.map "/boot" > + verify arch/x86/boot/bzImage > + '[' '!' -f arch/x86/boot/bzImage ']' > + verify System.map > + '[' '!' -f System.map ']' > + '[' -x /root/bin/installkernel ']' > + '[' -x /sbin/installkernel ']' > + exec /sbin/installkernel 5.10.60 arch/x86/boot/bzImage System.map /boot
Once your /sbin is a symlink to usr/sbin, that problem will go away.