diff options
author | Devaev Maxim <[email protected]> | 2019-04-28 08:31:37 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2019-04-28 08:31:37 +0300 |
commit | 0bde12e24ddb3aad02e9d39c031bb66b04bfd997 (patch) | |
tree | dfb3639a6b0f32242047677d580916ece046f7ba /PKGBUILD | |
parent | 380b1d15e3c8fcb7cc324cebf209bfe38cbb4011 (diff) |
ipmi bmc proxy
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -32,6 +32,7 @@ depends=( python-systemd python-dbus python-pygments + python-pyghmi psmisc v4l-utils nginx-mainline @@ -78,7 +79,7 @@ package_kvmd() { find "$pkgdir" -name ".gitignore" -delete sed -i -e "s/^#PROD//g" "$_cfgdir/nginx/nginx.conf" find "$_cfgdir" -type f -exec chmod 444 '{}' \; - chmod 440 "$_cfgdir/kvmd/htpasswd" + chmod 440 "$_cfgdir/kvmd/*passwd" mkdir -p "$pkgdir/etc/kvmd/nginx/ssl" chmod 750 "$pkgdir/etc/kvmd/nginx/ssl" @@ -87,7 +88,7 @@ package_kvmd() { done rm "$pkgdir/etc/kvmd"/{auth.yaml,meta.yaml} cp "$_cfgdir/kvmd"/{auth.yaml,meta.yaml} "$pkgdir/etc/kvmd" - cp -a "$_cfgdir/kvmd/htpasswd" "$pkgdir/etc/kvmd" + cp -a "$_cfgdir/kvmd/*passwd" "$pkgdir/etc/kvmd" for path in "$_cfgdir/nginx"/*.conf; do ln -sf "/usr/share/kvmd/configs.default/nginx/`basename $path`" "$pkgdir/etc/kvmd/nginx" done |