Welcome to the Tiny Core Linux Wiki at tinycorelinux.net!

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

wiki:extension_for_settings [2013/11/23 03:10]
georgp24
wiki:extension_for_settings [2014/01/31 19:25] (current)
tinypoodle [Examples]
Line 17: Line 17:
 To make a extension called “myext1.tcz,” open the Terminal, and type: To make a extension called “myext1.tcz,” open the Terminal, and type:
  
-<code>sudo su+<code>sudo -s
 cd /home/tc/myext cd /home/tc/myext
 mksquashfs ext1/ myext1.tcz</code> mksquashfs ext1/ myext1.tcz</code>
Line 41: Line 41:
 Now, to make the extension called “extpack.tcz” type: Now, to make the extension called “extpack.tcz” type:
  
-<code>sudo su+<code>sudo -s
 cd /home/tc cd /home/tc
 mksquashfs extpack/ extpack.tcz</code> mksquashfs extpack/ extpack.tcz</code>
Line 50: Line 50:
  
 For another actual example of making an extension for settings, see [[Printer Setup Using Cups]]. 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:
 +
 +<code>unsquashfs -f -d /home/tc/extpack/ extpack.tcz</code>
 +
 +The documentation for unsquashfs can be found here: 
 +[[http://www.tldp.org/HOWTO/html_single/SquashFS-HOWTO/#unsquashing|unsquashing]]
  
 ==== Load Order ==== ==== Load Order ====
Print/export