General TC > Tiny Core Netbooks

How to create a .tcz file

<< < (2/2)

patrikg:
I think he think of this book.

http://tinycorelinux.net/corebook.pdf

grandma:
waaaaaaaaaay kewl
friggn awwwwwwwwesome

coreplayer2:
Hi grandma

the section of the wiki that discusses how to make an extension is here http://wiki.tinycorelinux.net/wiki:creating_extensions

This section takes you through the complete creation starting from compiling the app to submitting the extension. 

the actual section which relates to squashing of extension is only a few descriptive lines because in fairness that part is straight forward and only one command is required to accomplish that task.

to see how an extension is created I found it is better to deconstruct a similar extension to use as a guide then once you've prepared the new extension with required structure simply squash it up.
Commands to deconstruct an extension and squash the new extension are:

--- Code: ---tce-load -i squashfs.tcz
sudo unsquashfs -d extension_name extension_name.tcz
mksquashfs new_extension new_extension.tcz
--- End code ---


If you're concerned that you may not have applied the correct permissions to files contained within the new extension please use the audit extension " submitqc ";  use
--- Code: ---submitqc  --fix
--- End code ---
   from the specific directory containing only the tcz you wish to fix,  or
--- Code: ---submitqc
--- End code ---
just to check.

Navigation

[0] Message Index

[*] Previous page

Go to full version