You are not logged in.

#1 2010-11-17 16:23:33

Ramses de Norre
Member
From: Leuven - Belgium
Registered: 2007-03-27
Posts: 1,289

makepkg in /tmp

Is it possible to have makepkg do the compiling in /tmp? I cannot find a config setting or option in makepkg.conf or the man page.

Offline

#2 2010-11-17 17:03:41

kgas
Member
From: Qatar
Registered: 2008-11-08
Posts: 718

Re: makepkg in /tmp

iirc, packer is doing this in /tmp.

Offline

#3 2010-11-17 17:13:33

linux-ka
Member
From: ADL
Registered: 2010-05-07
Posts: 232

Re: makepkg in /tmp

that's a good point. I had an eye on this too...maybe it is the path of SRCDEST.

Offline

#4 2010-11-17 17:46:23

Ramses de Norre
Member
From: Leuven - Belgium
Registered: 2007-03-27
Posts: 1,289

Re: makepkg in /tmp

linux-ka wrote:

that's a good point. I had an eye on this too...maybe it is the path of SRCDEST.

It might, but I'd expect that to be mentioned in the comment of the variable then. But I can try it nonetheless.

kgas wrote:

iirc, packer is doing this in /tmp.

Thanks for the suggestion, but I'm not too fond of the gazillion different front-ends and replacements for pacman and co... Only clyde has managed to get into my "tool set" smile

Last edited by Ramses de Norre (2010-11-17 17:47:15)

Offline

#5 2010-11-17 18:00:41

ChoK
Member
From: France
Registered: 2008-10-01
Posts: 346

Re: makepkg in /tmp

Does clyde have a special directory where it does compilation? if so you can mount --bind it to /tmp. For local packages though I don't know, best bet is creating a bash wrapper to mount --bind the directory to /tmp.


Ah, good taste! What a dreadful thing! Taste is the enemy of creativeness.
Picasso
Perfection is reached, not when there is no longer anything to add, but when there is no longer anything to take away.
Saint Exupéry

Offline

#6 2010-11-17 19:07:08

Awebb
Member
Registered: 2010-05-06
Posts: 6,517

Re: makepkg in /tmp

what stops you from extracting the tarball in /tmp and run makepkg there?

Offline

#7 2010-11-17 19:50:35

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: makepkg in /tmp

clyde does build in /tmp.

Offline

#8 2010-11-17 20:37:16

Ramses de Norre
Member
From: Leuven - Belgium
Registered: 2007-03-27
Posts: 1,289

Re: makepkg in /tmp

Awebb wrote:

what stops you from extracting the tarball in /tmp and run makepkg there?

Nothing, it's just that I have a folder in which I hold my packages and I'll probably forget sometimes to copy back the stuff from /tmp and such, but I guess I could script a solution. I was just wondering whether makepkg could do this itself.

@lucke: indeed, but I'm talking about manually building modified PKGBUILDS.

Offline

#9 2010-11-17 23:43:53

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,459
Website

Re: makepkg in /tmp

There is no option in makepkg to do this.   Feel free to file a feature request or (even better) provide a patch!

Offline

Board footer

Powered by FluxBB