diff options
author | Devaev Maxim <[email protected]> | 2019-07-19 04:10:30 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2019-07-19 04:10:30 +0300 |
commit | efbedb222df3b213d8e3106ee211830602ce5720 (patch) | |
tree | b1e67cef60ac7b46e8c6507671dff31bb2045357 /PKGBUILD | |
parent | ad83678eb3f735806f87ad9a43c32bdd6ffb92aa (diff) |
using sysusers.d
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -65,6 +65,9 @@ package_kvmd() { mkdir -p "$pkgdir/usr/lib/systemd/system" cp configs/os/systemd/*.service "$pkgdir/usr/lib/systemd/system" + mkdir -p "$pkgdir/usr/lib/sysusers.d" + cp configs/os/sysusers.conf "$pkgdir/usr/lib/sysusers.d/kvmd.conf" + mkdir -p "$pkgdir/usr/lib/tmpfiles.d" cp configs/os/tmpfiles.conf "$pkgdir/usr/lib/tmpfiles.d/kvmd.conf" @@ -106,9 +109,9 @@ for _platform in $PIKVM_PLATFORM; do local _cfg_default=\"/usr/share/kvmd/configs.default\" - ln -sf \"\$_cfg_default/os/sysctl.conf\" \"\$pkgdir/etc/sysctl.d/99-pikvm.conf\" - ln -sf \"\$_cfg_default/os/udev/$_platform-$_board.rules\" \"\$pkgdir/etc/udev/rules.d/99-pikvm.rules\" - ln -sf \"\$_cfg_default/os/modules-load/$_platform.conf\" \"\$pkgdir/etc/modules-load.d/pikvm.conf\" + ln -sf \"\$_cfg_default/os/sysctl.conf\" \"\$pkgdir/etc/sysctl.d/99-kvmd.conf\" + ln -sf \"\$_cfg_default/os/udev/$_platform-$_board.rules\" \"\$pkgdir/etc/udev/rules.d/99-kvmd.rules\" + ln -sf \"\$_cfg_default/os/modules-load/$_platform.conf\" \"\$pkgdir/etc/modules-load.d/kvmd.conf\" ln -sf \"\$_cfg_default/kvmd/main/$_platform.yaml\" \"\$pkgdir/etc/kvmd/main.yaml\" if [ $_platform == v1-hdmi ]; then |