Add qemu-user-static

This commit is contained in:
moparisthebest
2017-01-17 13:59:02 -05:00
parent 7fc6a0f4e1
commit aaac1fc704
5 changed files with 171 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
# Generated by mksrcinfo v8
# 四 8月 11 02:43:34 UTC 2016
pkgbase = binfmt-support
pkgdesc = register interpreters for various binary formats
pkgver = 2.1.6
pkgrel = 1
url = http://packages.debian.org/en/sid/binfmt-support
arch = i686
arch = x86_64
license = GPL
depends = libpipeline
source = http://ftp.de.debian.org/debian/pool/main/b/binfmt-support/binfmt-support_2.1.6.orig.tar.gz
source = binfmt-support.service
md5sums = b3389857d88f35c93b45f99a19a24698
md5sums = 72df6ac607ebfe9eface932b76b66291
pkgname = binfmt-support

View File

@@ -0,0 +1,26 @@
pkgname=binfmt-support
pkgver=2.1.6
pkgrel=1
pkgdesc="register interpreters for various binary formats"
arch=(i686 x86_64)
url="http://packages.debian.org/en/sid/binfmt-support"
license=('GPL')
depends=('libpipeline')
makedepends=()
source=(http://ftp.de.debian.org/debian/pool/main/b/binfmt-support/binfmt-support_$pkgver.orig.tar.gz
binfmt-support.service)
md5sums=('b3389857d88f35c93b45f99a19a24698'
'72df6ac607ebfe9eface932b76b66291')
build() {
cd "$srcdir/$pkgname-$pkgver"
./configure --prefix=/usr --libexecdir=/usr/lib --sbindir=/usr/bin --localstatedir=/var
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
install -dm0755 $pkgdir/var/lib/binfmts
install -Dm755 $srcdir/binfmt-support.service $pkgdir/usr/lib/systemd/system/binfmt-support.service
}

View File

@@ -0,0 +1,17 @@
[Unit]
Description=Enable support for additional binary formats. Java, python, etc.
Documentation=man:update-binfmts(8)
[Service]
Type=oneshot
ExecStart=/usr/bin/update-binfmts --enable
ExecStop=/usr/bin/update-binfmts --disable
KillMode=process
Restart=no
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target
# This service file writes "enabled" to /proc/sys/fs/binfmt_misc/status,
# and registers all binfmt specifications in /var/lib/binfmts (default)