Skip to content
Yunyang Liu edited this page Apr 4, 2017 · 4 revisions

Introduction

ABBS, or AutoBuild Build Service is an upper structure of Autobuild3, intended to provide a way to maintain Autobuild configurations/manifests in a tree-like manner.

ABBS was first created in concern of future maintenance of AOSC OS and architectural ports. While the multi-architecture support eventually became a feature of Autobuild3, ABBS remain as a tool to aid packagers/distribution maintainers with maintaining a large amount of packages.

Getting ABBS

ABBS is still an early work of the community, no package is provided for AOSC OS, you will have to check out a snapshot from GitHub.

Here below is a standard deployment procedure.

cd /usr/lib
git clone https://github.com/AOSC-Dev/abbs

mkdir -p /etc/abbs
mkdir -p /var/lib/abbs/{build,tarballs}

cat > /etc/abbs/prefix << EOF
/usr/lib/abbs
EOF

ln -sv ../lib/abbs/abbs-build /usr/bin/abbs-build

ABBS is now installed at /usr/lib/abbs, recognized by abbs-build as the "$ABBS" directory. Currently, ABBS is only capable of managing a single repository, stored at "$ABBS"/repo.

Extra Notes on the "$ABBS" variable

The "$ABBS" variable can be set either with your .bashrc file (with a variable declaration), or with a configuration file at /etc/abbs/prefix, which contains the prefix path for ABBS (used by BuildKit). It is recommended that you declare it at your .bashrc, which could make your life way easier - with an example command below (replace /usr/lib/abbs with your true configuration scenario).

echo ABBS=/usr/lib/abbs >> ~/.bashrc
Clone this wiki locally