-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstep3.sh
More file actions
executable file
·25 lines (17 loc) · 918 Bytes
/
step3.sh
File metadata and controls
executable file
·25 lines (17 loc) · 918 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/bin/bash
##This part of the script will install Aperture Linux on your newly formatted partitions!
#Remove Arch mirrors, add Aperture mirror to mirrorlist
echo 'Server = http://mirror.aperturelinux.org/$repo/os/$arch' > /etc/pacman.d/mirrorlist
pacman-key --keyserver pool.sks-keyservers.net --recv-keys 94EBB7A5965B9914 && \
pacman-key --lsign-key 94EBB7A5965B9914
#TODO: if VM, don't install linux-firmware, else do
pacstrap /mnt linux linux-firmware base base-devel zsh neovim neofetch man-db man-pages iwd dhcpcd netctl wpa_supplicant dialog yay
genfstab -U /mnt >> /mnt/etc/fstab
#Copy remaining scripts to the new system before chrooting in
mkdir /mnt/ApertureInstall
cp step4.sh /mnt/ApertureInstall/step4.sh
chmod +x /mnt/ApertureInstall/step4.sh
echo $bootmode > /mnt/ApertureInstall/bootmode
echo $installdrive > /mnt/ApertureInstall/installdrive
#etc
arch-chroot /mnt ./ApertureInstall/step4.sh