WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Tool for tcz creation.  (Read 2319 times)

Offline deniska

  • Newbie
  • *
  • Posts: 15
Tool for tcz creation.
« on: January 04, 2010, 12:02:18 PM »
Is there tool that scans fs before and after installing something and saves changes in tcz? It could be useful.

Offline Guy

  • Hero Member
  • *****
  • Posts: 1089
Re: Tool for tcz creation.
« Reply #1 on: January 04, 2010, 12:07:41 PM »
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.
Many people see what is. Some people see what can be, and make a difference.

Offline deniska

  • Newbie
  • *
  • Posts: 15
Re: Tool for tcz creation.
« Reply #2 on: January 04, 2010, 12:35:31 PM »
> 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?

Offline Kingdomcome

  • Sr. Member
  • ****
  • Posts: 286
Re: Tool for tcz creation.
« Reply #3 on: January 04, 2010, 12:39:30 PM »
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.

Offline vitex

  • Full Member
  • ***
  • Posts: 113
Re: Tool for tcz creation.
« Reply #4 on: January 04, 2010, 12:40:14 PM »
I use scripts based on the template:
Code: [Select]
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 )