On Tue, 2007-07-24 at 16:34 -0500, Douglas McClendon wrote:
Lehal Parminder (GS-FI/ENG3-NA) wrote:
> How can we create a live CD containing files which are not in a RPM?
> More specifically, I need to create a live CD containing tomcat and a
> custom web application(jsp). The custom web application is in war
> format. Is it possible to do it without creating a rpm for the custom
> app?
I mentioned in a prior mail that I'm a bit annoyed by this as well. I may whip
up a simple patch allowing args to livecd-creator to throw in extra directories.
For now, I think the best way is to use the --shell option, and then do
something like 'ls -altr /var/tmp/livecd-creator*' to find the installation root
to copy your files into. But NOTE- you would have to do this in ANOTHER
terminal, because in the shell livecd-creator gives you, you are stuck in the
chroot.
You can also grab things in your config's %post section. That's what
I've done in the past to accomplish this. I stuck files up on a
webserver and just grabbed them with wget
Jeremy