1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
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})"
|