curl -o "${work_dir}/${arch}/airootfs/etc/pacman.d/mirrorlist" "${arch_domain}/${mirror_country}"
- # customize_airootfs.sh options
+ # customize_airootfs options
# -b : Enable boot splash.
# -d : Enable debug mode.
# -g <lang> : Set language.
# -i <inst_dir> : Set install dir
- # -j : It is now obsolete. Previously used to enable Japanese.
# -k <kernel> : Set kernel name.
# -o <os name> : Set os name.
# -p <password> : Set password.
# -u <username> : Set live user name.
# -x : Enable bash debug mode.
# -r : Enable rebuild.
+ #
+ # -j is obsolete in AlterISO3 and cannot be used.
# Generate options of customize_airootfs.sh.
kernel='zen'
theme_name=alter-logo
rebuild=false
-japanese=false
username='alter'
os_name="Alter Linux"
install_dir="alter"
usershell="/bin/bash"
-debug=true
+debug=false
# Parse arguments
-while getopts 'p:bt:k:rxju:o:i:s:da:' arg; do
+while getopts 'p:bt:k:rxu:o:i:s:da:g:' arg; do
case "${arg}" in
p) password="${OPTARG}" ;;
b) boot_splash=true ;;
t) theme_name="${OPTARG}" ;;
k) kernel="${OPTARG}" ;;
r) rebuild=true ;;
- j) japanese=true;;
u) username="${OPTARG}" ;;
o) os_name="${OPTARG}" ;;
i) install_dir="${OPTARG}" ;;
s) usershell="${OPTARG}" ;;
d) debug=true ;;
x) debug=true; set -xv ;;
- a) arch="${OPTARG}"
+ a) arch="${OPTARG}" ;;
+ g) language="${OPTARG}" ;;
esac
done
kernel='zen'
theme_name=alter-logo
rebuild=false
-japanese=false
username='alter'
os_name="Alter Linux"
install_dir="alter"
usershell="/bin/bash"
-debug=true
+debug=false
# Parse arguments
-while getopts 'p:bt:k:rxju:o:i:s:da:' arg; do
+while getopts 'p:bt:k:rxu:o:i:s:da:g:' arg; do
case "${arg}" in
p) password="${OPTARG}" ;;
b) boot_splash=true ;;
t) theme_name="${OPTARG}" ;;
k) kernel="${OPTARG}" ;;
r) rebuild=true ;;
- j) japanese=true;;
u) username="${OPTARG}" ;;
o) os_name="${OPTARG}" ;;
i) install_dir="${OPTARG}" ;;
s) usershell="${OPTARG}" ;;
d) debug=true ;;
x) debug=true; set -xv ;;
- a) arch="${OPTARG}"
+ a) arch="${OPTARG}" ;;
+ g) language="${OPTARG}" ;;
esac
done
kernel='zen'
theme_name=alter-logo
rebuild=false
-japanese=false
username='alter'
os_name="Alter Linux"
install_dir="alter"
usershell="/bin/bash"
-debug=true
+debug=false
# Parse arguments
-while getopts 'p:bt:k:rxju:o:i:s:da:' arg; do
+while getopts 'p:bt:k:rxu:o:i:s:da:g:' arg; do
case "${arg}" in
p) password="${OPTARG}" ;;
b) boot_splash=true ;;
t) theme_name="${OPTARG}" ;;
k) kernel="${OPTARG}" ;;
r) rebuild=true ;;
- j) japanese=true;;
u) username="${OPTARG}" ;;
o) os_name="${OPTARG}" ;;
i) install_dir="${OPTARG}" ;;
s) usershell="${OPTARG}" ;;
d) debug=true ;;
x) debug=true; set -xv ;;
- a) arch="${OPTARG}"
+ a) arch="${OPTARG}" ;;
+ g) language="${OPTARG}" ;;
esac
done
kernel='zen'
theme_name=alter-logo
rebuild=false
-japanese=false
username='alter'
os_name="Alter Linux"
install_dir="alter"
usershell="/bin/bash"
-debug=true
+debug=false
# Parse arguments
-while getopts 'p:bt:k:rxju:o:i:s:da:' arg; do
+while getopts 'p:bt:k:rxu:o:i:s:da:g:' arg; do
case "${arg}" in
p) password="${OPTARG}" ;;
b) boot_splash=true ;;
t) theme_name="${OPTARG}" ;;
k) kernel="${OPTARG}" ;;
r) rebuild=true ;;
- j) japanese=true;;
u) username="${OPTARG}" ;;
o) os_name="${OPTARG}" ;;
i) install_dir="${OPTARG}" ;;
s) usershell="${OPTARG}" ;;
d) debug=true ;;
x) debug=true; set -xv ;;
- a) arch="${OPTARG}"
+ a) arch="${OPTARG}" ;;
+ g) language="${OPTARG}" ;;
esac
done
kernel='zen'
theme_name=alter-logo
rebuild=false
-japanese=false
username='alter'
os_name="Alter Linux"
install_dir="alter"
usershell="/bin/bash"
-debug=true
+debug=false
# Parse arguments
-while getopts 'p:bt:k:rxju:o:i:s:da:' arg; do
+while getopts 'p:bt:k:rxu:o:i:s:da:g:' arg; do
case "${arg}" in
p) password="${OPTARG}" ;;
b) boot_splash=true ;;
t) theme_name="${OPTARG}" ;;
k) kernel="${OPTARG}" ;;
r) rebuild=true ;;
- j) japanese=true;;
u) username="${OPTARG}" ;;
o) os_name="${OPTARG}" ;;
i) install_dir="${OPTARG}" ;;
s) usershell="${OPTARG}" ;;
d) debug=true ;;
x) debug=true; set -xv ;;
- a) arch="${OPTARG}"
+ a) arch="${OPTARG}" ;;
+ g) language="${OPTARG}" ;;
esac
done