Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan M. Taylor <dylan@dylanmtaylor.com>2021-04-06 14:53:01 -0400
committerGitHub <noreply@github.com>2021-04-06 14:53:01 -0400
commit5adc6e17850be70953a4b139154f5c47ea6e0721 (patch)
tree79f46d26e055955beec36f1250a3c6ac9e2087b2
parenta8da159f176b6867ccf147780c63ee7c7ba3045b (diff)
DOCS: How to test a commit from a live image
-rw-r--r--README.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/README.md b/README.md
index c60e714a..50cf66c4 100644
--- a/README.md
+++ b/README.md
@@ -73,6 +73,12 @@ When doing so, attach any `install-session_*.log` to the issue ticket which can
# Testing
+## Using a Live ISO Image
+
+If you are testing a commit from the repository using the vanilla Arch Live ISO image, you can replace the version of archinstall with a new version and run that. To do this, you will first need to establish a network connection and run `pacman -Sy; pacman -S git python-pip`. Once you have pip installed, run `pip uninstall archinstall`. Then, clone the repo using `git clone https://github.com/archlinux/archinstall`, and cd into the archinstall directory. Alternatively, you can checkout a different branch or fork of the project. Build the project and install it using `python setup.py build; python setup.py install`. Then, run archinstall with `python -m archinstall`.
+
+## 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: