From 7ece7afc59b5b155e45879e543f8aa38a3add921 Mon Sep 17 00:00:00 2001
From: Chizi123 <joelgrun@gmail.com>
Date: Mon, 10 Jun 2019 13:32:04 +0000
Subject: [PATCH] Added self mount

---
 README.org |   15 +++++++++++++--
 1 files changed, 13 insertions(+), 2 deletions(-)

diff --git a/README.org b/README.org
index d7f5f6e..9234c35 100644
--- a/README.org
+++ b/README.org
@@ -6,13 +6,24 @@
 * Set-up
 Create a chroot environment named "chroot" in the current directory.
 Copy the ~build.sh~ script to ~/build/repo~ within the chroot.
+While there, run ~pacman -S base-devel~
+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.
+
 Script coming soon.
 * Usage
 All scripts must be run as root.
 To enter the chroot, use the ~enter_chroot.sh~ script.
 To add a package from the AUR, use the ~add_package.sh~ script, with the git URL as the argument.
 To build the packages use the ~build_packages.sh~ script, which will enter the chroot, and build the packages from the PKGBUILDs stored in ~/build/repo~.
+
 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.
-Since git is used, be sure to sign in to git in the chroot and set ~git config --global credential.helper store~, with an appropriate remote repository.
-To enable automatic building, create a cronjob for root, something of the sort of ~* 12 * * * /path/to/dir/build_packages.sh~.
+
+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 Dos
+- Add a script to create the chroot folder.
+- Error catching for builds which fail.

--
Gitblit v1.9.3