General TC > Remasters / Remixes - Unofficial

Live CD with Programs

<< < (2/3) > >>

buggy:
or perhaps can I install the programm into the filesystem... but how
when unpack the tcz files with "unsquashfs"   merge the Folders into the "extract" folder it also dont works..

tinypoodle:
You could place extensions into /tmp/builtin/optional/ (inside cpio archive).

buggy:
oke I think I understand it


I extract the core.gz for example to "/tmp/extract/"
then I copy the extensions as "cpio" format into "/tmp/extract/tmp/builtin/optional"


Am I right?

buggy:
ok I found a solution


first I execute this script:


--- Code: ---cd
wget http://www.tinycorelinux.net/4.x/x86/release/Core-current.iso


sudo mkdir /mnt/tmp
sudo mount Core-current.iso /mnt/tmp -o loop,ro
sudo cp -a /mnt/tmp/boot /tmp
sudo mv /tmp/boot/core.gz /tmp
sudo umount /mnt/tmp


mkdir /tmp/extract
cd /tmp/extract
sudo zcat /tmp/core.gz | sudo cpio -i -H newc -d
--- End code ---

then I install all extensions I want to have...

then I open /tmp/extract/opt/bootlocal.sh and write
   -> sudo -u tc tce-load -i XXX XXX XXX XXX XXX
      # XXX = all extensions


and at least I execute this script:

--- Code: ---sudo cp -R /tmp/tce /tmp/extract/tmp/

sudo depmod -a -b /tmp/extract 3.0.21-tinycore

tce-load -wi gzip

cd /tmp/extract
sudo find | sudo cpio -o -H newc | gzip -2 > ../mycore.gz

tce-load -wi mkisofs-tools.tcz
tce-load -wi brasero.tcz
tce-load -wi isomaster.tcz

cd /tmp
sudo mv mycore.gz boot
sudo mv boot/mycore.gz boot/core.gz
mkdir newiso
sudo mv boot newiso
sudo chmod 777 -R newiso


cd /tmp

sudo mkisofs -l -J -R -V TC-custom -no-emul-boot -boot-load-size 4 -boot-info-table -b boot/isolinux/isolinux.bin -c boot/isolinux/boot.cat -o sfos.iso newiso



--- End code ---

tinypoodle:

--- Quote from: buggy on April 02, 2013, 09:11:46 AM ---then I open /tmp/extract/opt/bootlocal.sh and write
   -> sudo -u tc tce-load -i XXX XXX XXX XXX XXX
      # XXX = all extensions
--- End quote ---

Consider that this might become inefficient as soon as you would restore a backup.

Why not use /tmp/builtin/onboot.lst ? (path within remaster)


--- Quote ---sudo depmod -a -b /tmp/extract 3.0.21-tinycore

--- End quote ---

When it comes to adding modules in a remaster, I find following script ideal, as besides from adding required modules it also discards all unused modules:
http://forum.tinycorelinux.net/index.php/topic,9028.0.html


--- Quote ---tce-load -wi gzip
--- End quote ---

It is not obvious why the gzip extension would be needed.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version