diff --git a/opennebula-common/APKBUILD b/opennebula-common/APKBUILD index 095a826..c6fcdd4 100644 --- a/opennebula-common/APKBUILD +++ b/opennebula-common/APKBUILD @@ -5,7 +5,7 @@ pkgver=6.8.0 pkgrel=1 pkgdesc="Common OpenNebula package shared by various components (Community Edition)" url="https://opennebula.io/" -arch="x86_64" +arch="noarch" options="!check" license="Apache" diff --git a/opennebula-common/opennebula-common.post-install b/opennebula-common/opennebula-common.post-install index 4088b24..0b18dd4 100644 --- a/opennebula-common/opennebula-common.post-install +++ b/opennebula-common/opennebula-common.post-install @@ -44,12 +44,12 @@ if [ ! -e "${ONEHOME}/.ssh/config" ] && [ -z "$2" ]; then chown "$ONE_USER:$ONE_GROUP" "${ONEHOME}/.ssh/config" fi -# Fix permissions oneadmin:cloud (0640/0750) +# Fix permissions oneadmin:cloud for F in /var/lock/one \ /var/log/one \ - /var/run/one; + /var/run/one ; do - chown "${ONE_USER}:${ONE_GROUP}" "${F}" + chown ${ONE_USER}:${ONE_GROUP} ${F} done exit 0