Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 330107 - media-gfx/splashutils-1.5.4.3-r3 - initrd.splash - problem when used by sth else than genkernel
Summary: media-gfx/splashutils-1.5.4.3-r3 - initrd.splash - problem when used by sth e...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Michal Januszewski (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-27 20:32 UTC by Amadeusz Żołnowski (RETIRED)
Modified: 2010-08-28 20:52 UTC (History)
0 users

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


Attachments
initrd.splash-cmp-str-instead-of-int.patch (initrd.splash-cmp-str-instead-of-int.patch,452 bytes, patch)
2010-07-27 20:34 UTC, Amadeusz Żołnowski (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Amadeusz Żołnowski (RETIRED) gentoo-dev 2010-07-27 20:32:23 UTC
When CDROOT is not set we get error on:
[ "${CDROOT}" -eq '1' ]

initrd.splash is standalone script and it would be expected to work not only with Genkernel or setting extra globals. I'm including ready patch.

Reproducible: Always

Steps to Reproduce:
Comment 1 Amadeusz Żołnowski (RETIRED) gentoo-dev 2010-07-27 20:34:47 UTC
Created attachment 240369 [details, diff]
initrd.splash-cmp-str-instead-of-int.patch

Use string comparison instead of integer - in result we don't have error when CDROOT is not set.
Comment 2 Michal Januszewski (RETIRED) gentoo-dev 2010-08-28 20:52:54 UTC
Added to CVS.  Thanks for the patch!