Tiny Core Linux
General TC => Remasters / Remixes - Unofficial => Topic started by: chang5811 on December 20, 2013, 05:19:49 PM
-
I just started to use TinyCore 4.7 two weeks ago. I intend to use it as a vm in my CentOR ( or RH) host. However, I want to include few applications of my own --mainly written with python, as part of background TC at boot-up. I put my python files in the ../tce/optional (where most of added tcz are) and edited the bootlocal.sh on the hard drive. But How can I include the python files when I ezremaster to create the iso. I installed the ezremaster.tcz from on-line and the gui processes of ezremaster did not mention to add other file type besides .tcz (at Extension Installation). So my customized ISo only convers the python , pyserial another **.tcz from my ../tce/optional/
-
One solution is to create a .tcz file with yout Python progs in.
-
EZRemaster allows you to include your backup file, and also to add general files (IIRC it tells you to open a shell if you want to edit the root fs, in one of the final steps).
-
I followed the steps in the tiny core book by Lauri Kasanen to create a tcz of my application folder and include it in to the onboot.lst and used the ezremaster to create the new iso. It works I will certainly look into the EZremaster way (just learn so I need time to know some of its features). I intend to use my customized Tinycore as a virtual machine (vm) on a RedHat host.
-
Like Curaga mentioned, on the last step before you create the ISO in ezremaster you can open a shell and edit/add/change anything you want. If you have any questions let me know.
-
The last step before "create ISO" is "Remaster step #1" where system "saving options for ezremaster.cfg", extracting ISO, "adding boot codes.." and "adding application, mydata.tgz", but no where I could add/edit/change my own application, the only place I could edit on the ezremaster is the "Extension Installation" interactive page. I am using ezremaster 2.1, loaded from repo.
-
When you get to the "Remaster Step #2" screen, before you click "Create ISO" you can go edit anything you want. Depending on where you set your temp directory to it will be something like /tmp/ezremaster/extract to edit what will become the initrd, and /tmp/ezremaster/image to edit what will become the ISO image.
-
After examining few articles of TinyCore, I realized that for my simple case, I could edit the /opt/.filetool.lst and included my target subdir. The Tinycore back up my setting into the mydata.tgz. Then within the ezremaster steps, I included mydata.tgz into, when it created the image (ISO), it will be covered. With such, I can update my target application easily. Thanks all for the tips.