diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2020-01-10 09:29:48 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2020-01-10 09:59:58 +0000 |
commit | 2f32bfc751bae19369fc06666e8f4b2ce88d17fd (patch) | |
tree | 7248d4587122dcc50a93ab38a7fdbf38f1f422d1 /community/qemu | |
parent | 9f05cf9d33718fa71ea70ea67b36329b9cf5ea61 (diff) | |
download | aports-2f32bfc751bae19369fc06666e8f4b2ce88d17fd.tar.bz2 aports-2f32bfc751bae19369fc06666e8f4b2ce88d17fd.tar.xz |
community/qemu: create qemu user
May be needed by things like libvirt.
ref #11117
Diffstat (limited to 'community/qemu')
-rw-r--r-- | community/qemu/APKBUILD | 2 | ||||
-rw-r--r-- | community/qemu/qemu.pre-install | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/community/qemu/APKBUILD b/community/qemu/APKBUILD index 3d8df366b0..7595297f6e 100644 --- a/community/qemu/APKBUILD +++ b/community/qemu/APKBUILD @@ -4,7 +4,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=qemu pkgver=4.2.0 -pkgrel=0 +pkgrel=1 pkgdesc="QEMU is a generic machine emulator and virtualizer" url="https://qemu.org/" arch="all" diff --git a/community/qemu/qemu.pre-install b/community/qemu/qemu.pre-install index 2ef9b5366d..19ed30d902 100644 --- a/community/qemu/qemu.pre-install +++ b/community/qemu/qemu.pre-install @@ -2,5 +2,6 @@ addgroup -S -g 34 kvm 2>/dev/null addgroup -S -g 36 qemu 2>/dev/null +adduser -S -u 36 -G kvm -s /sbin/nologin qemu exit 0 |