GNU bug report logs - #49348
[PATCH] pack: Allow embedding custom control files in deb packs.

Previous Next

Package: guix-patches;

Reported by: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Date: Sat, 3 Jul 2021 06:07:02 UTC

Severity: normal

Tags: patch

Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: 49348 <at> debbugs.gnu.org
Cc: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
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





This bug report was last modified 3 years and 342 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.