From 5ed338fb602af881c642fa57765cc1ad72e0a4f6 Mon Sep 17 00:00:00 2001 From: Ricardo Pardini Date: Sun, 8 Oct 2023 15:09:22 +0200 Subject: [PATCH] dpkg-deb: don't use fakeroot, we're already root; don't add fakeroot dep either --- lib/functions/compilation/packages/utils-dpkgdeb.sh | 2 +- lib/functions/host/prepare-host.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/functions/compilation/packages/utils-dpkgdeb.sh b/lib/functions/compilation/packages/utils-dpkgdeb.sh index a8d4ac9c3d08..fed3ff4ef567 100644 --- a/lib/functions/compilation/packages/utils-dpkgdeb.sh +++ b/lib/functions/compilation/packages/utils-dpkgdeb.sh @@ -111,7 +111,7 @@ function fakeroot_dpkg_deb_build() { mkdir -p "${deb_final_dir}" display_alert "Building package, this might take a while.." "${deb_final_filename/*\//}" info - run_host_command_logged_raw fakeroot dpkg-deb -b "-Z${DEB_COMPRESS}" "${package_directory}" "${deb_final_filename}" + run_host_command_logged_raw dpkg-deb -b "-Z${DEB_COMPRESS}" "${package_directory}" "${deb_final_filename}" } function dpkg_deb_run_shellcheck_on_scripts() { diff --git a/lib/functions/host/prepare-host.sh b/lib/functions/host/prepare-host.sh index 4dd1c0e16000..b13159c8797f 100644 --- a/lib/functions/host/prepare-host.sh +++ b/lib/functions/host/prepare-host.sh @@ -256,7 +256,7 @@ function adaptative_prepare_host_dependencies() { ca-certificates ccache cpio debootstrap device-tree-compiler dialog dirmngr dosfstools dwarves # dwarves has been replaced by "pahole" and is now a transitional package - fakeroot flex + flex gawk gnupg gpg imagemagick # required for boot_logo, plymouth: converting images / spinners jq # required for parsing JSON, specially rootfs-caching related.