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:
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.
Added to CVS. Thanks for the patch!