Subject: [bug#68555] [PATCH 3/3] gnu: debootstrap: Add zstd dependency.

From: Denis 'GNUtoo' Carikli <[email-masked]>
Date: Thu, 18 Jan 2024 00:29:55 +0100

Without that fix, the following command:
    # debootstrap aramo aramo-root http://archive.trisquel.info/trisquel
fails with this error:
    I: Chosen extractor for .deb packages: dpkg-deb
    I: Extracting base-files...
    E: Tried to extract package, but tar failed. Exit...

And if we run the falling command manually:
    # sudo dpkg-deb --fsys-tarfile [...]/cache/apt/archives/base-files[...].deb
it shows that zstd is missing (from the PATH):
    dpkg-deb (subprocess): unable to execute decompressing archive
    'var/cache/apt/archives/base-files[...].deb' (size=60544) member
    'data.tar' (zstd): No such file or directory

* gnu/packages/debian.scm (debootstrap): [inputs]: Add zstd.

Signed-off-by: Denis 'GNUtoo' Carikli <[email-masked]>
Change-Id: If24c80c70c9ec3e6ea88a38a30324fee3c0641fe
---
 gnu/packages/debian.scm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/debian.scm b/gnu/packages/debian.scm
index 7c2d7fedfb..4aa432abfa 100644
--- a/gnu/packages/debian.scm
+++ b/gnu/packages/debian.scm
@@ -314,7 +314,9 @@ (define-public debootstrap
            bash-minimal
            dpkg
            tzdata
-
+           ;; Needed by dpkg-deb in extract_dpkg_deb_data for at least
+           ;; Trisquel 11 (aramo).
+           zstd
            ;; Called at run-time from various places, needs to be in PATH.
            gnupg
            wget))
-- 
2.41.0