Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
wiki:extension_for_settings [2011/05/18 03:22] – [Make Extensions for Settings] Guy | wiki:extension_for_settings [2014/01/31 22:25] (current) – [Examples] tinypoodle | ||
---|---|---|---|
Line 17: | Line 17: | ||
To make a extension called “myext1.tcz, | To make a extension called “myext1.tcz, | ||
- | < | + | < |
cd / | cd / | ||
mksquashfs ext1/ myext1.tcz</ | mksquashfs ext1/ myext1.tcz</ | ||
- | |||
- | For an actual example of making an extension for settings, see [[Printer Setup Using Cups]]. | ||
==== Copy to TCE Folder ==== | ==== Copy to TCE Folder ==== | ||
Line 30: | Line 28: | ||
Keep a copy of your new extension. If you update extensions, it may be deleted. | Keep a copy of your new extension. If you update extensions, it may be deleted. | ||
+ | |||
+ | ==== Examples ==== | ||
+ | |||
+ | This example will add a shell script to your home directory called " | ||
+ | |||
+ | < | ||
+ | |||
+ | Now copy your script " | ||
+ | |||
+ | If you also want to install an application you could make a " | ||
+ | |||
+ | Now, to make the extension called “extpack.tcz” type: | ||
+ | |||
+ | < | ||
+ | cd /home/tc | ||
+ | mksquashfs extpack/ extpack.tcz</ | ||
+ | |||
+ | Then copy extpack.tcz into your " | ||
+ | |||
+ | Since " | ||
+ | |||
+ | For another actual example of making an extension for settings, see [[Printer Setup Using Cups]]. | ||
+ | |||
+ | ===Unpack extensions=== | ||
+ | |||
+ | If you want to update e.g. the extpack.tcz extension in the previous example and do not have the original files available you can unpack the extension using this command: | ||
+ | |||
+ | < | ||
+ | |||
+ | The documentation for unsquashfs can be found here: | ||
+ | [[http:// | ||
==== Load Order ==== | ==== Load Order ==== | ||
Line 41: | Line 70: | ||
==== Alternate Method: Save in /opt ==== | ==== Alternate Method: Save in /opt ==== | ||
- | Another option, instead of making new extensions, is to save files in /opt. An example of this is discussed in [[passwd|Tiny Core Passwords]]. | + | Another option, instead of making new extensions, is to save files in /opt. An example of this is discussed in [[passwd|Tinycore |