armbian-next: squash some warn loggings that were undue; remove $SUDO_USER handling in prepare-host.sh

- squash warning about `NO_APT_CACHER` when in Docker
This commit is contained in:
Ricardo Pardini
2022-12-13 18:36:24 +01:00
parent b386e4615e
commit fd043d707a
5 changed files with 9 additions and 22 deletions

View File

@@ -179,7 +179,7 @@ function install_distribution_agnostic() {
else # ... not extlinux ...
if [[ -n "${BOOTSCRIPT}" ]]; then # @TODO: && "${BOOTCONFIG}" != "none"
display_alert "Deploying boot script" "$bootscript_src" "warn"
display_alert "Deploying boot script" "$bootscript_src" "info"
if [ -f "${USERPATCHES_PATH}/bootscripts/${bootscript_src}" ]; then
run_host_command_logged cp -pv "${USERPATCHES_PATH}/bootscripts/${bootscript_src}" "${SDCARD}/boot/${bootscript_dst}"
else