From f36859b014f70521d430d6e235eafd569dcf0866 Mon Sep 17 00:00:00 2001 From: timoxa0 Date: Sat, 2 Nov 2024 23:06:59 +0500 Subject: [PATCH] mklni: Mark logs as host --- mklni | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/mklni b/mklni index fdc554b..20fb392 100755 --- a/mklni +++ b/mklni @@ -2,20 +2,19 @@ ALPINE="https://dl-cdn.alpinelinux.org/alpine/v3.20/releases/x86_64/alpine-minirootfs-3.20.3-x86_64.tar.gz" CHROOTDIR="./alpine_chroot" -LON_TOOL_URL="https://git.timoxa0.su/timoxa0/lon-tool/releases/download/latest/lon-tool_lin_amd64" - +QEMU_STATIC_URL="https://github.com/multiarch/qemu-user-static/releases/download/v7.2.0-1/qemu-aarch64-static" log() { case "$2" in error) - printf "\e[1m\e[31mERROR:\e[0m \e[1m%s\e[0m\n" "$1">&2;; + printf "\e[1m\e[31mERROR:\e[0m \e[1m%s\e[0m (host)\n" "$1">&2;; internal) - printf "\e[1m\e[96m >>\e[0m \e[1m%s\e[0m\n" "$1">&2;; + printf "\e[1m\e[96m h>\e[0m \e[1m%s\e[0m\n" "$1">&2;; ierror) - printf "\e[1m\e[31m >>\e[0m \e[1m%s\e[0m\n" "$1">&2;; + printf "\e[1m\e[31m h>\e[0m \e[1m%s\e[0m\n" "$1">&2;; *) - printf "\e[1m\e[92m>>>\e[0m \e[1m%s\e[0m\n" "$1">&2;; + printf "\e[1m\e[92mH>>\e[0m \e[1m%s\e[0m\n" "$1">&2;; esac }