mirror of https://github.com/Chizi123/Arch-autobuild-repo.git

Chizi123
2019-07-14 a45f88d01ccf5cb44c805da793a3070d6629724c
README.org
old mode 100644 new mode 100755
@@ -10,8 +10,8 @@
Be sure to sign in to git in the chroot and set ~git config --global credential.helper store~, with an appropriate remote repository.
You may also want to set ~MAKEFLAGS="-j$(nproc)"~ within the chroot to enable parallel compilation.
It is also needed to mount execute ~mount --bind chroot chroot~, to set the root directory within the chroot.
For xz compression, add the ~--threads=0~ option to COMPRESSXZ such that it reads ~COMPRESSXZ=(xz -c -z - --threads=0)~.
ccache may be useful to decrease the times of git packages, due to the little changes.
Script coming soon.
* Usage
@@ -23,7 +23,7 @@
The packages are built and put into the directory ~/build/repo/x86_64~, then pushed with git.
Only the latest packages are stored in ~/build/repo/x86_64~ to avoid multiple older versions building up.
To enable automatic building, create a cronjob for root, something of the sort of ~* 12 * * * /path/to/dir/build_packages.sh~ to build ever day at noon.
To enable automatic building, create a cronjob for root, something of the sort of ~0 12 * * * /path/to/dir/build_packages.sh~ to build ever day at noon.
* To Dos
- Add a script to create the chroot folder.
- Error catching for builds which fail.