From a45f88d01ccf5cb44c805da793a3070d6629724c Mon Sep 17 00:00:00 2001 From: Chizi123 <joelgrun@gmail.com> Date: Sun, 14 Jul 2019 09:10:59 +0000 Subject: [PATCH] Added parallel compression and limited number of old packages --- README.org | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/README.org b/README.org old mode 100644 new mode 100755 index 2c789f1..2157bd3 --- a/README.org +++ b/README.org @@ -10,6 +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. +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 @@ -21,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. -- Gitblit v1.9.3