[arch-commits] Commit in rkt/repos/community-x86_64 (8 files)
Massimiliano Torromeo
mtorromeo at archlinux.org
Fri Oct 28 13:51:16 UTC 2016
Date: Friday, October 28, 2016 @ 13:51:15
Author: mtorromeo
Revision: 193911
archrelease: copy trunk to community-x86_64
Added:
rkt/repos/community-x86_64/PKGBUILD
(from rev 193910, rkt/trunk/PKGBUILD)
rkt/repos/community-x86_64/rkt-1.15.0-stage1-host-reorder-systemd-nspawn-args.patch
(from rev 193910, rkt/trunk/rkt-1.15.0-stage1-host-reorder-systemd-nspawn-args.patch)
rkt/repos/community-x86_64/rkt.install
(from rev 193910, rkt/trunk/rkt.install)
rkt/repos/community-x86_64/rkt.sysusers
(from rev 193910, rkt/trunk/rkt.sysusers)
Deleted:
rkt/repos/community-x86_64/PKGBUILD
rkt/repos/community-x86_64/rkt-1.15.0-stage1-host-reorder-systemd-nspawn-args.patch
rkt/repos/community-x86_64/rkt.install
rkt/repos/community-x86_64/rkt.sysusers
----------------------------------------------------------+
PKGBUILD | 196 ++++++-------
rkt-1.15.0-stage1-host-reorder-systemd-nspawn-args.patch | 70 ++--
rkt.install | 20 -
rkt.sysusers | 4
4 files changed, 145 insertions(+), 145 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2016-10-28 13:50:46 UTC (rev 193910)
+++ PKGBUILD 2016-10-28 13:51:15 UTC (rev 193911)
@@ -1,98 +0,0 @@
-# $Id$
-# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
-
-# Contributor: 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.17.0
-pkgrel=1
-pkgdesc="App container runtime"
-arch=('x86_64')
-url="https://github.com/coreos/rkt"
-license=(apache)
-depends=('glibc' 'openssl' 'zlib' 'systemd')
-makedepends=('cpio' 'go' 'wget' 'squashfs-tools' 'perl-capture-tiny'
- 'intltool' 'gperf' 'git' 'libseccomp' 'bc')
-
-# stage1/usr_from_coreos/coreos-common.mk
-CCN_IMG_RELEASE=1151.0.0
-CCN_SYSTEMD_VERSION=v231
-
-# stage1/usr_from_kvm/kernel.mk
-KERNEL_VERSION=4.3.1
-
-source=(https://github.com/coreos/rkt/archive/v$pkgver/$pkgname-$pkgver.tar.gz
- coreos_production_pxe_image-$CCN_IMG_RELEASE.cpio.gz::http://alpha.release.core-os.net/amd64-usr/$CCN_IMG_RELEASE/coreos_production_pxe_image.cpio.gz
- coreos_production_pxe_image-$CCN_IMG_RELEASE.cpio.gz.sig::http://alpha.release.core-os.net/amd64-usr/$CCN_IMG_RELEASE/coreos_production_pxe_image.cpio.gz.sig
- https://www.kernel.org/pub/linux/kernel/v4.x/linux-$KERNEL_VERSION.tar.xz
- rkt.sysusers)
-noextract=(coreos_production_pxe_image.cpio.gz
- linux-$KERNEL_VERSION.tar.xz)
-validpgpkeys=('04127D0BFABEC8871FFB2CCE50E0885593D2DCB4' '48F9B96A2E16137F')
-sha256sums=('9cebd53d14f37fdfae6f2cb4114d472399773d14f2b8cbff6ea60dcb11a57604'
- '6f08697bea372af916a150f9846110e8855305653e5582b2c2ea04f14253e5c8'
- 'SKIP'
- '11faaff6e7546038b868f524cdf42a5a1b67be9fdfd37d931723a8deb1811b72'
- '2aee4e8547843f4e6c032761b97cb723c1ecd384d508b86f44d16826bc34d6d6')
-install="rkt.install"
-
-prepare() {
- cd $pkgname-$pkgver
- mkdir -p build-rkt-$pkgver/tmp/usr_from_kvm/kernel/
- cd build-rkt-$pkgver/tmp/usr_from_kvm/kernel/
- ln -s "$srcdir"/linux-$KERNEL_VERSION.tar.xz
-}
-
-build() {
- cd $pkgname-$pkgver
- export GOPATH="$PWD/Godeps/_workspace/src"
-
- ./autogen.sh
- ./configure \
- --prefix=/usr \
- --sbindir=/usr/bin \
- --localstatedir=/var \
- --enable-tpm=auto \
- --with-stage1-flavors=coreos,kvm,host,fly \
- --with-stage1-default-flavor=host \
- --with-stage1-default-images-directory=/usr/lib/rkt/stage1-images \
- --with-stage1-default-location=/usr/lib/rkt/stage1-images/stage1-host.aci \
- --with-coreos-local-pxe-image-path="$srcdir"/coreos_production_pxe_image-$CCN_IMG_RELEASE.cpio.gz \
- --with-coreos-local-pxe-image-systemd-version=$CCN_SYSTEMD_VERSION
-
- make manpages
- make bash-completion
- make
-}
-
-package() {
- cd $pkgname-$pkgver/dist/init/systemd
-
- for unit in *.service *.timer *.socket; do
- install -Dm644 $unit "$pkgdir"/usr/lib/systemd/system/$unit
- done
-
- for tmpfile in tmpfiles.d/*.conf; do
- install -Dm644 $tmpfile "$pkgdir"/usr/lib/$tmpfile
- done
-
- cd "$srcdir"/$pkgname-$pkgver
- 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 dist/manpages
- for f in *; do
- install -Dm644 "$f" "$pkgdir/usr/share/man/man1/$f"
- done
- cd ../..
-
- cd build-$pkgname-$pkgver
- install -dm755 "$pkgdir"/usr/bin "$pkgdir"/usr/lib/rkt/stage1-images
- mv target/bin/rkt tools/actool "$pkgdir"/usr/bin
- mv target/bin/stage1-*.aci "$pkgdir"/usr/lib/rkt/stage1-images/
-}
-
-# vim:set ts=2 sw=2 et:
Copied: rkt/repos/community-x86_64/PKGBUILD (from rev 193910, rkt/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2016-10-28 13:51:15 UTC (rev 193911)
@@ -0,0 +1,98 @@
+# $Id$
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+
+# Contributor: 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.18.0
+pkgrel=1
+pkgdesc="App container runtime"
+arch=('x86_64')
+url="https://github.com/coreos/rkt"
+license=(apache)
+depends=('glibc' 'openssl' 'zlib' 'systemd')
+makedepends=('cpio' 'go' 'wget' 'squashfs-tools' 'perl-capture-tiny'
+ 'intltool' 'gperf' 'git' 'libseccomp' 'bc')
+
+# stage1/usr_from_coreos/coreos-common.mk
+CCN_IMG_RELEASE=1192.0.0
+CCN_SYSTEMD_VERSION=v231
+
+# stage1/usr_from_kvm/kernel.mk
+KERNEL_VERSION=4.3.1
+
+source=(https://github.com/coreos/rkt/archive/v$pkgver/$pkgname-$pkgver.tar.gz
+ coreos_production_pxe_image-$CCN_IMG_RELEASE.cpio.gz::http://alpha.release.core-os.net/amd64-usr/$CCN_IMG_RELEASE/coreos_production_pxe_image.cpio.gz
+ coreos_production_pxe_image-$CCN_IMG_RELEASE.cpio.gz.sig::http://alpha.release.core-os.net/amd64-usr/$CCN_IMG_RELEASE/coreos_production_pxe_image.cpio.gz.sig
+ https://www.kernel.org/pub/linux/kernel/v4.x/linux-$KERNEL_VERSION.tar.xz
+ rkt.sysusers)
+noextract=(coreos_production_pxe_image.cpio.gz
+ linux-$KERNEL_VERSION.tar.xz)
+validpgpkeys=('04127D0BFABEC8871FFB2CCE50E0885593D2DCB4' '48F9B96A2E16137F')
+sha256sums=('3897afeb743f77509cf7bfb484800e5b75eadb15f42bc0258e2e5b5598ae8290'
+ 'a6233ff4b91457181c3f9eed942af9df66161f5ae84256fbe2d08b5d184c35be'
+ 'SKIP'
+ '11faaff6e7546038b868f524cdf42a5a1b67be9fdfd37d931723a8deb1811b72'
+ '2aee4e8547843f4e6c032761b97cb723c1ecd384d508b86f44d16826bc34d6d6')
+install="rkt.install"
+
+prepare() {
+ cd $pkgname-$pkgver
+ mkdir -p build-rkt-$pkgver/tmp/usr_from_kvm/kernel/
+ cd build-rkt-$pkgver/tmp/usr_from_kvm/kernel/
+ ln -s "$srcdir"/linux-$KERNEL_VERSION.tar.xz
+}
+
+build() {
+ cd $pkgname-$pkgver
+ export GOPATH="$PWD/Godeps/_workspace/src"
+
+ ./autogen.sh
+ ./configure \
+ --prefix=/usr \
+ --sbindir=/usr/bin \
+ --localstatedir=/var \
+ --enable-tpm=auto \
+ --with-stage1-flavors=coreos,kvm,host,fly \
+ --with-stage1-default-flavor=host \
+ --with-stage1-default-images-directory=/usr/lib/rkt/stage1-images \
+ --with-stage1-default-location=/usr/lib/rkt/stage1-images/stage1-host.aci \
+ --with-coreos-local-pxe-image-path="$srcdir"/coreos_production_pxe_image-$CCN_IMG_RELEASE.cpio.gz \
+ --with-coreos-local-pxe-image-systemd-version=$CCN_SYSTEMD_VERSION
+
+ make manpages
+ make bash-completion
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver/dist/init/systemd
+
+ for unit in *.service *.timer *.socket; do
+ install -Dm644 $unit "$pkgdir"/usr/lib/systemd/system/$unit
+ done
+
+ for tmpfile in tmpfiles.d/*.conf; do
+ install -Dm644 $tmpfile "$pkgdir"/usr/lib/$tmpfile
+ done
+
+ cd "$srcdir"/$pkgname-$pkgver
+ 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 dist/manpages
+ for f in *; do
+ install -Dm644 "$f" "$pkgdir/usr/share/man/man1/$f"
+ done
+ cd ../..
+
+ cd build-$pkgname-$pkgver
+ install -dm755 "$pkgdir"/usr/bin "$pkgdir"/usr/lib/rkt/stage1-images
+ mv target/bin/rkt tools/actool "$pkgdir"/usr/bin
+ mv target/bin/stage1-*.aci "$pkgdir"/usr/lib/rkt/stage1-images/
+}
+
+# vim:set ts=2 sw=2 et:
Deleted: rkt-1.15.0-stage1-host-reorder-systemd-nspawn-args.patch
===================================================================
--- rkt-1.15.0-stage1-host-reorder-systemd-nspawn-args.patch 2016-10-28 13:50:46 UTC (rev 193910)
+++ rkt-1.15.0-stage1-host-reorder-systemd-nspawn-args.patch 2016-10-28 13:51:15 UTC (rev 193911)
@@ -1,35 +0,0 @@
-From 01e2e37dcb9d4c000991fa8be5708e6dab877e0e Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Lukas=20F=C3=BCrmetz?= <fuermetz at mailbox.org>
-Date: Sat, 17 Sep 2016 11:38:35 +0200
-Subject: [PATCH] stage1/host: reorder systemd-nspawn args
-
-This fixes #3215.
----
- stage1/init/init.go | 7 ++++---
- 1 file changed, 4 insertions(+), 3 deletions(-)
-
-diff --git a/stage1/init/init.go b/stage1/init/init.go
-index 62b6103..56255fc 100644
---- a/stage1/init/init.go
-+++ b/stage1/init/init.go
-@@ -392,9 +392,6 @@ func getArgsEnv(p *stage1commontypes.Pod, flavor string, canMachinedRegister boo
- if n != 1 || version < 220 {
- return nil, nil, fmt.Errorf("rkt needs systemd-nspawn >= 220. %s version not supported: %v", hostNspawnBin, versionStr)
- }
-- if version >= 231 {
-- args = append(args, "--notify-ready=yes") // From systemd v231
-- }
-
- // Copy systemd, bash, etc. in stage1 at run-time
- if err := installAssets(); err != nil {
-@@ -405,6 +402,10 @@ func getArgsEnv(p *stage1commontypes.Pod, flavor string, canMachinedRegister boo
- args = append(args, "--boot") // Launch systemd in the pod
- args = append(args, fmt.Sprintf("--register=true"))
-
-+ if version >= 231 {
-+ args = append(args, "--notify-ready=yes") // From systemd v231
-+ }
-+
- if context := os.Getenv(common.EnvSELinuxContext); context != "" {
- args = append(args, fmt.Sprintf("-Z%s", context))
- }
Copied: rkt/repos/community-x86_64/rkt-1.15.0-stage1-host-reorder-systemd-nspawn-args.patch (from rev 193910, rkt/trunk/rkt-1.15.0-stage1-host-reorder-systemd-nspawn-args.patch)
===================================================================
--- rkt-1.15.0-stage1-host-reorder-systemd-nspawn-args.patch (rev 0)
+++ rkt-1.15.0-stage1-host-reorder-systemd-nspawn-args.patch 2016-10-28 13:51:15 UTC (rev 193911)
@@ -0,0 +1,35 @@
+From 01e2e37dcb9d4c000991fa8be5708e6dab877e0e Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Lukas=20F=C3=BCrmetz?= <fuermetz at mailbox.org>
+Date: Sat, 17 Sep 2016 11:38:35 +0200
+Subject: [PATCH] stage1/host: reorder systemd-nspawn args
+
+This fixes #3215.
+---
+ stage1/init/init.go | 7 ++++---
+ 1 file changed, 4 insertions(+), 3 deletions(-)
+
+diff --git a/stage1/init/init.go b/stage1/init/init.go
+index 62b6103..56255fc 100644
+--- a/stage1/init/init.go
++++ b/stage1/init/init.go
+@@ -392,9 +392,6 @@ func getArgsEnv(p *stage1commontypes.Pod, flavor string, canMachinedRegister boo
+ if n != 1 || version < 220 {
+ return nil, nil, fmt.Errorf("rkt needs systemd-nspawn >= 220. %s version not supported: %v", hostNspawnBin, versionStr)
+ }
+- if version >= 231 {
+- args = append(args, "--notify-ready=yes") // From systemd v231
+- }
+
+ // Copy systemd, bash, etc. in stage1 at run-time
+ if err := installAssets(); err != nil {
+@@ -405,6 +402,10 @@ func getArgsEnv(p *stage1commontypes.Pod, flavor string, canMachinedRegister boo
+ args = append(args, "--boot") // Launch systemd in the pod
+ args = append(args, fmt.Sprintf("--register=true"))
+
++ if version >= 231 {
++ args = append(args, "--notify-ready=yes") // From systemd v231
++ }
++
+ if context := os.Getenv(common.EnvSELinuxContext); context != "" {
+ args = append(args, fmt.Sprintf("-Z%s", context))
+ }
Deleted: rkt.install
===================================================================
--- rkt.install 2016-10-28 13:50:46 UTC (rev 193910)
+++ rkt.install 2016-10-28 13:51:15 UTC (rev 193911)
@@ -1,10 +0,0 @@
-post_install() {
- systemd-sysusers rkt.conf
- systemd-tmpfiles --create rkt.conf
-}
-
-post_upgrade() {
- post_install "$@"
-}
-
-# vim:ts=2 sw=2 et ft=sh:
Copied: rkt/repos/community-x86_64/rkt.install (from rev 193910, rkt/trunk/rkt.install)
===================================================================
--- rkt.install (rev 0)
+++ rkt.install 2016-10-28 13:51:15 UTC (rev 193911)
@@ -0,0 +1,10 @@
+post_install() {
+ systemd-sysusers rkt.conf
+ systemd-tmpfiles --create rkt.conf
+}
+
+post_upgrade() {
+ post_install "$@"
+}
+
+# vim:ts=2 sw=2 et ft=sh:
Deleted: rkt.sysusers
===================================================================
--- rkt.sysusers 2016-10-28 13:50:46 UTC (rev 193910)
+++ rkt.sysusers 2016-10-28 13:51:15 UTC (rev 193911)
@@ -1,2 +0,0 @@
-g rkt - -
-g rkt-admin - -
Copied: rkt/repos/community-x86_64/rkt.sysusers (from rev 193910, rkt/trunk/rkt.sysusers)
===================================================================
--- rkt.sysusers (rev 0)
+++ rkt.sysusers 2016-10-28 13:51:15 UTC (rev 193911)
@@ -0,0 +1,2 @@
+g rkt - -
+g rkt-admin - -
More information about the arch-commits
mailing list