Updating install methodology

This commit is contained in:
DarkFeather 2020-06-15 17:14:56 -05:00
parent b568679df5
commit 6647fc07d6
Signed by: DarkFeather
GPG Key ID: 1CC1E3F4ED06F296
2 changed files with 13 additions and 8 deletions

View File

@ -2,8 +2,7 @@
function header () {
tput setaf 1
tput bold
echo $@
tput bold echo $@
tput sgr0
return
}
@ -18,10 +17,10 @@ function help() {
echo '\-l FILE -- Log to a file'
echo '\-p -- Productivity package additions'
echo '\-P -- Power saving for laptops'
echo '\-s -- Create a layout for an AniNIX::Spartacus'
echo '\-s -- Create a layout for an AniNIX/Spartacus'
echo '\-m -- Skip disk operations and assume storage is mounted on /mnt'
echo '\-v -- Verbose output.'
echo '\-z -- Try to add all the packages on AniNIX::Core'
echo '\-z -- Try to add all the packages on AniNIX/Core'
exit 1;
}
@ -76,6 +75,12 @@ if [ "$answer" != "YES" ]; then
echo User did not confirm.
exit 1;
fi
echo >> /etc/pacman.conf <EOM
[AniNIX]
SigLevel = Optional TrustAll
Server = https://aninix.net/maat/
EOM
pacman -Syy
if [ -z "$nodiskbuild" ]; then
header Allocating space
@ -156,7 +161,7 @@ fi
# * make for source packages
# * tor for anonymity
header Installing ArchLinux to device\(s\) on /mnt
export pkglist="base base-devel parted net-tools bind-tools git openssh make elinks weechat vim wget tor torsocks grub os-prober rsync openntpd tmux efibootmgr"
export pkglist="base base-devel parted net-tools bind-tools git openssh make elinks weechat vim wget tor torsocks grub os-prober rsync openntpd tmux efibootmgr shadowarch"
if [ ! -z "$gui" ]; then
export pkglist="$pkglist"" xorg-server xfce4 chromium conky tigervnc xscreensaver"
fi
@ -297,12 +302,12 @@ fi
# Set hostname
header Set hostname
printf "What is your fully-qualified hostname? (i.e. core.aninix.net) "
printf "What is your fully-qualified hostname? (i.e. host.site.example.com) "
read hostname
echo "$hostname" > /mnt/etc/hostname
hostname "$hostname"
header Installed ShadowArch on AniNIX::`hostname -s`\!
header "Installed ShadowArch on $HOSTNAME!"
if [ ! -z "$nodiskbuild" ]; then
header Remember to run grub-install and set up your bootloader.
echo 'https://wiki.archlinux.org/index.php/Installation_guide#Boot_loader'

View File

@ -1,4 +1,4 @@
depends=('curl' 'grep' 'bash>=4.4' 'git>=2.13')
depends=('curl' 'grep' 'bash>=4.4' 'git>=2.13' 'elinks')
makedepends=('make>=4.2')
checkdepends=()
optdepends=()