From 461f82f95acb5590d308bfb901e632218d275ac7 Mon Sep 17 00:00:00 2001 From: Ricardo Pardini Date: Fri, 13 Jan 2023 04:37:37 +0100 Subject: [PATCH] armbian-next: completely remove `acl` (which provided `getfacl`) and it's usages (basic deps) --- lib/functions/configuration/main-config.sh | 10 +--------- lib/functions/host/basic-deps.sh | 1 - 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/lib/functions/configuration/main-config.sh b/lib/functions/configuration/main-config.sh index 6aca957ca7..5e4a52cfd6 100644 --- a/lib/functions/configuration/main-config.sh +++ b/lib/functions/configuration/main-config.sh @@ -370,7 +370,7 @@ function do_extra_configuration() { # This is called by main_default_build_single() but declared here for 'convenience' function write_config_summary_output_file() { - local debug_dpkg_arch debug_uname debug_virt debug_src_mount debug_src_perms debug_src_temp_perms + local debug_dpkg_arch debug_uname debug_virt debug_src_mount debug_dpkg_arch="$(dpkg --print-architecture)" debug_uname="$(uname -a)" # We might not have systemd-detect-virt, specially inside docker. Docker images have no systemd... @@ -379,8 +379,6 @@ function write_config_summary_output_file() { debug_virt="$(systemd-detect-virt || true)" fi debug_src_mount="$(findmnt --output TARGET,SOURCE,FSTYPE,AVAIL --target "${SRC}" --uniq)" - debug_src_perms="$(getfacl -p "${SRC}")" - debug_src_temp_perms="$(getfacl -p "${SRC}"/.tmp 2> /dev/null)" display_alert "Writing build config summary to" "debug log" "debug" LOG_ASSET="build.summary.txt" do_with_log_asset cat <<- EOF @@ -398,12 +396,6 @@ function write_config_summary_output_file() { Build directory is located on: ${debug_src_mount} - Build directory permissions: - ${debug_src_perms} - - Temp directory permissions: - ${debug_src_temp_perms} - ## BUILD CONFIGURATION Build target: diff --git a/lib/functions/host/basic-deps.sh b/lib/functions/host/basic-deps.sh index 1e9910009b..21994e5135 100644 --- a/lib/functions/host/basic-deps.sh +++ b/lib/functions/host/basic-deps.sh @@ -11,7 +11,6 @@ function prepare_host_basic() { local checklist=( "dialog:dialog" "fuser:psmisc" - "getfacl:acl" "uuidgen:uuid-runtime" "curl:curl" "gpg:gnupg"