diff --git a/arch-graphical-install-auto b/arch-graphical-install-auto index c7e7f88..ae07412 100755 --- a/arch-graphical-install-auto +++ b/arch-graphical-install-auto @@ -180,7 +180,10 @@ function addusers() { if ! cat /etc/group | grep optical; then groupadd optical fi - useradd -m -g users -G wheel,audio,video,sys,optical -s /bin/bash $username + if ! cat /etc/group | grep adm; then + groupadd adm + fi + useradd -m -g users -G wheel,audio,video,sys,optical,adm -s /bin/bash $username passwd ${username} <> /etc/locale.gen # locale-gen # -rm /etc/localtime +if [ -f /etc/localtime ]; then + rm /etc/localtime +fi ln -s /usr/share/zoneinfo/Europe/Berlin /etc/localtime # iso_name -echo "${repo}-${version}" > /etc/hostname +if ! [ "${version}" == "libre-xfce4-openrc" ]; then + echo "${repo}-${version}" > /etc/hostname +else + echo "hostname=${repo}-${version}" > /etc/conf.d/hostname +fi # uefi-boot cp /opt/${repo1}/uefi-boot.sh /usr/bin/uefi-boot diff --git a/packages_libre-xfce4-openrc.txt b/packages_libre-xfce4-openrc.txt index e743d3e..4cfe04a 100644 --- a/packages_libre-xfce4-openrc.txt +++ b/packages_libre-xfce4-openrc.txt @@ -2,6 +2,7 @@ aalib acl adwaita-icon-theme alsa-lib +alsa-utils aom arch-install-scripts archlinux-keyring