TinyCore uses "/home/tc/.local/bin" for PATH if the directory is in 'tinycore.gz'.
Since it's very easy for me to put my executables in that directory and use them,
I want my ".local/bin" to be available when I start TinyCore.
In order to do that, I change 'tinycore.gz'.
e8120aa61e855b59ec642dfef767e19f tinycore_1.0rc3.iso
'tinycore.gz' dir = /mnt/sda1/tc/
First, I unpack 'tinycore.gz' in a new directory, tcfs.
root@box[/home/tc]# mkdir tcfs
root@box[/home/tc]# cd tcfs
root@box[/home/tc/tcfs]# gunzip -c /mnt/sda1/tc/tinycore.gz | cpio -idm
root@box[/home/tc/tcfs]# exit
Second, I create ".local/bin".
root@box[/home/tc]# mkdir -p tcfs/etc/skel/.local/bin
root@box[/home/tc]# chown -R tc tcfs/etc/skel/.local
root@box[/home/tc]# chgrp -R staff tcfs/etc/skel/.local
root@box[/home/tc]# exit
Third, I repack 'tinycore.gz' and save it.
root@box[/home/tc]# cd tcfs
root@box[/home/tc/tcfs]# find . | cpio -o -H newc | gzip -9 > ../tinycore.gz
root@box[/home/tc/tcfs]# cd -
root@box[/home/tc]# cp tinycore.gz /mnt/sda1/tc
root@box[/home/tc]# exit
Done!