From d9c10710200e96a3449eac36c8bd6b506eb3c930 Mon Sep 17 00:00:00 2001
From: Ruben Rodriguez <ruben@trisquel.info>
Date: Wed, 9 Nov 2022 11:13:57 -0500
Subject: [PATCH] libzstd: Include the zstd binaries in the udeb

---
 helpers/make-libzstd | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/helpers/make-libzstd b/helpers/make-libzstd
index 937d4ded..3ff9ec85 100644
--- a/helpers/make-libzstd
+++ b/helpers/make-libzstd
@@ -1,6 +1,7 @@
 #!/bin/sh
 #
 #    Copyright (C) 2022  Luis Guzmán <ark@switnet.org>
+#    Copyright (C) 2022  Ruben Rodriguez <ruben@trisquel.info>
 #
 #    This program is free software; you can redistribute it and/or modify
 #    it under the terms of the GNU General Public License as published by
@@ -23,10 +24,12 @@
 # or fetch such packages from Debian in order to build the required udeb packages.
 ##
 
-VERSION=0
+VERSION=1
 NETINST=true
 . ./config
 
+# Include the zstd binaries in the udeb package, required by debootstrap >=1.0.124
+cp debian/zstd.install debian/libzstd1-udeb.install
 
 changelog "Rebuild upstream to get udeb dependency for debian-installer."
 compile
-- 
GitLab