more bugfixes
This commit is contained in:
parent
b0115b5200
commit
9258c3530a
|
@ -1,16 +1,16 @@
|
|||
#!/usr/bin/env fish
|
||||
|
||||
echo "choose a hostname (name for the computer, other computers may see it on networks)"
|
||||
ask horse-arch-(cat /dev/urandom | base32 -w 8 | head -n ) >/etc/hostname
|
||||
ask horse-arch-(cat /dev/urandom | base32 -w 8 | head -n1) >/etc/hostname
|
||||
|
||||
# TODO timezone
|
||||
# look at how alpine install scripts for timezones and other parts
|
||||
pushd /mnt/usr/share/zoneinfo
|
||||
pushd /usr/share/zoneinfo
|
||||
echo "i haven't figured out a good ui to set the timezone yet"
|
||||
echo "so symlink it yourself"
|
||||
echo "something like `ln -sf /usr/share/zoneinfo/*/* /etc/localtime`"
|
||||
echo "use the `exit` command when done"
|
||||
$SHELL
|
||||
fish
|
||||
popd
|
||||
|
||||
hwclock --systohc
|
||||
|
@ -27,7 +27,7 @@ begin
|
|||
set -a packages kernel-modules-hook
|
||||
# base-devel
|
||||
set -a packages (pacman -Si base-devel | grep "Depends On" | sed "s/^.*://" | string split " ")
|
||||
set -e packages[(contains -i $packages sudo)]
|
||||
set -e packages[(contains -i sudo $packages)]
|
||||
set -a packages opendoas
|
||||
# filesystems
|
||||
set -a packages ntfs-3g dosfstools btrfs-progs exfatprogs
|
||||
|
@ -97,10 +97,10 @@ begin
|
|||
|
||||
|
||||
# cpu
|
||||
if lscpu | grep-q GenuineIntel
|
||||
if lscpu | grep -q GenuineIntel
|
||||
set -a packages intel-ucode
|
||||
end
|
||||
if lscpu | grep-q AuthenticAMD
|
||||
if lscpu | grep -q AuthenticAMD
|
||||
set -a packages amd-ucode
|
||||
end
|
||||
|
||||
|
@ -109,7 +109,7 @@ begin
|
|||
set -a packages mesa lib32-mesa
|
||||
|
||||
# finerprint reader
|
||||
|
||||
# TODO
|
||||
|
||||
|
||||
pacman -Syu --needed --noconfirm $packages
|
||||
|
|
|
@ -101,7 +101,7 @@ cat /mnt/etc/fstab
|
|||
echo "```"
|
||||
echo "the default shell is now open so you can work on the fstab file if there are any errors"
|
||||
echo "use the `exit` command to continue"
|
||||
$SHELL
|
||||
fish
|
||||
|
||||
# pacstrap
|
||||
pacstrap -K /mnt base linux-zen linux-zen-headers linux-firmware fish
|
||||
|
|
Loading…
Reference in New Issue