[pacman-dev] Pacman for LFS

Dan McGee dpmcgee at gmail.com
Fri Sep 21 00:30:28 EDT 2007


On 9/20/07, Walter Barnes <walter_barnes05 at yahoo.com> wrote:
> Hello,
>
> I understand that this is a developers list but I have a users question, if this is not the correct list to post to please let me know where I should post, thanks.
>
> My question involves adapting pacman to a LFS system. After going through the man pages, it seems that to separate pacman from Arch Linux all I need to do is modify pacman.conf to point to my own local repository and remove all pre-configured repository sections. Is this correct or is there another step I need to do as well?
>
> Also, when running configure with --prefix=/tools I found that all config files end up in /tools/etc but it seems that pacman and makepkg still look for the config files in /etc. I did some digging and found the --with-config-file option for pacman.conf but there is no equivelant for makepkg.conf and ended up editing the script by hand. I'm new to Linux and know nothing about automake/autoconf build systems but would it be possible to have configure generate the makepkg script with the correct location of makepkg.conf (and abs.conf too)?
>
> Thanks,
> Walter

If you use pacman from GIT, most of this should have been fixed. The
configure script with pacman now respects the --sysconfdir,
--localstatedir, and --prefix directives, and all paths related to
pacman and makepkg should respect this. Let us know if this is not the
case.

Of course, the current version of pacman in the GIT repo may not be
completely stable, so take caution when using it. However, I don't
want to discourage its use- it should be in a very usable state.

-Dan




More information about the pacman-dev mailing list