-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathconstants.sh
More file actions
29 lines (26 loc) · 1004 Bytes
/
constants.sh
File metadata and controls
29 lines (26 loc) · 1004 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#
# Constant values used by the scripts.
#
readonly PACMAN_OPTIONS='--noconfirm --color always'
readonly GREEN='\e[32m\e[1m'
readonly RED='\e[31m\e[1m'
readonly NC='\e[0m'
if cat /proc/cpuinfo|grep -qie 'vendor.*Intel' ; then
readonly CPU_VENDOR='intel'
elif cat /proc/cpuinfo|grep -qie 'vendor.*AMD' ; then
readonly CPU_VENDOR='amd'
else
echo -e "${RED}Couldn't detect CPU vendor.${NC}"
exit 1
fi
readonly UUID_PATH='/uuid.tmp'
readonly USERNAME='stepmania'
# Change these variables as needed
readonly KEYMAP='us'
readonly LANG='en_US.UTF-8'
readonly TIMEZONE='US/Pacific'
# Packages that will always be installed on the system
readonly PACKAGES_STANDARD='base linux base-devel glew libmad libjpeg libxinerama libpulse libpng libvorbis libxrandr libva mesa cmake git yasm xorg-xinit xorg-server vim dhcpcd alsa-utils lz4'
# Packages that may be installed depending on the hardware in use, but need to
# be included in the ISO image
readonly PACKAGES_ISO='amd-ucode intel-ucode nvidia'