After compiling the kernel, make install should copy the kernel image to the right place. It worked with sys-apps/debianutils-3.4.2, but now # make install sh /usr/src/linux-2.6.37-gentoo/arch/x86/boot/install.sh 2.6.37-gentoo arch/x86/boot/bzImage \ System.map "/boot" run-parts: failed to open directory /etc/kernel/postinst.d: No such file or directory make[1]: *** [install] Error 1 make: *** [install] Error 2 ------------------------------------------- running it manually: # installkernel 2.6.37-gentoo arch/x86/boot/bzImage System.map "/boot" run-parts: failed to open directory /etc/kernel/postinst.d: No such file or directory ------------------------------------------- the kernel is installed anyway! suggestions: patch the install kernel to check this postinst directory for existense. Or include this (empty??) postinst.d directory in tha package.
/etc/kernel/postinst.d could be quite useful, for instance to simply run lilo (I tend to forget after a new kernel is added to /boot), so I am inclined to add the empty directory to the ebuild using keepdir.
Fixed in -r1. The installkernel script should probably check for its existence, but I doubt upstream would view that as a needed sanity check as upstream would install this directory anyway. :)
*** Bug 352330 has been marked as a duplicate of this bug. ***
(In reply to comment #2) > Fixed in -r1. The installkernel script should probably check for its existence, > but I doubt upstream would view that as a needed sanity check as upstream would > install this directory anyway. :) > I hope you are not having it create the directory, if it's not found (as you mentioned above). If it's not found, the script should simply not proceed to try to run its contents (as I suggested in my duplicate bug). Thank you.