mirror of
https://codeberg.org/privacy1st/arch
synced 2024-12-23 01:16:04 +01:00
fix systemd system-preset
This commit is contained in:
parent
f038126679
commit
f0354bc567
@ -61,7 +61,7 @@ Example: [pkg/de-p1st-gnupg/PKGBUILD](pkg/de-p1st-gnupg/PKGBUILD)
|
|||||||
* [man 5 systemd.preset](https://www.systutorials.com/docs/linux/man/5-systemd.preset/)
|
* [man 5 systemd.preset](https://www.systutorials.com/docs/linux/man/5-systemd.preset/)
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
install -Dm0644 systemd.preset "$pkgdir"/usr/lib/systemd/system-preset/"$pkgname".preset
|
install -Dm0644 systemd.preset "$pkgdir"/usr/lib/systemd/system-preset/20-"$pkgname".preset
|
||||||
```
|
```
|
||||||
|
|
||||||
Example package:
|
Example package:
|
||||||
|
@ -2,8 +2,8 @@
|
|||||||
_pkgname=dns
|
_pkgname=dns
|
||||||
_reponame=arch
|
_reponame=arch
|
||||||
pkgname="de-p1st-$_pkgname"
|
pkgname="de-p1st-$_pkgname"
|
||||||
pkgver=0.0.2
|
pkgver=0.0.3
|
||||||
pkgrel=4
|
pkgrel=1
|
||||||
pkgdesc="DNS configuration: Use DNS over TLS"
|
pkgdesc="DNS configuration: Use DNS over TLS"
|
||||||
arch=('any')
|
arch=('any')
|
||||||
url="https://codeberg.org/privacy1st/${_reponame}"
|
url="https://codeberg.org/privacy1st/${_reponame}"
|
||||||
@ -35,5 +35,5 @@ package() {
|
|||||||
|
|
||||||
install -Dm0644 DoT.conf "$pkgdir"/etc/systemd/resolved.conf.d/DoT.conf
|
install -Dm0644 DoT.conf "$pkgdir"/etc/systemd/resolved.conf.d/DoT.conf
|
||||||
install -Dm0644 dns.conf "$pkgdir"/etc/NetworkManager/conf.d/dns.conf
|
install -Dm0644 dns.conf "$pkgdir"/etc/NetworkManager/conf.d/dns.conf
|
||||||
install -Dm0644 systemd.preset "$pkgdir"/usr/lib/systemd/system-preset/"$pkgname".preset
|
install -Dm0644 systemd.preset "$pkgdir"/usr/lib/systemd/system-preset/20-"$pkgname".preset
|
||||||
}
|
}
|
||||||
|
@ -2,8 +2,8 @@
|
|||||||
_pkgname=networkmanager
|
_pkgname=networkmanager
|
||||||
_reponame=arch
|
_reponame=arch
|
||||||
pkgname="de-p1st-$_pkgname"
|
pkgname="de-p1st-$_pkgname"
|
||||||
pkgver=0.0.1
|
pkgver=0.0.2
|
||||||
pkgrel=2
|
pkgrel=1
|
||||||
pkgdesc="NetworkManager with configuration"
|
pkgdesc="NetworkManager with configuration"
|
||||||
arch=('any')
|
arch=('any')
|
||||||
url="https://codeberg.org/privacy1st/${_reponame}"
|
url="https://codeberg.org/privacy1st/${_reponame}"
|
||||||
@ -26,5 +26,5 @@ sha256sums=('SKIP')
|
|||||||
package() {
|
package() {
|
||||||
cd "${_reponame}/pkg/${pkgname}"
|
cd "${_reponame}/pkg/${pkgname}"
|
||||||
|
|
||||||
install -Dm0644 systemd.preset "$pkgdir"/usr/lib/systemd/system-preset/"$pkgname".preset
|
install -Dm0644 systemd.preset "$pkgdir"/usr/lib/systemd/system-preset/20-"$pkgname".preset
|
||||||
}
|
}
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
_pkgname=smartcard
|
_pkgname=smartcard
|
||||||
_reponame=arch
|
_reponame=arch
|
||||||
pkgname="de-p1st-$_pkgname"
|
pkgname="de-p1st-$_pkgname"
|
||||||
pkgver=0.0.1
|
pkgver=0.0.2
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="Configuration to use smartcards"
|
pkgdesc="Configuration to use smartcards"
|
||||||
arch=('any')
|
arch=('any')
|
||||||
@ -27,5 +27,5 @@ package() {
|
|||||||
cd "${_reponame}/pkg/${pkgname}"
|
cd "${_reponame}/pkg/${pkgname}"
|
||||||
|
|
||||||
install -Dm0544 opensc.conf.holoscript "$pkgdir"/usr/share/holo/files/"$pkgname"/etc/opensc.conf.holoscript
|
install -Dm0544 opensc.conf.holoscript "$pkgdir"/usr/share/holo/files/"$pkgname"/etc/opensc.conf.holoscript
|
||||||
install -Dm0644 systemd.preset "$pkgdir"/usr/lib/systemd/system-preset/"$pkgname".preset
|
install -Dm0644 systemd.preset "$pkgdir"/usr/lib/systemd/system-preset/20-"$pkgname".preset
|
||||||
}
|
}
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
_pkgname=systemd
|
_pkgname=systemd
|
||||||
_reponame=arch
|
_reponame=arch
|
||||||
pkgname="de-p1st-$_pkgname"
|
pkgname="de-p1st-$_pkgname"
|
||||||
pkgver=0.0.2
|
pkgver=0.0.3
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="systemd with configuration"
|
pkgdesc="systemd with configuration"
|
||||||
arch=('any')
|
arch=('any')
|
||||||
@ -27,5 +27,5 @@ package() {
|
|||||||
cd "${_reponame}/pkg/${pkgname}"
|
cd "${_reponame}/pkg/${pkgname}"
|
||||||
|
|
||||||
install -Dm0644 00-journal-size.conf "$pkgdir"/etc/systemd.conf.d/00-journal-size.conf
|
install -Dm0644 00-journal-size.conf "$pkgdir"/etc/systemd.conf.d/00-journal-size.conf
|
||||||
install -Dm0644 systemd.preset "$pkgdir"/usr/lib/systemd/system-preset/"$pkgname".preset
|
install -Dm0644 systemd.preset "$pkgdir"/usr/lib/systemd/system-preset/20-"$pkgname".preset
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user