On Sat, 2010-05-29 at 10:54 -0400, Scott Dowdle wrote:
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?
> >
>
You need to re-roll the anaconda rpm with your .jpg and use the newly
created rpm in the build environment.
> 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?
neither, the anaconda rpm is sourced early during the build process and
the contents extracted for use within the build environment as the
buildinstall process sets up.
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.
Hope that helps,
Jerry