From 7d4b0d051c77c1fdbfec0389259b773588662cc0 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Thu, 20 Jun 2024 16:58:00 +0200 Subject: [PATCH] Add an explanation to the `archiso` scripts --- archiso/README.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/archiso/README.md b/archiso/README.md index 02b83f37..9ba8297f 100644 --- a/archiso/README.md +++ b/archiso/README.md @@ -28,5 +28,31 @@ sudo mkarchiso . This will generate a `.iso` file in a new folder called `out`. This `.iso` file can be used for installing Arch Linux. +### Updating +This project also contains scripts for updating the files in case Arch Linux's `releng` template (the `archiso` template used by this project) changed. +Said scripts are described briefly in the following chapters. + +#### Show Diff +Show the differences between this `archiso` configuration and the `releng` template by running the following command: + +```sh +./scripts/show-diff.sh +``` + +#### Update the Patch +To update the patch containing the differences between Arch Linux's `releng` template and this `archiso` configuration, run this command: + +```sh +./scripts/update-patch.sh +``` + +#### Update the Project +In case Arch Linux did major changes to the `releng` template, it might make sense to replicate these in this `archiso` configuration. +The following command will try to do so using the patch located at `./scripts/valhalla.patch`: + +```sh +./scripts/update.sh +``` + [Nix]: https://nixos.org