summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbill-auger <mr.j.spam.me@gmail.com>2018-05-03 16:06:59 -0400
committerbill-auger <mr.j.spam.me@gmail.com>2019-05-07 09:23:27 -0400
commit45307b3150c2a450a8932927ef9170af8addbcdc (patch)
tree71023bd384f66d6dce364c09e9bac4659b5f9f1f
parent8588f09fe9b972557ca814996a9d723378be7942 (diff)
squashme - houskeeping
-rwxr-xr-xconfigs/profile/build.sh2
-rw-r--r--configs/profile/packages/packages-lxde.all2
-rw-r--r--configs/profile/pacman.conf2
-rw-r--r--configs/profile/root-image/root/customize_root_image-constants.inc15
-rwxr-xr-xconfigs/profile/root-image/root/customize_root_image.sh2
5 files changed, 13 insertions, 10 deletions
diff --git a/configs/profile/build.sh b/configs/profile/build.sh
index 9e19cc1..86d4ded 100755
--- a/configs/profile/build.sh
+++ b/configs/profile/build.sh
@@ -262,7 +262,7 @@ make_efi() {
# Prepare efiboot.img::/EFI for "El Torito" EFI boot mode
make_efiboot() {
# Cleanup in case of previous aborted run
- while mount | grep ${work_dir}/efiboot; do umount ${work_dir}/efiboot; sleep 1; done;
+ while mount | grep ${work_dir}/efiboot > /dev/null; do umount ${work_dir}/efiboot; sleep 1; done;
rm ${work_dir}/iso/EFI/parabolaiso/efiboot.img 2> /dev/null || true
# create EFI image
diff --git a/configs/profile/packages/packages-lxde.all b/configs/profile/packages/packages-lxde.all
index 907f020..968c910 100644
--- a/configs/profile/packages/packages-lxde.all
+++ b/configs/profile/packages/packages-lxde.all
@@ -8,7 +8,7 @@ galculator-gtk2
gnumeric
gparted
gpicview
-# gksu # (issue #1781)
+gksu
gnome-screenshot
lxappearance
lxappearance-obconf
diff --git a/configs/profile/pacman.conf b/configs/profile/pacman.conf
index 942f59d..e8a9f8a 100644
--- a/configs/profile/pacman.conf
+++ b/configs/profile/pacman.conf
@@ -91,10 +91,10 @@ Include = /etc/pacman.d/mirrorlist
[community]
Include = /etc/pacman.d/mirrorlist
+# TODO: move calamares, parabola-laf, wbar to 'pcr' then comment out 'pcr-testing'
[pcr-testing]
Include = /etc/pacman.d/mirrorlist
-# TODO: move calamares to 'pcr' then comment out 'pcr-testing'
[pcr]
Include = /etc/pacman.d/mirrorlist
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 a334924..d0359a6 100644
--- a/configs/profile/root-image/root/customize_root_image-constants.inc
+++ b/configs/profile/root-image/root/customize_root_image-constants.inc
@@ -30,6 +30,8 @@ readonly OPENRC_SERVICES_GUI="alsasound \
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}"
+[ "${enable_offline_install}" == 'true' ] && readonly INSTALL_TYPE='Complete' || \
+ readonly INSTALL_TYPE='NetInstall'
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\
@@ -37,16 +39,15 @@ readonly COMPLETE_MSG="This ISO is capable of installing a complete Parabola sys
>>>>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 "
+[ "${INSTALL_TYPE}" == 'Complete' ] && readonly NETWORK_MOTD_MSG=${NETINSTALL_MSG} || \
+ readonly NETWORK_MOTD_MSG=${COMPLETE_MSG}
+readonly ROOT_SKEL_FILES="/etc/skel/.bash_logout \
+ /etc/skel/.bash_profile \
+ /etc/skel/install-openrc-lxde.sh \
+ /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 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 PRETTY_NAME="$(echo ${iso_title} | cut -d ' ' -f -5) - (${INSTALL_TYPE})"
diff --git a/configs/profile/root-image/root/customize_root_image.sh b/configs/profile/root-image/root/customize_root_image.sh
index edd0a3f..518436c 100755
--- a/configs/profile/root-image/root/customize_root_image.sh
+++ b/configs/profile/root-image/root/customize_root_image.sh
@@ -17,6 +17,8 @@ chmod 440 /etc/sudoers.d/g_wheel
# configure pacman
sed -i "s|#Server|Server|" /etc/pacman.d/mirrorlist
+[ "${INSTALL_TYPE}" == 'Complete' ] && pacman_conf=pacman-offline.conf || pacman_conf=pacman-online.conf
+cp /etc/${pacman_conf} /etc/pacman.conf
# configure services
if [[ "${iso_init}" == 'systemd' ]]