From 346797cd7472c5a145ba64a3dd62eb9357deafe7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20Guzm=C3=A1n?= Date: Tue, 11 Mar 2025 21:42:18 +0000 Subject: [PATCH] gnupg2: manually set udeb dependencies for udeb package. --- .../001_add-gpgv-udeb-dependencies-hack.patch | 17 +++++++++++++++++ helpers/make-gnupg2 | 3 ++- 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 helpers/DATA/gnupg2/001_add-gpgv-udeb-dependencies-hack.patch diff --git a/helpers/DATA/gnupg2/001_add-gpgv-udeb-dependencies-hack.patch b/helpers/DATA/gnupg2/001_add-gpgv-udeb-dependencies-hack.patch new file mode 100644 index 0000000..c78d1d5 --- /dev/null +++ b/helpers/DATA/gnupg2/001_add-gpgv-udeb-dependencies-hack.patch @@ -0,0 +1,17 @@ +diff --git a/debian/control b/debian/control +index c599ba9e..7215fac0 100644 +--- a/debian/control ++++ b/debian/control +@@ -388,8 +388,10 @@ Build-Profiles: + Section: debian-installer + Architecture: any + Depends: +- ${misc:Depends}, +- ${shlibs:Depends}, ++ libc6-udeb (>= 2.39), ++ libgcrypt20-udeb (>= 1.10.3), ++ libgpg-error0-udeb (>= 1.47), ++ zlib1g-udeb (>= 1:1.2.3.3.dfsg-1) + Description: minimal signature verification tool + GnuPG is GNU's tool for secure communication and data storage. + It can be used to encrypt data and to create digital signatures. diff --git a/helpers/make-gnupg2 b/helpers/make-gnupg2 index 835333e..2a3cd5e 100644 --- a/helpers/make-gnupg2 +++ b/helpers/make-gnupg2 @@ -25,10 +25,11 @@ #STAGE-4-UDEBS || #STAGE-1-DEBOOTSTRAP -VERSION=0 +VERSION=1 NETINST=true . ./config +patch_p1 $DATA/001_add-gpgv-udeb-dependencies-hack.patch changelog "Fetch and build as udeb dependency for debian-installer." package