parent
1d62ed4143
commit
2cd057a99f
@ -0,0 +1,20 @@
|
||||
# Maintainer Harvard University FAS Research Computing <rchelp.fas.harvard.edu>
|
||||
|
||||
pkgname=one-context
|
||||
pkgver=4.14.1
|
||||
pkgrel=1
|
||||
pkgdesc='OpenNebula Contextualisation'
|
||||
arch=('any')
|
||||
url='https://github.com/OpenNebula/addon-context-linux/releases'
|
||||
license=('Apache')
|
||||
depends=()
|
||||
source=("https://github.com/fasrc/addon-context-linux/archive/v4.14.1.3.tar.gz")
|
||||
install=one-context.install
|
||||
|
||||
package() {
|
||||
cp -rT ${srcdir}/addon-context-linux-4.14.1.3/base_arch ${pkgdir}
|
||||
cp -rT ${srcdir}/addon-context-linux-4.14.1.3/base ${pkgdir}
|
||||
cp -rT ${pkgdir}/usr/sbin ${pkgdir}/usr/bin
|
||||
rm -rf ${pkgdir}/usr/sbin
|
||||
}
|
||||
md5sums=('2c0633841563a0008e224014a7c01478')
|
@ -0,0 +1,5 @@
|
||||
post_install(){
|
||||
systemctl enable one-context
|
||||
|
||||
rm -f /etc/systemd/network/*
|
||||
}
|
Loading…
Reference in new issue