livecd-creator, kickstart files, adding files to /home directory. I.E. software dedicated livecd
I want to customize my livecd ISO image of fedora based on kickstart by adding my program to it. (I just want to make livecd based on fedora to distribute my program in dedicated live distro)
However the program is in sourcecode.
I would like to add it to the newly created ISO in compiled form ie excutable.
Now I know that I can add the required packages to my Live image by adding them in package section of kickstart.
1. How can I put the source code of my program in the /hoe/liveuser/myprogram?
2. how can I commit the followong:
3. Is it possible at all to do it in fedora with kickstart or shall use maby other procedure or distro ?
Hello and Welcome to LinuxQuestions,
You can run your commands in the %post section of kickstart but you'll need to make sure that in your installation from CD or your live system you have a fully functional build environment. If you don't it'll be exiting with errors. I think it's a better idea, if you have a build environment for Fedore already set up, to compile your software and include it as RPM in your cd and install it from there as normal software. For some more information about kickstart you can consult the RedHat documentation on kickstart and kickstart options.
Hello & hello LQ too :)
Well off course I have studied the docs.
Problem 1. The first problem is the following kickstart doesn't seem to work for me.
I wasn't considering creating RPM as I think it probably is complicated to create such for a program that requires dependencies.The program compiles fine on host system but creating of an RPM would mean i have to make a local yum repo and add it to kickstart and it sound kind of difficult
|All times are GMT -5. The time now is 09:44 AM.|