Tiny Core Base > TCB Tips & Tricks

Turn mydata.tgz into a tce extension

(1/2) > >>

bigpcman:
I'm not sure how useful this is but I found it interesting that it looks like simply renaming the backup file mydata.tgz  to mydata.tce turns it into an extension that can then be loaded like any other. I know there can be "timing issues" with some of the files that are normally in the backup file but that aside the .filelist,  menu tool / add to filelist and panel backup button can all be used to make an extension.

clivesay:
Yes, you are correct.

Not sure if Robert still has the extensions loaded alphabetically. If they do, then just give your data extension a name that starts with "zz" or something to ensure it's loaded last. That way, your config files will be the last thing loaded and will overlay any default files from the applications.

Chris

^thehatsrule^:
Yes, they are loaded alphabetically - first .tce's then .tcz's, if that matters.

MakodFilu:
I wonder if at boot time, with tcelocal= variable set (or whatever is it named), one could also specify tceload=file-without-path.tce

That way, i18n and L10n, customization, branding and whatever could be accomplished by simply adding a directory and editing a syslinux.cfg/ isolinux.cfg simple line.

If that data/config/dummy .tce have an associated .dep, it could also install some other .tce's at boot time.

softwaregurl:

--- Quote ---If that data/config/dummy .tce have an associated .dep, it could also install some other .tce's at boot time.
--- End quote ---
.deps are ignored on boot.
--- Quote ---they are loaded alphabetically - first .tce's then .tcz's
--- End quote ---
Roberts decided to do it this way to simplify and speed the boot process.  I'm sure a .tce could have just /opt/bootlocal.sh which in turn loads another with a .dep as they are obeyed when loading from optional.  It might be handy to grab a dummy extension from your local web server to load everything you normaly want.

I've been using mydata.tce to load things like hardware support (have to modprobe my ethernet card) almost from the beginning but i still use a backup.  This just makes it easier to start a new tce directory with nothing but the essentials.

I think this might have been answered elsewhere but, is everything downloaded and installed in the order it's listed in the .dep and does everything happen localy so it makes no difference if I change mirrors or is anything other then the search server side?

Navigation

[0] Message Index

[#] Next page

Go to full version