summaryrefslogtreecommitdiff
path: root/configs/profile/root-image/root/customize_root_image-constants.inc
diff options
context:
space:
mode:
Diffstat (limited to 'configs/profile/root-image/root/customize_root_image-constants.inc')
-rw-r--r--configs/profile/root-image/root/customize_root_image-constants.inc9
1 files changed, 5 insertions, 4 deletions
diff --git a/configs/profile/root-image/root/customize_root_image-constants.inc b/configs/profile/root-image/root/customize_root_image-constants.inc
index 38c149e..8d2902c 100644
--- a/configs/profile/root-image/root/customize_root_image-constants.inc
+++ b/configs/profile/root-image/root/customize_root_image-constants.inc
@@ -6,6 +6,8 @@
# HAS_BRLTTY_TTS
+readonly NONSYSTEMD_REGEX='N ; s|^#\[nonsystemd\].*#Include|\[nonsystemd\]\nInclude|'
+
readonly LOCALES="en_US\.UTF-8 \
eo \
es_ES\.UTF-8 \
@@ -63,11 +65,10 @@ readonly ROOT_SKEL_FILES="/etc/skel/.bash_logout \
/etc/skel/install-systemd-mate.sh"
readonly LIVE_USER=parabola
-readonly LIVE_USER_GROUPS="adm,audio,floppy,log,network,rfkill,scanner,storage,optical,power,wheel"
+readonly DEFAULT_USER_GROUPS="adm,audio,floppy,log,network,rfkill,scanner,storage,optical,power,wheel"
readonly OPENRC_USER_GROUPS="disk,sys"
-[[ "${ISO_INIT}" == 'openrc' ]] && readonly USER_GROUPS="${LIVE_USER_GROUPS},${OPENRC_USER_GROUPS}" ||
- readonly USER_GROUPS="${LIVE_USER_GROUPS}"
-
+[[ "${ISO_INIT}" == 'openrc' ]] && readonly LIVE_USER_GROUPS="${DEFAULT_USER_GROUPS},${OPENRC_USER_GROUPS}" ||
+ readonly LIVE_USER_GROUPS="${DEFAULT_USER_GROUPS}"
readonly OS_PRETTY_NAME="$(echo ${ISO_TITLE} | cut -d ' ' -f -5) - (${INSTALL_TYPE})"
readonly OS_VERSION=$( echo ${ISO_TITLE} | cut -d ' ' -f 6 )
readonly OS_VERSION_ID=$( echo ${ISO_TITLE} | cut -d ' ' -f 6 )