mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
add riscv64 check
This commit is contained in:
parent
f62d04afb3
commit
83a953febd
1 changed files with 8 additions and 0 deletions
|
@ -37,6 +37,14 @@ _aarch64_check() {
|
|||
fi
|
||||
}
|
||||
|
||||
### check for aarch64
|
||||
_riscv64_check() {
|
||||
if ! [[ "${_RUNNING_ARCH}" == "riscv64" ]]; then
|
||||
echo "ERROR: Please run on riscv64 hardware."
|
||||
exit 1
|
||||
fi
|
||||
}
|
||||
|
||||
### check for tpowa's build server
|
||||
_buildserver_check() {
|
||||
if [[ ! "$(cat /etc/hostname)" == "T-POWA-LX" ]]; then
|
||||
|
|
Loading…
Reference in a new issue