[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: create a tar.gz package (or put everything in a directory) - possible?



chris elliott wrote:


Tomasz Chmielewski wrote:
Felipe Sanchez wrote:

It can't be done. But it's already done. What does this mean?

Checkinstall *does* create a subdirectory containing all files inside the package. It's part of the packaging process. The directory, however, is deleted afterwards.

It is quite possible to modify checkinstall so it can produce just a tarball of the package with no scripts whatsoever. I don't know how useful that would be but it is certainly possible. All of the work is practically done already: Take a look into the Slackware package creation step and you should be on track.

Now that I think of it, there is a way right now: Run checkinstall with -d2 and you would get a checkinstall-debug file containing the temp dir for that run of checkinstall, including the package subdirectory.

Hi,

That indeed works, but will it work on a system which doesn't have any tools that support creating rpm, deb or tgz packages?

[I made a quick check - trying to create a slackware package on a system that doesn't support it - and indeed it works)]


a linux without taz and gzip would not be very helpful...

tgz is a package; it's not the same as .tar.gz.

My system has both tar and gzip.

If you are wondering what system has no rpm, deb nor tgz package support, you may think of embedded devices, they very often run Linux, and it's one of them I'm talking about.

It doesn't mean that embedded Linux systems has no packages at all: they very often use ipkg, which reminds a bit dpkg (but is very different of course).


--
Tomasz Chmielewski
http://wpkg.org