You are not logged in.
Pages: 1
I have been writing a script so we could have a build bot like slitaz project has. The idea is so we can have a build bot website that could be like this http://bb.slitaz.org/.
Archlinux build bot tool
Usage: absbb [command] pkg.list
Commands:
usage Print this short usage and command list.
extra-i686-build Build chroot extra i686.
extra-x86_64-build Build chroot extra x86_64.
testing-i686-build Build chroot testing i686.
testing-x86_64-build Build chroot testing x86_64.
staging-i686-build Build chroot staging i686.
staging-x86_64-build Build chroot staging x86_64.
multilib-build Build chroot multilib. (x86_64 only)
To get started you just have to do this in root:
abs
absbb extra-i686-build pkg.list
i recommend a pkg.list file like this (I used this list for my testing):
bash
zlib
linux-firmware
The pkg.list is a list of pkgbuilds you want to rebuild in chroot. There copied from /var/abs($ABSROOT) folder to /work/pkgbuild folder in chroot. I use xyne's makerepo for building the list of packages since it will allow users to have there own repo of packages.
I mount bind 4 folders into chroot /work folder.
$HOME/packages into $HOME/chroots/extra-i686/root/work/pkgdest
$HOME/repo into $HOME/chroots/extra-i686/root/work/repo
$HOME/logs into $HOME/chroots/extra-i686/root/work/logs
$HOME/sources into $HOME/chroots/extra-i686/root/work/srcdest
The repo folder will be purge on every time you called absbb. This is cause makerepo doesn't like it when packages and database are there. The packages are still save if you are not rebuild the same list over again. I added a -f to MKARGS variable in absbb.conf file so things go smoothly.
main testing branch:
http://github.com/godane/devtools-pkgbuild/tree/archbb
alpha1 release:
http://github.com/godane/devtools-pkgbu … sbb-alpha1
I hope this helps.
PS I very bad with document. I'm sorry if you have trouble understand me.
I'm working on a live cds based on Archlinux. http://godane.wordpress.com/
Offline
i think bauerbill can do just the same.
are dependencies which are necessary to build packages installed into the chroot or into my running system?
Offline
@arch0r
Depends are installed into chroot cause absbb runs mkarchroot and everything is build in $HOME/chroots/repo-arch/root.
I'm working on a live cds based on Archlinux. http://godane.wordpress.com/
Offline
@arch0r
Depends are installed into chroot cause absbb runs mkarchroot and everything is build in $HOME/chroots/repo-arch/root.
ok that's nice. so do i have to run it as root, or is it also possible to build packages as normal user?
Offline
It has to be run as root. This is mostly cause of it uses a lot mount commands. Also abs default root folder is /var/abs.
I'm working on a live cds based on Archlinux. http://godane.wordpress.com/
Offline
Pages: 1