From 24d44d180a8de4e7a43afcc2f91f68663a6685b3 Mon Sep 17 00:00:00 2001 From: bill-auger Date: Thu, 21 Jun 2018 20:47:24 -0400 Subject: revertme - openrc sysusers kludge --- configs/profile/root-image/root/customize_root_image.sh | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'configs/profile') diff --git a/configs/profile/root-image/root/customize_root_image.sh b/configs/profile/root-image/root/customize_root_image.sh index 522162b..681822b 100755 --- a/configs/profile/root-image/root/customize_root_image.sh +++ b/configs/profile/root-image/root/customize_root_image.sh @@ -22,6 +22,9 @@ chmod 440 /etc/sudoers.d/g_wheel # configure pacman # sed -i "s|#Server|Server|" /etc/pacman.d/mirrorlist +# FIXME: BEGIN issue #1838 +echo -e "[pcr-testing]\nInclude = /etc/pacman.d/mirrorlist" >> /etc/pacman-online.conf +# FIXME: END issue #1838 [ "${INSTALL_TYPE}" == 'Complete' ] && cp /etc/pacman-offline.conf /etc/pacman.conf || \ cp /etc/pacman-online.conf /etc/pacman.conf @@ -70,6 +73,9 @@ then # configure CLI login session sed -i "s|_DESKTOP_SESSION_||" /root/.bash_profile else # configure GUI login session and live user +# FIXME: BEGIN issue #1838 +groupadd -g 92 audio ; groupadd -g 6 disk ; groupadd -g 93 optical ; groupadd -g 95 storage ; +# FIXME: END issue #1838 # configure live user [[ -n "$(id ${LIVE_USER} 2> /dev/null)" ]] && userdel -r ${LIVE_USER} 2> /dev/null -- cgit v1.2.2