From f964c85e5af5367fd9b3eff8370d52bd52c18c34 Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Tue, 8 Feb 2022 20:20:21 +0100 Subject: [PATCH] fix function names --- usr/bin/archboot-aarch64-server-release.sh | 2 +- usr/bin/archboot-x86_64-server-release.sh | 2 +- usr/lib/archboot/functions | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/usr/bin/archboot-aarch64-server-release.sh b/usr/bin/archboot-aarch64-server-release.sh index 9737053d4..5d1e0a6ca 100755 --- a/usr/bin/archboot-aarch64-server-release.sh +++ b/usr/bin/archboot-aarch64-server-release.sh @@ -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 diff --git a/usr/bin/archboot-x86_64-server-release.sh b/usr/bin/archboot-x86_64-server-release.sh index 0bc07f5e8..8e2bc804c 100755 --- a/usr/bin/archboot-x86_64-server-release.sh +++ b/usr/bin/archboot-x86_64-server-release.sh @@ -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 diff --git a/usr/lib/archboot/functions b/usr/lib/archboot/functions index 5029629f1..22024144e 100644 --- a/usr/lib/archboot/functions +++ b/usr/lib/archboot/functions @@ -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