summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2020-01-28 11:16:55 +0100
committerGravatar Christian Hesse <mail@eworm.de>2020-01-28 11:33:01 +0100
commit65c8e0638b90d619ea8450f37af832af9b657fd1 (patch)
tree5e55944034fa0aca3d89fab12076820a09e616e4 /config
parent54bed85724efa95898610fed877d2eedbe7c23c7 (diff)
downloadpacman-offline-65c8e0638b90d619ea8450f37af832af9b657fd1.tar.gz
pacman-offline-65c8e0638b90d619ea8450f37af832af9b657fd1.tar.zst
act on specific packages on offline action only
This adds a configuration file /etc/pacman.d/offline.conf that can be included to global pacman configuration file /etc/pacman.conf. By default it contains configuration to ignore linux packages. On offline action this include is removed, allowing to update linux packages on offline action only. This prevents from breaking module loading in a running system.
Diffstat (limited to 'config')
-rw-r--r--config/offline.conf6
1 files changed, 6 insertions, 0 deletions
diff --git a/config/offline.conf b/config/offline.conf
new file mode 100644
index 0000000..56f8b76
--- /dev/null
+++ b/config/offline.conf
@@ -0,0 +1,6 @@
+# Ingore linux packages and prevent breaking module loading. The include of
+# this configuration file is removed on offline action.
+IgnorePkg = linux linux-headers linux-docs
+IgnorePkg = linux-lts linux-lts-headers linux-lts-docs
+IgnorePkg = linux-zen linux-zen-headers linux-zen-docs
+IgnorePkg = linux-hardened linux-hardened-headers linux-hardened-docs