Greetings,
----- Original Message -----
Scott Dowdle wrote, On 05/29/2010 04:00 AM:
> I'm a Fedora remix maker and the following refers to Fedora 13 and
> the version of livecd-tools and livecd-creator currently shipping
> with it. I haven't yet advanced to making rpm packages for my minor
> modifications. I currently just do a few copy operations in the
> %post --nochroot section of my kickstart file.
>
> The only thing I haven't figured out yet is how to replace the
> /isolinux/splash.jpg on the Live media. I thought just copying my
> desired jpg file to
> /usr/lib/anaconda-runtime/syslinux-vesa-splash.jpg would do the
> trick as that appears to be the file referenced per this snooping:
>
> # grep jpg /usr/lib/python2.6/site-packages/imgcreate/live.py
>
"/usr/lib/anaconda-runtime/syslinux-vesa-splash.jpg"
> if self.__copy_syslinux_background(isodir +
> "/isolinux/splash.jpg"):
> background = "menu background splash.jpg"
>
> That doesn't seem to work. What file do I need to replace?
>
These files are copied before the %post scripts are executed.
In your %post --nochroot you have to hack $LIVE_ROOT/isolinux
directly.
/Mads
Well that doesn't answer the question. What jpg file is used as the source for
/isolinux/splash.jpg? Is it indeed /usr/lib/anaconda-runtime/syslinux-vesa-splash.jpg?
If so, does that file come from the host filesystem or the build filesystem? I replaced
it on the host filesystem before even starting the build.
The /var/tmp/iso-{random} directory (or whatever the proper name is) isn't created
until very late in the build process. I thought %post stuff was completed prior to that
but perhaps not.
Thanks for responding.
TYL,
--
Scott Dowdle
704 Church Street
Belgrade, MT 59714
(406)388-0827 [home]
(406)994-3931 [work]