From 340a17d98fa64678a0eb269199091c3aff8d10cc Mon Sep 17 00:00:00 2001 From: Oliver Smith Date: Mon, 23 Apr 2018 20:52:03 +0000 Subject: [PATCH] Set all of user's groups in "pmbootstrap install" (#1432) The postmarketos-base package used to make the user part of the "video" and "audio" groups. However, this did not work reliably, and we were adding the "wheel" group in "pmbootstrap install" anyway. Now all groups get added in "pmbootstrap install", and the names of the groups have been moved to `pmb.config.install_user_groups`. --- main/postmarketos-base/APKBUILD | 2 +- main/postmarketos-base/postmarketos-base.post-install | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/main/postmarketos-base/APKBUILD b/main/postmarketos-base/APKBUILD index 2f17137dc..0af3d5172 100644 --- a/main/postmarketos-base/APKBUILD +++ b/main/postmarketos-base/APKBUILD @@ -1,6 +1,6 @@ pkgname=postmarketos-base pkgver=3 -pkgrel=16 +pkgrel=17 pkgdesc="Meta package for minimal postmarketOS base" url="https://github.com/postmarketOS" arch="noarch" diff --git a/main/postmarketos-base/postmarketos-base.post-install b/main/postmarketos-base/postmarketos-base.post-install index 6580bff2a..e4bb2dd7c 100644 --- a/main/postmarketos-base/postmarketos-base.post-install +++ b/main/postmarketos-base/postmarketos-base.post-install @@ -76,10 +76,6 @@ touch /etc/wpa_supplicant/wpa_supplicant.conf # Enable the 'wheel' group sed -i 's/# %wheel ALL=(ALL) ALL/%wheel ALL=(ALL) ALL/' /etc/sudoers -# Add user to video group for proper framebuffer permissions -username="$(getent passwd 1000 | cut -d ":" -f 1)" -usermod -a -G video,audio "$username" - # Set chrony to quickly correct system time on first boot, if necessary if ! grep -q "makestep" /etc/chrony/chrony.conf; then echo "makestep 1 -1" >> /etc/chrony/chrony.conf