Removed cpu microcode packages, as they rarely are compatible with the host's cpu

This commit is contained in:
2023-08-24 13:37:05 -04:00
parent 31a509c873
commit 710a41647b
2 changed files with 0 additions and 8 deletions
-2
View File
@@ -35,7 +35,6 @@ read -r -p "timezone: " timezone
# start hardware detection
pacman -Sy bc --noconfirm
cpu=$(lscpu | grep 'Vendor ID:' | awk 'FNR == 1 {print $3;}')
threadsminusone=$(echo "$(lscpu | grep 'CPU(s):' | awk 'FNR == 1 {print $2;}') - 1" | bc)
gpu=$(lspci | grep 'VGA compatible controller:' | awk 'FNR == 1 {print $5;}')
if ! ([ "$gpu" == 'NVIDIA' ] || [ "$gpu" == 'Intel' ]); then
@@ -178,7 +177,6 @@ done
# exporting variables
mkdir /mnt/tempfiles
echo "$formfactor" > /mnt/tempfiles/formfactor
echo "$cpu" > /mnt/tempfiles/cpu
echo "$threadsminusone" > /mnt/tempfiles/threadsminusone
echo "$gpu" > /mnt/tempfiles/gpu
echo "$intel_vaapi_driver" > /mnt/tempfiles/intel_vaapi_driver