unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: 49348@debbugs.gnu.org
Cc: Maxim Cournoyer <maxim.cournoyer@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	[thread overview]
Message-ID: <20210706211139.2806-2-maxim.cournoyer@gmail.com> (raw)
In-Reply-To: <20210706211139.2806-1-maxim.cournoyer@gmail.com>

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





  reply	other threads:[~2021-07-06 21:13 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-03  6:06 [bug#49348] [PATCH] pack: Allow embedding custom control files in deb packs Maxim Cournoyer
2021-07-06 21:11 ` [bug#49348] [PATCH v2 1/4] " Maxim Cournoyer
2021-07-06 21:11   ` Maxim Cournoyer [this message]
2021-07-06 21:11   ` [bug#49348] [PATCH v2 3/4] pack: Streamline how files are included in tarballs Maxim Cournoyer
2021-07-06 21:11   ` [bug#49348] [PATCH v2 4/4] build: pack: Mute error output when checking if tar supports --sort Maxim Cournoyer
     [not found] ` <handler.49348.B.1625292420813.ack@debbugs.gnu.org>
2021-07-18 16:26   ` bug#49348: Acknowledgement ([PATCH] pack: Allow embedding custom control files in deb packs.) Maxim Cournoyer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210706211139.2806-2-maxim.cournoyer@gmail.com \
    --to=maxim.cournoyer@gmail.com \
    --cc=49348@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).