diff options
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.inc | 53 |
1 files changed, 53 insertions, 0 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 new file mode 100644 index 0000000..e2d3fc1 --- /dev/null +++ b/configs/profile/root-image/root/customize_root_image-constants.inc @@ -0,0 +1,53 @@ +readonly LOCALES="en_US\.UTF-8 \ + eo \ + es_ES\.UTF-8 \ + fr_FR\.UTF-8 \ + gl_ES\.UTF-8 \ + it_IT\.UTF-8 \ + pt_BR\.UTF-8 \ + pl_PL\.UTF-8 " +readonly REPOS='libre core extra community pcr' +readonly SYSTEMD_DELETE_FILES="/etc/conf.d/agetty.tty1 \ + /etc/conf.d/hostname \ + /etc/init.d/pacman-init \ + /etc/X11/Xwrapper.config" +readonly OPENRC_DELETE_FILES="/etc/hostname \ + /etc/systemd/scripts/choose-mirror \ + /etc/systemd/system/choose-mirror.service \ + /etc/systemd/system/etc-pacman.d-gnupg.mount \ + /etc/systemd/system/getty@tty1.service.d/autologin.conf \ + /etc/systemd/system/pacman-init.service " +readonly SYSTEMD_SERVICES_ALL="choose-mirror.service \ + multi-user.target \ + pacman-init.service " +readonly SYSTEMD_SERVICES_GUI="NetworkManager.service" +readonly OPENRC_SERVICES_ALL="dbus \ + haveged \ + NetworkManager \ + pacman-init " +readonly OPENRC_SERVICES_GUI="alsasound \ + elogind " +[[ "${iso_gui}" == 'cli' ]] && readonly OPENRC_SERVICES="${OPENRC_SERVICES_ALL}" || + readonly OPENRC_SERVICES="${OPENRC_SERVICES_ALL} ${OPENRC_SERVICES_GUI}" +[[ "${iso_gui}" == 'cli' ]] && readonly SYSTEMD_SERVICES="${SYSTEMD_SERVICES_ALL}" || + readonly SYSTEMD_SERVICES="${SYSTEMD_SERVICES_ALL} ${SYSTEMD_SERVICES_GUI}" +readonly DEFAULT_SHELL=/bin/bash +readonly NETINSTALL_MSG="To install Parabola, the system must be connected to the internet." +readonly COMPLETE_MSG="This ISO is capable of installing a complete Parabola system\n\ +>>>>without a connection to the internet. If you would like to fetch\n\ +>>>>the latest packages from the internet, run the following command\n\ +>>>>before beginning the install:\n\ + # cp /etc/pacman-online.conf /etc/pacman.conf" +[ "${enable_offline_install}" == 'false' ] && readonly NETWORK_MOTD_MSG=${NETINSTALL_MSG} || \ + readonly NETWORK_MOTD_MSG=${COMPLETE_MSG} +readonly ROOT_SKEL_FILES="/etc/skel/.automated_script.sh \ + /etc/skel/.bash_logout \ + /etc/skel/.bash_profile " +readonly LIVE_USER=parabola +readonly LIVE_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}" +[ "${enable_offline_install}" == 'true' ] && readonly INSTALL_TYPE="Complete" || \ + readonly INSTALL_TYPE="NetInstall" +readonly WELCOME_TITLE="Parabola ${iso_init}/${iso_gui} Edition - (${INSTALL_TYPE})" |