summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve McIntyre <93sam@debian.org>2025-01-04 17:52:47 +0000
committerSteve McIntyre <93sam@debian.org>2025-01-04 17:52:47 +0000
commitaad8a5852bb3c87ad2d1fedaff10d73c43df75c5 (patch)
tree2b4213bdcaed32cb5b7e83a4396633983ac8b2ad
parent5757ae8a5b8f58817b1c6906f39bbd339b0e2aba (diff)
parent8d003968ca8776c067fc01628971911f0cbd3c52 (diff)
downloadefi-boot-shim-aad8a5852bb3c87ad2d1fedaff10d73c43df75c5.tar.gz
efi-boot-shim-aad8a5852bb3c87ad2d1fedaff10d73c43df75c5.zip
Merge branch 'bug-1089432-rootless' into 'master'
shim: Build without requiring root See merge request efi-team/shim!17
-rw-r--r--debian/control1
-rwxr-xr-xdebian/signing-template.generate4
2 files changed, 3 insertions, 2 deletions
diff --git a/debian/control b/debian/control
index a5e9d953..715644a9 100644
--- a/debian/control
+++ b/debian/control
@@ -3,6 +3,7 @@ Section: admin
Priority: optional
Maintainer: Debian EFI team <debian-efi@lists.debian.org>
Uploaders: Steve Langasek <vorlon@debian.org>, Steve McIntyre <93sam@debian.org>
+Rules-Requires-Root: no
Standards-Version: 4.6.2
Build-Depends: debhelper-compat (= 12),
gnu-efi (>= 3.0u),
diff --git a/debian/signing-template.generate b/debian/signing-template.generate
index 19a4fbcd..27aa9e58 100755
--- a/debian/signing-template.generate
+++ b/debian/signing-template.generate
@@ -26,7 +26,7 @@ template='./debian/signing-template'
pkg_dir="debian/${pkg_name}/usr/share/code-signing/${pkg_name}"
pkg_deb="${pkg_dir}/source-template/debian"
-install -o 0 -g 0 -m 0755 -d "${pkg_dir}"
+install -m 0755 -d "${pkg_dir}"
subst < ./debian/signing-template.json.in > "${pkg_dir}/files.json"
find "${template}" -type f -printf '%P\n' |
@@ -35,7 +35,7 @@ do
src="${template}/${path}"
dst=$(echo "${pkg_deb}/${path}" | subst)
- install -o 0 -g 0 -m 0755 -d "${dst%/*}"
+ install -m 0755 -d "${dst%/*}"
subst < "${src}" > "${dst%.in}"
chmod --reference="${src}" "${dst%.in}"
done