aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2020-07-06 13:28:00 +0200
committerSören Tempel <soeren+git@soeren-tempel.net>2020-07-06 17:54:45 +0200
commite3bc4155cf70c9760648f48c5f370e68d8edc005 (patch)
tree33968cdf1e2e64d30358b0a8aff0461c28c8846b
parent60e4a791f769091ba0ed1bd07b3a72f82b0ece1e (diff)
downloadaports-e3bc4155cf70c9760648f48c5f370e68d8edc005.tar.gz
aports-e3bc4155cf70c9760648f48c5f370e68d8edc005.tar.bz2
aports-e3bc4155cf70c9760648f48c5f370e68d8edc005.tar.xz
community/qemu: don't create home directory for qemu user
This user was added in 2f32bfc751bae19369fc06666e8f4b2ce88d17fd. I don't see any reason why it requires a home directory and think the -h flag was just forgotten to be added. In case the qemu user does actually require a home directory it should probably be /var/lib/qemu instead of /home/qemu (the default).
-rw-r--r--community/qemu/APKBUILD2
-rw-r--r--community/qemu/qemu.pre-install2
2 files changed, 2 insertions, 2 deletions
diff --git a/community/qemu/APKBUILD b/community/qemu/APKBUILD
index 7cd4366c20..3cfdae45ae 100644
--- a/community/qemu/APKBUILD
+++ b/community/qemu/APKBUILD
@@ -4,7 +4,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=qemu
pkgver=5.0.0
-pkgrel=2
+pkgrel=3
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 8f4c8a6ba1..3394b7e0d3 100644
--- a/community/qemu/qemu.pre-install
+++ b/community/qemu/qemu.pre-install
@@ -2,6 +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 2>/dev/null
+adduser -S -H -h /dev/null -u 36 -G kvm -s /sbin/nologin qemu 2>/dev/null
exit 0