Fetch missing variables
This commit is contained in:
parent
459ad49386
commit
ce0b241e50
1 changed files with 5 additions and 3 deletions
|
@ -10,12 +10,12 @@ begin
|
||||||
end
|
end
|
||||||
|
|
||||||
function bootstrapSetup -S
|
function bootstrapSetup -S
|
||||||
pacstrap -K "$mountDir" fish
|
pacstrap -K (getOSConfig partition.rootDir) fish
|
||||||
end
|
end
|
||||||
|
|
||||||
function installDrivers -S
|
function installDrivers -S
|
||||||
if isOSEnabled hardware.surfaceBook
|
if isOSEnabled hardware.surfaceBook
|
||||||
pacstrap -K "$mountDir" linux-firmware-marvell
|
pacstrap -K (getOSConfig partition.rootDir) linux-firmware-marvell
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -30,7 +30,7 @@ begin
|
||||||
and pacman-key --init
|
and pacman-key --init
|
||||||
and pacman-key --populate
|
and pacman-key --populate
|
||||||
|
|
||||||
and pacstrap -K "$mountDir" \
|
and pacstrap -K (getOSConfig partition.rootDir) \
|
||||||
base \
|
base \
|
||||||
linux \
|
linux \
|
||||||
linux-firmware \
|
linux-firmware \
|
||||||
|
@ -43,6 +43,7 @@ begin
|
||||||
function setupOS -S -V dir -S
|
function setupOS -S -V dir -S
|
||||||
source "$dir/../../lib/hooks.fish"
|
source "$dir/../../lib/hooks.fish"
|
||||||
source "$dir/../../lib/wait-network.fish"
|
source "$dir/../../lib/wait-network.fish"
|
||||||
|
set -l mountDir (getOSConfig partition.rootDir)
|
||||||
|
|
||||||
waitNetwork
|
waitNetwork
|
||||||
and begin
|
and begin
|
||||||
|
@ -102,6 +103,7 @@ begin
|
||||||
end
|
end
|
||||||
|
|
||||||
function autologin -S
|
function autologin -S
|
||||||
|
set -l mountDir (getOSConfig partition.rootDir)
|
||||||
set -l file "/etc/systemd/system/getty@tty1.service.d/autologin.conf"
|
set -l file "/etc/systemd/system/getty@tty1.service.d/autologin.conf"
|
||||||
arch-chroot "$mountDir" mkdir -p (dirname "$file")
|
arch-chroot "$mountDir" mkdir -p (dirname "$file")
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue