Autobuild is a distribution packaging toolkit meant to carry out the following functions:
Autobuild3 is essentially a set of scripts (autobuild
is the only command script useful for invoking a build process) that works to automatically carry out the function listed above, and to simplify build configuration (build scripts in another word) using various pre-designed build routines, named ABTYPE
or Autobuild Build Types. More will be discussed below (extensively).
Autobuild3 is a successor to the original Autobuild used back in 2013 when AOSC OS2 was initially rebooted as a independent Linux distribution. Unlike Autobuild being a distribution specific and single backend toolkit, Autobuild3 is distribution neutral and supports various backends:
dpkg-deb
and Autobuild variables to control the generation of DPKG control files, and henceforth building the packages.
ABHOST
and ABBUILD
are dpkg names, the PM dep model is based on dpkg representations, ...PKGBUILD
files, using a temporary install root, to provide makepkg
with a fake binary packaging process.sudo ./ab3.sh
./ab3.sh help
Documentations can be found here.
Autobuild3 contains some AOSC-specific code, especially some definitions about system paths. You may want to change it before you use it on your system.
GNU GPLv2+.