Re: Little redesign of package files for 1.3

"Jan Niklas Hasse" <[email protected]>
Newsgroups gmane.comp.autopackage.devel
Message-ID <[email protected]>
On Wed, May 28, 2008 at 7:28 PM, Isak Savo <[email protected]> wrote:
>> Curretly the data payload gets copied to a working directory before the
>> installation AFAIK. I think that's not a good thing for packages which are
>> very big. If I download a 1 GB package, i need 4 GB of free space (.package
>> file, working directory, extraction of the payload, installed files).
>
> It does? didn't know that.

Only as fair as i know, haven't tested it.

> The difference being that with autopackage you actually *can* run the
> install scripts as $user, which you can't with rpm and deb :)

I think it would even be possible to install a package as root without
actually running any of its code as root. Packagers could still make
flexible packages, but should do that in the Prepare section. The
actually copy/move part to the prefix should be autopackages job.

The idea behind installEverything is the following: When I created a
package for a program i realized, that calling the right function
inside the  [Install] section is a job, which could be easily made by
a script (and makepackage creates the Install section for you if you
leave it blank afaik). So my idea is, to remove the [Install] section
completely, I don't see a case where it is really needed. Instead of
calling

installBin mybinary

i could call

mv mybinary bin/mybinary

inside Prepare.

---------------------------------------------------------------------
To unsubscribe, e-mail: autopackage-dev-unsubscribe-OfajU3CKLf1/[email protected]
For additional commands, e-mail: autopackage-dev-help-OfajU3CKLf1/[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.