You are not logged in.

#1 2007-07-02 00:23:16

zeus
Member
From: Korolev / Russia
Registered: 2006-09-19
Posts: 117
Website

ARCHER - Arch linux building tool

Many maintainers have a problem - at building package is required to install a plenty of dependences in to "working" system. Frequently, it is required to install a package which conflicts with an already installed and used. Building i686 packages on x86_64 machines Is required.

Solution - chrooting.

Arсher - system created to help maintainers (or other useres) with this tasks.

Archer can (now):

Create enviroment ready for chroot with independedt pacman, and basic utils.
Create enviroment with mounted (o -bind) pacman database and cache from "working" system.
Create eviroment from target pacman.conf file (e.g. i686 specified).
Build PKGBUILD in a chrooted enviroment with automatically syncing dependencies.

I'm trying to create wery simple system. This is just in a "template" state.
This is first version. It have a lot of bugs.

Examles

sudo ./archer -c

create ARCHER (specify with -R key) directory with

bash pacman filesystem sed gawk wget file tar make pkgconfig findutils gzip

and all dependencies. Archer used your /etc/pacman.conf to create pacman db, then just sync packages into chrooted system.

You can now do

chroot ARCHER

to use it for you own needs.

You can do

sudo ./archer -c -p ~/my.pacman.conf

Archer create a pacman db using this pacman.conf file. This mean that you can create i686 chroot in x86_64 system.

You can do

sudo ./archer -c -m -u

Archer mount (with bind) your pacman db and pacman cache into chrooted evniroment, then -S basic packages. You can save traffic/time.

And the major:

sudo ./archer -cb

Archer create chrooted enviroment, copy your PKGBUILD into ARCHER/home/pkg, chroot, and do makepkg -s. This will install all dependencies and build package.

Again - this is _very_ early version. It mosly unstable. Please test it.

Please do not test it unless you are clear understood what it do. you can have many problems with your db.

You can download it: http://zeus.hovel.ru/archer

Last edited by zeus (2007-07-02 18:23:18)

Offline

Board footer

Powered by FluxBB