Added tl-quiet-printk to restrict messages printed to the console

This commit is contained in:
David Thurstenson 2024-03-09 17:01:22 -06:00
parent 6741413e36
commit a63c2199da
2 changed files with 13 additions and 3 deletions

View File

@ -1,7 +1,7 @@
# Maintainer: David Thurstenson <thurstylark@gmail.com>
pkgbase=tl-archconfig
pkgname=("tl-dmesg-unrestrict" "tl-pacdiff-hook" "tl-reflector-config" "tl-steamdummy")
pkgver=3
pkgname=("tl-dmesg-unrestrict" "tl-pacdiff-hook" "tl-reflector-config" "tl-steamdummy" "tl-quiet-printk")
pkgver=4
pkgrel=1
pkgdesc="Thurstylark's system-level tweaks for Arch Linux"
arch=(any)
@ -12,11 +12,13 @@ source=("tl-dmesg-unrestrict.conf"
"tl-pacdiff.hook"
"tl-reflector.service.override.conf"
"tl-reflector.conf"
"tl-quiet-printk.conf"
)
sha256sums=('0ccede1887575ae52e57824dd53cd9f65cf13b249a3757097e9c06dc16ac535e'
'ffcc1090642178dae38c51618a2c8d9ba75ae3f9ae2994287b5ba44d6f33574a'
'7801aaf6d28d0bf5f7b8c0e35e04af7201f3178b3b4af07a48a36ab4d1e8d7f1'
'ffe8c4f0928ffd70d05b3ca04d87f8181aa21214cc62fb4dd71a3753c2a788d0')
'ffe8c4f0928ffd70d05b3ca04d87f8181aa21214cc62fb4dd71a3753c2a788d0'
'9c8ae14faa534119a258625144bd984c0d653929200dc367e3366d015ff4d6be')
package_tl-dmesg-unrestrict() {
pkgdesc="Set kernel.dmesg)unrestrict=0"
@ -50,3 +52,10 @@ package_tl-steamdummy() {
pkgdesc="Dummy package to satisfy a req for steam"
provides=(steam)
}
package_tl-quiet-printk() {
pkgdesc="Configure printk to hide non-critical errors from the console"
install -Dm644 tl-quiet-printk.conf \
${pkgdir}/usr/lib/sysctl.d/20-tl-quiet-printk.conf
}

1
tl-quiet-printk.conf Normal file
View File

@ -0,0 +1 @@
kernel.printk = 3 3 3 3