guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#49348] [PATCH v2 2/4] pack/deb: Add default section and priority fi


From: Maxim Cournoyer
Subject: [bug#49348] [PATCH v2 2/4] pack/deb: Add default section and priority fields to the control file.
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






reply via email to

[Prev in Thread] Current Thread [Next in Thread]