mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 19:40:37 +02:00
fix function names
This commit is contained in:
parent
ddf0140794
commit
f964c85e5a
3 changed files with 4 additions and 4 deletions
|
@ -2,7 +2,7 @@
|
|||
source /usr/lib/archboot/functions
|
||||
source /usr/lib/archboot/server_functions
|
||||
_ARCH="aarch64"
|
||||
_check_root
|
||||
_root_check
|
||||
_check_buildserver
|
||||
_update_aarch64_pacman_chroot
|
||||
_server_release
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
source /usr/lib/archboot/functions
|
||||
source /usr/lib/archboot/server_functions
|
||||
_ARCH="x86_64"
|
||||
_check_root
|
||||
_root_check
|
||||
_check_buildserver
|
||||
_pacman_x86_64_use_default
|
||||
_server_release
|
||||
|
|
|
@ -22,7 +22,7 @@ _x86_64_check() {
|
|||
}
|
||||
|
||||
### check for aarch64
|
||||
_check_aarch64() {
|
||||
_aarch64_check() {
|
||||
if ! [[ "${_RUNNING_ARCH}" == "aarch64" ]]; then
|
||||
echo "ERROR: Please run on aarch64 hardware."
|
||||
exit 1
|
||||
|
@ -30,7 +30,7 @@ _check_aarch64() {
|
|||
}
|
||||
|
||||
### check for tpowa's build server
|
||||
_check_buildserver() {
|
||||
_buildserver_check() {
|
||||
if [[ ! "$(cat /etc/hostname)" == "T-POWA-LX" ]]; then
|
||||
echo "This script should only be run on tpowa's build server. Aborting..."
|
||||
exit 1
|
||||
|
|
Loading…
Reference in a new issue