Add makepkg config to ommit debug files
This commit is contained in:
parent
84442a3fa6
commit
acb25ecb5b
2 changed files with 30 additions and 1 deletions
|
@ -156,6 +156,8 @@ In order to automatically retrieve, build and install the many packages from an
|
|||
(AUR) I use to install an AUR helper that preserves the pacman syntax and is a
|
||||
[wrapper](https://wiki.archlinux.org/title/AUR_helpers#Pacman_wrappers) for it.
|
||||
|
||||
### AUR helper
|
||||
|
||||
First, I install [yay](https://aur.archlinux.org/packages/yay/) by using the
|
||||
[manual installation approach](https://wiki.archlinux.org/title/Arch_User_Repository#Installing_and_upgrading_packages):
|
||||
|
||||
|
@ -179,6 +181,22 @@ Now it's time for upgrading packages using yay as a pacman wrapper:
|
|||
yay -Syu
|
||||
```
|
||||
|
||||
### Ommit debug files
|
||||
|
||||
To avoid the installation of any `-debug` packages identified as missing by a
|
||||
[package update notifier](../maintenance-peripherals/#package-update-notifier),
|
||||
you may need to adapt options in the `GLOBAL PACKAGE OPTIONS` section of
|
||||
`/etc/makepkg.conf`. Though the default should to contain `!debug` my line is:
|
||||
|
||||
```{filename="/etc/makepkg.conf"}
|
||||
OPTIONS=(strip docs !libtool !staticlibs emptydirs zipman purge debug lto)
|
||||
```
|
||||
|
||||
For this reason, I change it to:
|
||||
```{filename="/etc/makepkg.conf"}
|
||||
OPTIONS=(strip docs !libtool !staticlibs emptydirs zipman purge !debug lto)
|
||||
```
|
||||
|
||||
## Console improvements
|
||||
|
||||
To ease work on the terminal I configure some [console improvements](https://wiki.archlinux.org/title/General_recommendations#Console_improvements)
|
||||
|
|
|
@ -156,7 +156,11 @@ sudo pacman -Qqe > /etc/pkglist.txt
|
|||
### Automation
|
||||
|
||||
You may want to automate some of the aforementioned tasks to happen on a regular
|
||||
basis. The [cronie](https://archlinux.org/packages/?name=cronie) package is a
|
||||
basis.
|
||||
|
||||
#### Job scheduler
|
||||
|
||||
The [cronie](https://archlinux.org/packages/?name=cronie) package is a
|
||||
[cron](https://wiki.archlinux.org/title/Cron) functionality provider on a
|
||||
per-user crontab file and can be installed using:
|
||||
|
||||
|
@ -169,6 +173,8 @@ sudo pacman -Sy cronie
|
|||
configurations or other important system-related files!
|
||||
{{< /callout >}}
|
||||
|
||||
#### Package update notifier
|
||||
|
||||
I use [Kalu](https://github.com/Thulinma/kalu) as a notifier for package updates
|
||||
available in the official repositories and the AUR. It can be installed with:
|
||||
|
||||
|
@ -180,6 +186,11 @@ I execute `kalu &` to start the notifier. Though I still need to manually run
|
|||
the upgrade process, Kalu can regularly check new packages and offers a 1-click
|
||||
system upgrade.
|
||||
|
||||
{{< callout type="info" >}}
|
||||
If you are using an AUR helper and Kalu complains about missing `-debug`
|
||||
packages, [ommit debug files](../basic-configuration/#ommit-debug-files).
|
||||
{{< /callout >}}
|
||||
|
||||
## Peripherals
|
||||
|
||||
### Bluetooth
|
||||
|
|
Loading…
Reference in a new issue