aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2023-07-26 23:36:24 +0200
committerGravatar Christian Hesse <mail@eworm.de>2023-07-26 23:57:18 +0200
commit69441360a49c42faeb01629e50d7357854f028d2 (patch)
tree95805b9c9b85d850b91bc4aab278efdf820fa97a /README.md
parentf03503b19950fa3574b43385c465c837e087682c (diff)
downloadpacman-offline-69441360a49c42faeb01629e50d7357854f028d2.tar.gz
pacman-offline-69441360a49c42faeb01629e50d7357854f028d2.tar.zst
README: add documentation
Fixes GH-3
Diffstat (limited to 'README.md')
-rw-r--r--README.md55
1 files changed, 54 insertions, 1 deletions
diff --git a/README.md b/README.md
index f4440aa..28d565b 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,57 @@
pacman-offline
==============
-Run offline system update with pacman.
+**Run offline system update with pacman.**
+
+The offline system update with pacman is achieved by integrating into
+[offline updates in systemd](https://www.freedesktop.org/software/systemd/man/systemd.offline-updates.html#/etc/system-update).
+In fact only two scripts and a number of systemd unit files are used to
+glue `systemd` and `pacman`.
+
+Requirements
+------------
+
+There are the runtime dependencies:
+
+* [pacman](https://archlinux.org/pacman/)
+* [systemd](https://www.github.com/systemd/systemd)
+
+Optional basic support for
+[plymouth](https://www.freedesktop.org/wiki/Software/Plymouth/) is
+integrated.
+
+Usage
+-----
+
+A single command `pacman-offline` is used to prepare the offline update.
+It accepts some arguments:
+
+* *-c*: clean before download
+* *-f*: force if other system-update is pending
+* *-h*: show help
+* *-r*: reboot and install immediately
+* *-t*: start timer for nightly reboot
+* *-y*: update sync databases
+
+Configuration
+-------------
+
+A sinppet for inclusion in `/etc/pacman.conf` is shipped. To make use of
+it add this line:
+
+ Include = /etc/pacman.d/offline.conf
+
+It will cause `pacman` to ignore linux packages and prevent breaking module
+loading. These packages are not ignored on offline update.
+
+Modify `/etc/pacman.d/offline.conf` to your needs by changing or adding
+packages.
+
+### Upstream
+
+URL:
+[GitHub.com](https://github.com/eworm-de/pacman-offline#pacman-offline)
+
+Mirror:
+[eworm.de](https://git.eworm.de/cgit.cgi/pacman-offline/)
+[GitLab.com](https://gitlab.com/eworm-de/pacman-offline#pacman-offline)