Refracta Development, Scripts, etc.
Wed May 06, 2015 4:35 pm
Hello forum
I would like to add (and eventually remove as well) additional apps (e.g. with apt-get) to an
existing Debian based Linux Live CD ISO.
As I undestand, additional apps can not directly be "injected" into an ISO, but the operation
system (on the ISO) has to be installed first to the harddisk...
Question:
Is Refracta the preferred tool for such tasks?
Any feedback is appreciated very much. Thank you!
Bill
Thu May 07, 2015 1:16 am
There are a couple of ways to approach this. You can install your live cd either to hardware or into a virtual machine, install refractasnapshot and its dependencies, configure the system the way you want it, and make a new iso file that's a bootable snapshot of your running system. If you also install refractainstaller, then you can install an exact copy of your custom live iso.
If the live iso is something other than straight debian (or Refracta, which is just a remixed debian), then there might be some special things you have to do. So, you might want to say what it is. If it's ubuntu, or ubuntu-based, you might have trouble finding some of the deps. (There's no live-config-upstart package in 14.04, but the one from wheezy seems to work.)
It's also possible to mount the iso, copy it, chroot into the filesystem to install packages, and then rebuild the iso. I probably skipped a few important steps there. dzz, the other main refracta dev, does it that way. He even posted a script here that automates part of the process, but I don't recommend you try it unless you know what you're doing. And read the warnings.