Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 76708 - genkernel-3.1.0c: bootsplash files are not merged into init ram file.
Summary: genkernel-3.1.0c: bootsplash files are not merged into init ram file.
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal minor (vote)
Assignee: Gentoo Genkernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-04 17:57 UTC by Massimiliano Adamo
Modified: 2005-01-31 11:22 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Dialog Utility to install Gensplash (splashdialog.tar,40.00 KB, patch)
2005-01-09 10:17 UTC, Massimiliano Adamo
Details | Diff
Gentoo Dialog Splash Utility (splashdialog.tar,40.00 KB, application/octet-stream)
2005-01-09 15:09 UTC, Massimiliano Adamo
Details
this is the patch plus a tool to install bootsplash (splashdialog.tar.gz,8.82 KB, application/octet-stream)
2005-01-30 13:21 UTC, Massimiliano Adamo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Massimiliano Adamo 2005-01-04 17:57:59 UTC
Hi.
There are a couple of things regarding the package sys-kernel/genkernel-3.1.0c

Even if I compile my kernel with genkernel, using the option "--bootsplash=<mytheme>" it doesn't work.
If I try to mount the initrd file, the needed directories don't exist!
I've modified the scripts by myself, as following, in the script "/usr/share/genkernel/gen_initrd.sh"

I've added the following line as line 44:
(cd ${TEMP}/initrd-temp; cpio -i < /usr/src/linux/usr/initramfs_data.cpio) || gen_die 'Could not copy splash files'

Moreover, I've also modified the gernkernel script itself:
I've modified:
gunzip ${KERNEL_DIR}/usr/initramfs_data.cpio.gz

replacing "gunzip" with "gunzip -f", because it makes no sense to be asked to replace the cpio file when I've already replaced the cpio.gz without being asked.

Another thing regarding the genkernel script:
regearding the bootsplash feature, there is no option to specify the resolution, like the "splash_geninitramfs" script provides.
If the command lacks this option the initrd image become huge, because it copies all the images ... I modified the line in the script and adapted itself to my preferred resolution ... but this is a solution just for me.

thanks for your attention.
Cheers.
Massimiliano.
Comment 1 Tim Yamin (RETIRED) gentoo-dev 2005-01-05 13:27:11 UTC
Would you be able to make a patch for this?
Comment 2 John M. Drescher 2005-01-06 10:15:29 UTC
I have noticed the same problem with gensplash. I was trying to figure out why the splash started late and found out that it was not being added to the kernel anymore (at least for gentoo-dev-sources-2.6.10). I too modifyied genkernel to only include the splash for my default resolution (1024X768).
Comment 3 Massimiliano Adamo 2005-01-09 10:17:18 UTC
Created attachment 48033 [details, diff]
Dialog Utility to install Gensplash

all,
this is my proposal to solve this issue.
It's quit easy and nice to use.
Remember that now we have to use gensplash instead of bootsplash. Do not
confuse them anymore.
cheers.
Comment 4 Massimiliano Adamo 2005-01-09 15:05:11 UTC
Comment on attachment 48033 [details, diff]
Dialog Utility to install Gensplash

>splashdialog/

ops ... ehm ... sorry. I attached a binary as text.
I'll attach the file another time.
Comment 5 Massimiliano Adamo 2005-01-09 15:09:06 UTC
Created attachment 48057 [details]
Gentoo Dialog Splash Utility

All.
I have a script-application with dialog, have aslo modified other two scripts
and packed all of them in this tar file.
Tar file also contain a README.
It works and it's easy to use ... enjoy it.
Comment 6 Kristar 2005-01-30 10:07:52 UTC
Well, how I figured this out is only to replace media-gfx/bootsplash with media-gfx/splashutils in /usr/portage/sys-kernel/genkernel/genkernel-x.x.xx.ebuild.

The modified ebuild file has been added to /usr/local/portage/sys-kernel/genkernel/genkernel-x.x.xx.ebuild because I use PORTDIR_OVERLAY in my /etc/make.conf.
Comment 7 Massimiliano Adamo 2005-01-30 13:21:51 UTC
Created attachment 49989 [details]
this is the patch plus a tool to install bootsplash

The attachment provides a patch for genkernel, to make gensplash working and
also includes a tool to easily install splash in the kernel.
Comment 8 Chris Gianelloni (RETIRED) gentoo-dev 2005-01-31 11:22:24 UTC
--bootsplash does not work with gensplash

There were changes made in 2.6.10 that would cause changes to the gensplash usage... anyway... use 3.1.0h, as all of these problems are resolved