Tiny Core Base > TCB Talk

Tool for tcz creation.

(1/1)

deniska:
Is there tool that scans fs before and after installing something and saves changes in tcz? It could be useful.

Guy:
If you scan the entire file system you would get a lot of additional unwanted stuff in the tcz.

You would need to install to a particular directory, and make the contents of that directory into a tcz.

deniska:
> If you scan the entire file system you would get a lot of additional unwanted stuff in the tcz.

Not entire. May be just /usr. The tool should provide file list editing if necessary.

> You would need to install to a particular directory, and make the contents of that directory into a tcz.

It isn't possible for some hardware drivers.

Anyway, is there ready to use tool or I have to write my own scripts?

Kingdomcome:
No, there is no tool in the base for this, however there is a simple solution included in the Creating Extensions Wiki that uses touch and find.

vitex:
I use scripts based on the template:

--- Code: ---touch /tmp/TIMESTAMP
[[[ install your software ]]]
rm -fR /tmp/pkg
( cd / ; find usr/local -newer /tmp/TIMESTAMP -not -type d -depth | cpio -pd /tmp/pkg )
( cd /tmp ; mksquashfs pkg myapp.tcz )

--- End code ---

Navigation

[0] Message Index

Go to full version