From 27c6e6c5c5a55fa1f82454a5ac8655ef320327f2 Mon Sep 17 00:00:00 2001 From: Shendisx Date: Mon, 27 Jan 2025 13:25:15 -0300 Subject: [PATCH] Improved step 2 of offline pacman updates by adding an example --- .../docs/configuration/post_install_setup.mdx | 24 ++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/src/content/docs/configuration/post_install_setup.mdx b/src/content/docs/configuration/post_install_setup.mdx index 6c00ba36..0c334d5f 100644 --- a/src/content/docs/configuration/post_install_setup.mdx +++ b/src/content/docs/configuration/post_install_setup.mdx @@ -65,7 +65,29 @@ The `/etc/pacman.d/offline.conf` file is crucial for managing which packages are 2. **Telling Pacman to read from the separate package ignore list.** - ```bash title='Add the following string at line 73 of the /etc/pacman.conf file' + ```bash title='Add the following line to the /etc/pacman.conf file' + Include = /etc/pacman.d/offline.conf + ``` + *Example* + ```bash + # REPOSITORIES + # - can be defined here or included from another file + # - pacman will search repositories in the order defined here + # - local/custom mirrors can be added here or in separate files + # - repositories listed first will take precedence when packages + # have identical names, regardless of version number + # - URLs will have $repo replaced by the name of the current repo + # - URLs will have $arch replaced by the name of the architecture + # + # Repository entries are of the format: + # [repo-name] + # Server = ServerName + # Include = IncludePath + # + # The header [repo-name] is crucial - it must be present and + # uncommented to enable the repo. + # + Include = /etc/pacman.d/offline.conf ``` 3. **Adding the CachyOS kernels in order to make pacman ignore them during regular updates**