mirror of
https://github.com/classy-giraffe/easy-arch.git
synced 2025-11-17 19:40:55 +00:00
Update easy-arch.sh
This commit is contained in:
parent
7bc3a46a3e
commit
a9cdb0e127
1 changed files with 1 additions and 14 deletions
15
easy-arch.sh
15
easy-arch.sh
|
|
@ -142,23 +142,10 @@ kernel_selector
|
||||||
|
|
||||||
# Pacstrap (setting up a base sytem onto the new root).
|
# Pacstrap (setting up a base sytem onto the new root).
|
||||||
echo "Installing the base system (it may take a while)."
|
echo "Installing the base system (it may take a while)."
|
||||||
pacstrap /mnt base $kernel $microcode linux-firmware btrfs-progs grub grub-btrfs efibootmgr snapper sudo apparmor reflector
|
pacstrap /mnt base $kernel $microcode linux-firmware btrfs-progs grub grub-btrfs efibootmgr snapper sudo apparmor reflector base-devel
|
||||||
|
|
||||||
network_selector
|
network_selector
|
||||||
|
|
||||||
# Choice to install base-devel package
|
|
||||||
echo "base-devel contains helpful tools like gcc, automake, autoconf, sudo and many others."
|
|
||||||
read -r -p "This will install the base-devel package. Do you agree [y/N]? " bd_response
|
|
||||||
bd_response=${bd_response,,}
|
|
||||||
if [[ "$bd_response" =~ ^(yes|y)$ ]]
|
|
||||||
then
|
|
||||||
echo "Installing the package.."
|
|
||||||
pacstrap /mnt base-devel
|
|
||||||
else
|
|
||||||
echo "Quitting."
|
|
||||||
exit
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Generating /etc/fstab.
|
# Generating /etc/fstab.
|
||||||
echo "Generating a new fstab."
|
echo "Generating a new fstab."
|
||||||
genfstab -U /mnt >> /mnt/etc/fstab
|
genfstab -U /mnt >> /mnt/etc/fstab
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue