You are not logged in.

#1 2014-06-06 10:07:05

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,731
Website

pacman and makepkg to manage /home/facade/public as a system root

Seems like an odd question but here goes: how can I use pacman and makepkg to manage packages to /home/facade/public rather than to the live system root?  In short, I want to keep newer versions of some software in that location specifically as the system root and I want to have pacman manage the files and makepkg do the building.

I can manually build things by throwing in the following:

make DESTDIR=/home/facade/public install

but again, pacman will not help me keep book on files that get installed by the native make install step.  I hope my question makes sense.

Offline

#2 2014-06-06 11:57:43

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,459
Website

Re: pacman and makepkg to manage /home/facade/public as a system root

Do you want a full chroot'able system at /home/facade/public, or just the select package files?  The former would certainly be reasonably easy; the latter I'm not so sure.

If the latter, a follow-up question: assuming there was a way for pacman to install something there, would you want the package file to be cached at /var/cache/pacman/pkg/ or /home/facade/public/var/pacman/pkg/ ?


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2014-06-06 13:52:33

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,089

Re: pacman and makepkg to manage /home/facade/public as a system root

graysky,

have you looked at using the RootDir= option of pacman ?

you should also look up DBPath and LogFile options.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Online

Board footer

Powered by FluxBB