guix-commits
[Top][All Lists]
Advanced

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

02/04: pack/deb: Add default section and priority fields to the control


From: guix-commits
Subject: 02/04: pack/deb: Add default section and priority fields to the control file.
Date: Sun, 18 Jul 2021 02:29:56 -0400 (EDT)

apteryx pushed a commit to branch master
in repository guix.

commit b019496fc3643f0bd837c62078086e3ff51b6001
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Mon Jul 5 20:03:58 2021 -0400

    pack/deb: Add default section and priority fields to the control file.
    
    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 6a8d49e..78201d6 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



reply via email to

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