From 6ef5115e9385823be16b98774542a645e627225a Mon Sep 17 00:00:00 2001 From: bill-auger Date: Sat, 30 Mar 2019 09:01:50 -0400 Subject: enable [nonsystemd] for openrc ISOs --- configs/profile/root-image/root/customize_root_image.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'configs/profile/root-image/root/customize_root_image.sh') diff --git a/configs/profile/root-image/root/customize_root_image.sh b/configs/profile/root-image/root/customize_root_image.sh index eda5c64..816ee45 100755 --- a/configs/profile/root-image/root/customize_root_image.sh +++ b/configs/profile/root-image/root/customize_root_image.sh @@ -22,8 +22,9 @@ chmod 440 /etc/sudoers.d/g_wheel LOG_CONFIG "pacman" sed -i "s|#Server|Server|" /etc/pacman.d/mirrorlist -[ "${INSTALL_TYPE}" == 'Complete' ] && cp /etc/pacman-offline.conf /etc/pacman.conf || \ - cp /etc/pacman-online.conf /etc/pacman.conf +[[ "${ISO_INIT}" == 'openrc' ]] && sed -i $NONSYSTEMD_REGEX /etc/pacman-online.conf +[[ "${INSTALL_TYPE}" == 'Complete' ]] && cp /etc/pacman-offline.conf /etc/pacman.conf || \ + cp /etc/pacman-online.conf /etc/pacman.conf LOG_CONFIG "services" -- cgit v1.2.2