[pacman-dev] makepkg -w argument removed?

Jason Chu jason at archlinux.org
Mon Jan 22 14:40:52 EST 2007


On Mon, 22 Jan 2007 12:09:24 -0500
"Dan McGee" <dpmcgee at gmail.com> wrote:

> On 1/22/07, Jason Chu <jason at archlinux.org> wrote:
> > I always thought if there's an option that can be set in
> > makepkg.conf, there should be a corresponding command line option
> > to a) disable a set makepkg.conf option one time or b) set it to
> > something it's not usually set to one time.
> >
> > If there were no makepkg.conf option, then I wouldn't see a problem,
> > but because you can do it in the global case, you should be able to
> > modify it in the single case.
> >
> > Jason
> 
> Other options, sure, but we just figured it was quite confusing to
> have an option that puts a package in one place one time- would you
> ever do this on a "regular" basis? Obviously aurbuild does, but would
> a human user, so to speak, do so?
> 
> How about this, and correct me if it isn't possible. What if aurbuild
> sets the PKGDEST variable itself before invoking makepkg, and sets it
> using readonly (man readonly)? I believe this would work, but haven't
> tested it enough.
> 
> -Dan

I would say the most common case is a script setting it, that's true.

How about I rephrase a bit: There must be a way that does not involve
changing any files on the filesystem to modify this option in the one
time case.  If there is a way other than a command line option, that's
fine.

I was thinking about using the -w option to save all my rebuilt
packages for python25 into a repo directory so that I could easily
rebuild the db without having to track down all the packages.  I
wouldn't be using this repo directory for building any packages not for
python25.

Jason
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://archlinux.org/pipermail/pacman-dev/attachments/20070122/8ffc799a/attachment.pgp>


More information about the pacman-dev mailing list