From 65c8e0638b90d619ea8450f37af832af9b657fd1 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Tue, 28 Jan 2020 11:16:55 +0100 Subject: 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. --- config/offline.conf | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 config/offline.conf (limited to 'config') 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 -- cgit v1.2.3-70-g09d2