瀏覽代碼

Small tweaks, still not usable

master
jcmdln 2 年之前
父節點
當前提交
cf5a7bd373
共有 1 個文件被更改,包括 24 次插入25 次删除
  1. 24
    25
      gein.sh

+ 24
- 25
gein.sh 查看文件

@@ -72,35 +72,11 @@ kernel_autobuild="true"
#kernel_config=""


#
# I would like this section to be where a user defines their partitions,
#

#partition_boot=""
#partition_uefi=""
#partition_swap=""


#
#

case "$(uname -m)" in
i486|i586)
cpu_dir="x86"
cpu_arch="i486";;
i686|x86|x86_32)
cpu_dir="x86"
cpu_arch="i686";;
amd64|x86_64)
cpu_dir="amd64"
cpu_arch="amd64";;

*)
echo "gein: error: your architecture has not been defined yet." \
"Submit an issue with the output of 'uname -m'" | fold -s
echo "gein: Exiting..." \
| fold -s
exit 1
esac


#
@@ -161,6 +137,29 @@ CONFIG() {
}


# This section determines the current system architecture, which is
# used to download the correct Stage 3 archive in the following section.

case "$(uname -m)" in
i486|i586)
cpu_dir="x86"
cpu_arch="i486";;
i686|x86|x86_32)
cpu_dir="x86"
cpu_arch="i686";;
amd64|x86_64)
cpu_dir="amd64"
cpu_arch="amd64";;

*)
echo "gein: error: your architecture has not been defined yet." \
"Submit an issue with the output of 'uname -m'" | fold -s
echo "gein: Exiting..." \
| fold -s
exit 1
esac


#
#


Loading…
取消
儲存