diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2013-06-13 10:02:25 +0000 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2013-06-13 10:02:35 +0000 |
commit | 35eb88a903d1d265586a6a02d2ae0f145ec36717 (patch) | |
tree | b65faca06d5661ff787d3534ebe33ef9704e0b3d /testing | |
parent | f4b3c15760e735acf25006852e865d7238fa37ce (diff) | |
download | aports-35eb88a903d1d265586a6a02d2ae0f145ec36717.tar.bz2 aports-35eb88a903d1d265586a6a02d2ae0f145ec36717.tar.xz |
testing/opennebula: multiple fixes
Diffstat (limited to 'testing')
-rw-r--r-- | testing/opennebula/APKBUILD | 5 | ||||
-rw-r--r-- | testing/opennebula/opennebula-node-kvm.pre-install | 7 | ||||
-rw-r--r-- | testing/opennebula/opennebula.pre-install | 2 |
3 files changed, 11 insertions, 3 deletions
diff --git a/testing/opennebula/APKBUILD b/testing/opennebula/APKBUILD index 2baeaca0a8..c0bc46954f 100644 --- a/testing/opennebula/APKBUILD +++ b/testing/opennebula/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: pkgname=opennebula pkgver=4.0.1 -pkgrel=4 +pkgrel=5 pkgdesc="Virtual management infrastructure as a service (IaaS) toolkit for cloud computing" url="http://opennebula.org" arch="all" @@ -62,7 +62,8 @@ package() { node_kvm() { pkgdesc="Node dependecies for OpenNebula" arch="noarch" - depends="ruby openssh libvirt qemu-x86_64 libvirt-qemu" + install="opennebula-node-kvm.pre-install" + depends="ruby openssh qemu-x86_64 libvirt-qemu procps" mkdir -p "$subpkgdir" } diff --git a/testing/opennebula/opennebula-node-kvm.pre-install b/testing/opennebula/opennebula-node-kvm.pre-install new file mode 100644 index 0000000000..cca1f1f333 --- /dev/null +++ b/testing/opennebula/opennebula-node-kvm.pre-install @@ -0,0 +1,7 @@ +#!/bin/sh + +addgroup -S oneadmin 2>/dev/null +adduser -S -D -s /bin/ash \ + -H -h /var/lib/one -G oneadmin \ + -g "OpenNebula user" oneadmin 2>/dev/null +exit 0 diff --git a/testing/opennebula/opennebula.pre-install b/testing/opennebula/opennebula.pre-install index a6d2834b64..cca1f1f333 100644 --- a/testing/opennebula/opennebula.pre-install +++ b/testing/opennebula/opennebula.pre-install @@ -1,7 +1,7 @@ #!/bin/sh addgroup -S oneadmin 2>/dev/null -adduser -S -D -s /bin/bash \ +adduser -S -D -s /bin/ash \ -H -h /var/lib/one -G oneadmin \ -g "OpenNebula user" oneadmin 2>/dev/null exit 0 |