diff options
author | Tharre <tharre3@gmail.com> | 2023-04-14 22:28:31 +0200 |
---|---|---|
committer | Tharre <tharre3@gmail.com> | 2023-04-25 05:33:37 +0200 |
commit | 9627edf3b94813205c595cae401aaf9b1f62c831 (patch) | |
tree | 76e28d5c85e0b475e06607b4b113b02f14c296c4 | |
parent | c8bc91facbb7edcf4a773f9c22a4d948f5dc0e4f (diff) | |
download | pkgbuilds-9627edf3b94813205c595cae401aaf9b1f62c831.tar.gz pkgbuilds-9627edf3b94813205c595cae401aaf9b1f62c831.tar.xz pkgbuilds-9627edf3b94813205c595cae401aaf9b1f62c831.zip |
arch-system: inline short config files
-rw-r--r-- | arch-system/.SRCINFO | 6 | ||||
-rw-r--r-- | arch-system/PKGBUILD | 16 | ||||
-rw-r--r-- | arch-system/etc-locale.conf | 3 | ||||
-rw-r--r-- | arch-system/etc-sysctl.conf | 1 |
4 files changed, 11 insertions, 15 deletions
diff --git a/arch-system/.SRCINFO b/arch-system/.SRCINFO index 6a4af24..1daa4d8 100644 --- a/arch-system/.SRCINFO +++ b/arch-system/.SRCINFO @@ -1,17 +1,15 @@ pkgbase = arch-system pkgdesc = Arch Linux system configuration - pkgver = 2023.04.13 + pkgver = 2023.04.14 pkgrel = 1 arch = any license = custom source = etc-pacman.conf - source = etc-locale.conf source = etc-locale.gen source = etc-vconsole.conf source = mirrorupgrade.hook source = sudoers-wheel source = etc-nsswitch.conf - source = etc-sysctl.conf source = 90-modprobe-d.hook source = etc-yubikey.rules source = sudoers-borgbackup @@ -23,13 +21,11 @@ pkgbase = arch-system source = xps13-i915.conf source = xps13-pci_pm.rules sha256sums = 271d6a7ac30da0d2ba055067d4ebbab76812c1735e4c2b45c619e004edc1fbba - sha256sums = 70b74b741f3b1b58eeb97d8d5b9e6148a35ff8dced47cf4a231c1d0420aff5eb sha256sums = b11ab0ea3d5c300afa0fb877d1f367993425a3fda0382f50f0e122625154f566 sha256sums = 978271534da06356159eb24c0cee32b0024029d41df836ab76a964dfd7d36447 sha256sums = 79ba5fdf0c69686ea0f2770c9b49b58ca26ebcce15e346d5bd56a442e684896e sha256sums = 62c1a085f7a9d1c5d57b40516fea5d7e8dfb3593d5c0a713cd571c8e5bae2584 sha256sums = 9c1648e1e9219efbe1e4098952f7595f1ebb0eca629d2c8957079186c56d1822 - sha256sums = 67b6ebe8a8e52cd60266f418b7af77c2ef0b2b6596de494ec5c37824f355a3ae sha256sums = 7467bb40e7d404ed249b34a0e410b8d452ebc4b90588d7e210bfa47011b5981d sha256sums = dd84877b7f6f4330da489fa33f843c9a7c862562a3d78dc2feea5116ac846a79 sha256sums = 483a7d9350653c2cf22f36f67f1a83cc5c95232dfc10642a20d76e3c32c9e2e3 diff --git a/arch-system/PKGBUILD b/arch-system/PKGBUILD index 3b07eeb..9098788 100644 --- a/arch-system/PKGBUILD +++ b/arch-system/PKGBUILD @@ -8,22 +8,20 @@ pkgdesc="Arch Linux system configuration" arch=("any") url="" license=('custom') -source=('etc-pacman.conf' 'etc-locale.conf' 'etc-locale.gen' 'etc-vconsole.conf' +source=('etc-pacman.conf' 'etc-locale.gen' 'etc-vconsole.conf' 'mirrorupgrade.hook' 'sudoers-wheel' 'etc-nsswitch.conf' - 'etc-sysctl.conf' '90-modprobe-d.hook' 'etc-yubikey.rules' + '90-modprobe-d.hook' 'etc-yubikey.rules' 'sudoers-borgbackup' 'backup-sudo' 'borg-backup.service' 'borg-backup.timer' 'borgbackup' 'intel-undervolt.conf' 'xps13-i915.conf' 'xps13-pci_pm.rules') sha256sums=('271d6a7ac30da0d2ba055067d4ebbab76812c1735e4c2b45c619e004edc1fbba' - '70b74b741f3b1b58eeb97d8d5b9e6148a35ff8dced47cf4a231c1d0420aff5eb' 'b11ab0ea3d5c300afa0fb877d1f367993425a3fda0382f50f0e122625154f566' '978271534da06356159eb24c0cee32b0024029d41df836ab76a964dfd7d36447' '79ba5fdf0c69686ea0f2770c9b49b58ca26ebcce15e346d5bd56a442e684896e' '62c1a085f7a9d1c5d57b40516fea5d7e8dfb3593d5c0a713cd571c8e5bae2584' '9c1648e1e9219efbe1e4098952f7595f1ebb0eca629d2c8957079186c56d1822' - '67b6ebe8a8e52cd60266f418b7af77c2ef0b2b6596de494ec5c37824f355a3ae' '7467bb40e7d404ed249b34a0e410b8d452ebc4b90588d7e210bfa47011b5981d' 'dd84877b7f6f4330da489fa33f843c9a7c862562a3d78dc2feea5116ac846a79' '483a7d9350653c2cf22f36f67f1a83cc5c95232dfc10642a20d76e3c32c9e2e3' @@ -41,14 +39,20 @@ package_base-system() { install="$pkgname.install" install -Dm0644 etc-pacman.conf "$pkgdir"/etc/pacman.conf - install -Dm0644 etc-locale.conf "$pkgdir"/etc/locale.conf + install -Dm0644 /dev/stdin "$pkgdir"/etc/locale.conf <<EOF +LANG=en_GB.UTF-8 +LC_TIME=de_DE.UTF-8 +LC_COLLATE="C" +EOF install -Dm0644 etc-locale.gen "$pkgdir"/etc/locale.gen install -Dm0644 etc-vconsole.conf "$pkgdir"/etc/vconsole.conf install -Dm0644 mirrorupgrade.hook -t "$pkgdir"/usr/share/libalpm/hooks/ install -dm0750 "$pkgdir"/etc/sudoers.d/ install -Dm0644 sudoers-wheel "$pkgdir"/etc/sudoers.d/00_wheel install -Dm0644 etc-nsswitch.conf "$pkgdir"/etc/nsswitch.conf - install -Dm0644 etc-sysctl.conf "$pkgdir"/usr/lib/sysctl.d/99-sysctl.conf + install -Dm0644 /dev/stdin "$pkgdir"/usr/lib/sysctl.d/99-sysctl.conf <<EOF +kernel.sysrq = 1 +EOF install -Dm0644 90-modprobe-d.hook -t "$pkgdir"/usr/share/libalpm/hooks/ install -Dm0644 etc-yubikey.rules -t "$pkgdir"/usr/lib/udev/rules.d diff --git a/arch-system/etc-locale.conf b/arch-system/etc-locale.conf deleted file mode 100644 index cf0936a..0000000 --- a/arch-system/etc-locale.conf +++ /dev/null @@ -1,3 +0,0 @@ -LANG=en_GB.UTF-8 -LC_TIME=de_DE.UTF-8 -LC_COLLATE="C" diff --git a/arch-system/etc-sysctl.conf b/arch-system/etc-sysctl.conf deleted file mode 100644 index 3613892..0000000 --- a/arch-system/etc-sysctl.conf +++ /dev/null @@ -1 +0,0 @@ -kernel.sysrq = 1 |