summaryrefslogtreecommitdiff
path: root/guix/scripts/pack.scm
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2021-07-05 20:03:58 -0400
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2021-07-18 02:02:34 -0400
commitb019496fc3643f0bd837c62078086e3ff51b6001 (patch)
treeca491e7cdb27b1a2bdbd24d530a182f534bd1989 /guix/scripts/pack.scm
parentaeded14b8342c1e72afd014a1bc121770f8c3a1c (diff)
downloadguix-patches-b019496fc3643f0bd837c62078086e3ff51b6001.tar
guix-patches-b019496fc3643f0bd837c62078086e3ff51b6001.tar.gz
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'.
Diffstat (limited to 'guix/scripts/pack.scm')
-rw-r--r--guix/scripts/pack.scm2
1 files changed, 2 insertions, 0 deletions
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