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'.
This commit is contained in:
Maxim Cournoyer 2021-07-05 20:03:58 -04:00
parent aeded14b83
commit b019496fc3
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -805,6 +805,8 @@ (define control-tarball-file-name
Description: Debian archive generated by GNU Guix.
Maintainer: GNU Guix
Architecture: ~a
Priority: optional
Section: misc
~%" package-name package-version architecture))))
(when postinst-file