Subject: [PATCH v2 2/4] pack/deb: Add default section and priority fields to the control file.

From: Maxim Cournoyer <[email-masked]>
Date: Tue, 6 Jul 2021 17:11:37 -0400

These fields, while optional per dpkg, are required by other tools such as
reprepro, commonly used to generate apt repositories.

* guix/scripts/pack.scm (debian-archive): Set the control file section field
to 'misc' and the priority field to 'optional'.
---
 guix/scripts/pack.scm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/guix/scripts/pack.scm b/guix/scripts/pack.scm
index 6a8d49e042..78201d6f5f 100644
--- a/guix/scripts/pack.scm
+++ b/guix/scripts/pack.scm
@@ -805,6 +805,8 @@ Version: ~a
 Description: Debian archive generated by GNU Guix.
 Maintainer: GNU Guix
 Architecture: ~a
+Priority: optional
+Section: misc
 ~%" package-name package-version architecture))))
 
             (when postinst-file
-- 
2.32.0