I tried emerging grubconf and it ended here: checking if splashimage is available... no /boot/grub/stage2 is not available. Please specify a valid location using --enable-splashimage=/path/to/grub/ or use --disable-splashimage I mounted /boot and everything went fine. Does it make sense to let the ebuild mount it? Or does it make sense to add a message to the ebuild that the user might need to mount the /boot? This question comes to my head, because gentoo's manual official instructs the user to create a seperate /boot partition. Comments? Reproducible: Always Steps to Reproduce: 1. 2. 3.
having the ebuild mount it is no good ofcourse (it will only be mounted the one time after boot). We could add a note to the ebuild or even take it a step further and create a wrapper for the exec that will show a message on execution failure maybe (?) CC-ing the author, maybe he has an idea on this or could even integrate a check+warning into the application itself (?)
Hi, I'm the author. I agree having the ebuild mount /boot is not an option. You can set the splashimage from the configure options. So you should be able to determine if it has a splashimage from the version of GRUB? then set the splashimage option appropiately. I don't have time to confirm this now, but I will check later.
Ok, I decided to check now ... You can force grubconf to use splashimage with "./configure --enable-splashimage". This will not actually confirm its existence by probing /boot/grub/stage2. I'm not exactly sure which version of GRUB in portage supports splashimage (in the two years I've been using Gentoo I can't remember not having splashimage), so you will have to check with the GRUB maintainer (or someone who knows the versions). But it should be a simple GRUB version check in the ebuild once you know the splashimage-capable version.
All versions of grub in portage support splashimage, and have certainly at least since 0.92-r1.
Great, I had a feeling it was the case that all versions of grub in portage supported splashimage. So, this should be an easy fix of adding "--enable-splashimage" to the configure options in the ebuild.
Joe, any chance of an updated ebuild?
should be easy fix, can you take care of it Rob ?
I could try, but I can't promise it'll be perfect.
I've never tried it before TBH, but I can have a look. Unfortunately I'm kinda out of action at the moment - I'm getting paid to do enterprise stuff for Gentoo, and that has to be my priority. Look forward to Apache::ASP, and even an OpenExchange ebuild soon ;-)
Fixed in CVS.