소스 검색

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…
취소
저장