diff options
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2021-07-05 20:03:58 -0400 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2021-07-18 02:02:34 -0400 |
commit | b019496fc3643f0bd837c62078086e3ff51b6001 (patch) | |
tree | ca491e7cdb27b1a2bdbd24d530a182f534bd1989 /guix/scripts | |
parent | aeded14b8342c1e72afd014a1bc121770f8c3a1c (diff) |
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')
-rw-r--r-- | guix/scripts/pack.scm | 2 |
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 |