OSDN Git Service

[update] : Added -g to customize_airootfs.
authorhayao <shun819.mail@gmail.com>
Sat, 27 Jun 2020 07:09:05 +0000 (16:09 +0900)
committerhayao <shun819.mail@gmail.com>
Sat, 27 Jun 2020 07:09:05 +0000 (16:09 +0900)
build.sh
channels/lxde/airootfs.any/root/customize_airootfs_lxde.sh
channels/plasma/airootfs.any/root/customize_airootfs_plasma.sh
channels/releng/airootfs.any/root/customize_airootfs.sh
channels/share/airootfs.any/root/customize_airootfs.sh
channels/xfce/airootfs.any/root/customize_airootfs_xfce.sh

index 389c3e4..a4bf988 100755 (executable)
--- a/build.sh
+++ b/build.sh
@@ -856,12 +856,11 @@ make_customize_airootfs() {
 
     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.
@@ -870,6 +869,8 @@ make_customize_airootfs() {
     # -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.
index dc86712..7d75bc9 100755 (executable)
@@ -17,30 +17,29 @@ boot_splash=false
 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
 
index 7313a6e..d238c81 100755 (executable)
@@ -10,30 +10,29 @@ boot_splash=false
 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
 
index 081126b..3d6ea14 100755 (executable)
@@ -17,30 +17,29 @@ boot_splash=false
 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
 
index d50c96c..f31478b 100755 (executable)
@@ -17,30 +17,29 @@ boot_splash=false
 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
 
index 3393351..7315885 100755 (executable)
@@ -17,30 +17,29 @@ boot_splash=false
 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