root/march-chroot:Added cryptroot and rootpart so that the vars can be used there

This commit is contained in:
TuDatTr
2020-05-24 04:47:53 +02:00
parent 728f25857e
commit 18aed562f8
2 changed files with 22 additions and 12 deletions

View File

@@ -22,7 +22,7 @@ sudogrp="CHANGEME"
CWD="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
while true; do
case "$!" in
case "$1" in
-t|--timezone)
timezone="$2"
shift 2
@@ -57,8 +57,8 @@ while true; do
pacman -S --noconfirm git zsh gvim wget arch-audit lightdm lightdm-webkit2-greeter xorg-server xf86-video-intel i3-gaps xorg-xbacklight xorg-xrandr i3lock-color alsa-utils pulseaudio pulseaudio-alsa pulseaudio-bluetooth playerctl pavucontrol exfat-utils udiskie blueman acpi acpid tlp compton conky rxvt-unicode networkmanager network-manager-applet networkmanager-openconnect networkmanager-openvpn stow maim openssh xdotool xclip thunderbird firefox veracrypt keepassxc texlive-most evince pandoc pdfgrep adobe-source-han-sans-otc-fonts python3 python3-pip ranger atool elinks ffmpegthumbnailer highlight libcaca lynx mediainfo odt2txt perl-image-exiftool poppler python-chardet transmission-cli w3m
echo "%$sudogrp ALL=(ALL) ALL" >> /etc/sudoers
groupadd $sudogrp
useradd -m -G $sudogrp -s $username
groupadd "$sudogrp"
useradd -m -G "$sudogrp" -s "$username"
systemctl enable lightdm
sed -i "s/#user-session.*/user-session=i3/g" /etc/lightdm/lightdm.conf