Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorAnton Hvornum <anton@hvornum.se>2021-04-06 21:10:23 +0000
committerGitHub <noreply@github.com>2021-04-06 21:10:23 +0000
commite103f2bc02aa090141d844894e36af6ec2a9a77b (patch)
tree63b0cb3c342b5c9f17505b641d497293e47cb5a4 /README.md
parenta8da159f176b6867ccf147780c63ee7c7ba3045b (diff)
parent08b48a144b6140487639530097c4b0a3e64168b5 (diff)
Merge pull request #203 from dylanmtaylor/patch-10
DOCS: How to test a commit from a live image
Diffstat (limited to 'README.md')
-rw-r--r--README.md17
1 files changed, 17 insertions, 0 deletions
diff --git a/README.md b/README.md
index c60e714a..2f3881e1 100644
--- a/README.md
+++ b/README.md
@@ -73,6 +73,23 @@ When doing so, attach any `install-session_*.log` to the issue ticket which can
# Testing
+## Using a Live ISO Image
+
+If you want to test a commit, branch or bleeding edge release from the repository using the vanilla Arch Live ISO image, you can replace the version of archinstall with a new version and run that with the steps described below.
+
+ 1. You need a working network connection
+ 2. Install the build requirements with `pacman -Sy; pacman -S git python-pip`
+ *(note that this may or may not work depending on your RAM and current state of the squashfs maximum filesystem free space)*
+ 3. Uninstall the previous version of archinstall with `pip uninstall archinstall`
+ 4. Now clone the latest repository with `git clone https://github.com/archlinux/archinstall`
+ 5. Enter the repository with `cd archinstall`
+ *At this stage, you can choose to check out a feature branch for instance with `git checkout torxed-v2.2.0`*
+ 6. Build the project and install it using `python setup.py install`
+
+After this, running archinstall with `python -m archinstall` will run against whatever branch you chose in step 5.
+
+## Without a Live ISO Image
+
To test this without a live ISO, the simplest approach is to use a local image and create a loop device.<br>
This can be done by installing `pacman -S arch-install-scripts util-linux` locally and doing the following: