summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--aur/rkt/.SRCINFO8
-rw-r--r--aur/rkt/PKGBUILD16
-rw-r--r--aur/rkt/rkt.install5
-rw-r--r--aur/rkt/rkt.sysusers1
4 files changed, 18 insertions, 12 deletions
diff --git a/aur/rkt/.SRCINFO b/aur/rkt/.SRCINFO
index 9ccb357..9d0d4b5 100644
--- a/aur/rkt/.SRCINFO
+++ b/aur/rkt/.SRCINFO
@@ -1,15 +1,14 @@
# Generated by mksrcinfo v8
-# Thu Feb 4 20:44:32 UTC 2016
+# Fri Feb 5 14:57:43 UTC 2016
pkgbase = rkt
pkgdesc = App container runtime
pkgver = 1.0.0
- pkgrel = 2
+ pkgrel = 3
url = https://github.com/coreos/rkt
install = rkt.install
arch = x86_64
license = apache
makedepends = cpio
- makedepends = automake
makedepends = go
makedepends = wget
makedepends = squashfs-tools
@@ -20,13 +19,14 @@ pkgbase = rkt
makedepends = libseccomp
depends = glibc
depends = openssl
- depends = trousers
depends = zlib
provides = rkt
conflicts = rocket
replaces = rocket
source = https://github.com/coreos/rkt/archive/v1.0.0.tar.gz
+ source = rkt.sysusers
sha256sums = 7e30b03fa51a34db095484c4b111c526e49bead4e33232e1b239090503d7ac97
+ sha256sums = 1ad8d343191be731289577d249a2467fbe5a69949117601e760b459f599d311f
pkgname = rkt
diff --git a/aur/rkt/PKGBUILD b/aur/rkt/PKGBUILD
index 5c068e4..7db1d3f 100644
--- a/aur/rkt/PKGBUILD
+++ b/aur/rkt/PKGBUILD
@@ -1,22 +1,25 @@
# Maintainer: Yuval Adam <yuval at y3xz dot com> PGP-Key: 271386AA2EB7672F
# Contributor: Kenny Rasschaert <kenny dot rasschaert at gmail dot com> PGP-Key: 1F70454121E41419
# Contributor: Adrián Pérez de Castro <adrian at perezdecastro dor org> PGP-Key: 91C559DBE4C9123B
+# Contributor: Carl George <arch at cgtx dot us> PGP-Key: 4BA2F7E101D9F512
pkgname=rkt
pkgver=1.0.0
-pkgrel=2
+pkgrel=3
pkgdesc="App container runtime"
arch=('x86_64')
url="https://github.com/coreos/rkt"
license=(apache)
-depends=('glibc' 'openssl' 'trousers' 'zlib')
-makedepends=('cpio' 'automake' 'go' 'wget' 'squashfs-tools' 'perl-capture-tiny' \
+depends=('glibc' 'openssl' 'zlib')
+makedepends=('cpio' 'go' 'wget' 'squashfs-tools' 'perl-capture-tiny' \
'intltool' 'gperf' 'git' 'libseccomp')
provides=('rkt')
replaces=('rocket')
conflicts=('rocket')
-source=("https://github.com/coreos/rkt/archive/v${pkgver}.tar.gz")
-sha256sums=('7e30b03fa51a34db095484c4b111c526e49bead4e33232e1b239090503d7ac97')
+source=("https://github.com/coreos/rkt/archive/v${pkgver}.tar.gz"
+ "rkt.sysusers")
+sha256sums=('7e30b03fa51a34db095484c4b111c526e49bead4e33232e1b239090503d7ac97'
+ '1ad8d343191be731289577d249a2467fbe5a69949117601e760b459f599d311f')
install="${pkgname}.install"
prepare() {
@@ -27,6 +30,7 @@ prepare() {
build() {
cd "${pkgname}-${pkgver}"
./configure --prefix=/usr \
+ --enable-tpm=auto \
--with-stage1-flavors=coreos \
--with-stage1-default-location=/usr/lib/rkt/stage1.aci
make -s
@@ -41,6 +45,8 @@ package() {
"${pkgdir}/usr/lib/systemd/system/${unit}"
done
+ install -Dm644 "dist/init/systemd/tmpfiles.d/rkt.conf" "${pkgdir}/usr/lib/tmpfiles.d/rkt.conf"
+ install -Dm644 "${srcdir}/rkt.sysusers" "${pkgdir}/usr/lib/sysusers.d/rkt.conf"
install -Dm644 "dist/bash_completion/rkt.bash" "${pkgdir}/usr/share/bash-completion/completions/rkt"
cd "build-${pkgname}-${pkgver}"
diff --git a/aur/rkt/rkt.install b/aur/rkt/rkt.install
index 2f696ac..bf50e96 100644
--- a/aur/rkt/rkt.install
+++ b/aur/rkt/rkt.install
@@ -1,7 +1,6 @@
post_install () {
- # Create users/groups
- getent group rkt >/dev/null || groupadd -r rkt
- rkt install &>/dev/null
+ # Create group
+ systemd-sysusers rkt.conf
}
post_upgrade () {
diff --git a/aur/rkt/rkt.sysusers b/aur/rkt/rkt.sysusers
new file mode 100644
index 0000000..670079c
--- /dev/null
+++ b/aur/rkt/rkt.sysusers
@@ -0,0 +1 @@
+g rkt - -