Added g14-pacman.conf

This commit is contained in:
2022-06-26 15:43:28 -04:00
parent bb75b6a17d
commit 2167af4703
3 changed files with 113 additions and 1 deletions
+7
View File
@@ -58,6 +58,12 @@ fi
if [[ "$disk" == /dev/mmcblk* ]]; then
disk="$disk"'p'
fi
if [ "$formfactor" == 1 ]; then
device='g14-'
else
device=''
fi
# stop variable manipulation
# determine if running as UEFI or BIOS
@@ -164,6 +170,7 @@ basestrap /mnt base $base_devel openrc elogind-openrc linux linux-firmware git m
# exporting variables
mkdir /mnt/tempfiles
echo "$formfactor" > /mnt/tempfiles/formfactor
echo "$device" > /mnt/tempfiles/device
echo "$cpu" > /mnt/tempfiles/cpu
echo "$gpu" > /mnt/tempfiles/gpu
echo "$intel_vaapi_driver" > /mnt/tempfiles/intel_vaapi_driver