Add sudo, Fix Repository

This commit is contained in:
seiichiro 2021-12-31 12:14:51 +01:00
parent 403648b31f
commit c751f5f172

View file

@ -170,7 +170,7 @@ if [[ "${systype}" == "x86_64-efi" ]]; then
fi
echo "Installing Base System Packages"
pacstrap /mnt base $kernel $microcode $firmware $extrapkgs btrfs-progs grub grub-btrfs snapper vim git tmux htop iftop iotop tcpdump mtr rsync wget which zip lsof strace openssh inetutils bc man-pages
pacstrap /mnt base $kernel $microcode $firmware $extrapkgs btrfs-progs grub grub-btrfs snapper vim git tmux htop iftop iotop tcpdump mtr rsync wget which zip lsof strace openssh inetutils bc man-pages sudo
echo "Creating Basic Config Files"
genfstab -U /mnt | sed -e 's/suvolid=[0-9]*,//g' >> /mnt/etc/fstab
@ -220,7 +220,7 @@ arch-chroot /mnt /bin/bash -e <<EOF
pacman-key --lsign-key 805517CC
echo '[seiichiro]' >> /etc/pacman.conf
echo 'SigLevel = Required DatabaseOptional TrustedOnly' >> /etc/pacman.conf
echo 'Server = http://www.seiichiro0185.org/repo/$arch' >> /etc/pacman.conf
echo 'Server = http://www.seiichiro0185.org/repo/\$arch' >> /etc/pacman.conf
echo "Setting up Snapper"
umount /.snapshots