GNU bug report logs - #30709
[PATCH 0/4] Add debootstrap

Previous Next

Package: guix-patches;

Reported by: Efraim Flashner <efraim <at> flashner.co.il>

Date: Mon, 5 Mar 2018 09:27:01 UTC

Severity: normal

Tags: patch

Done: Efraim Flashner <efraim <at> flashner.co.il>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Marius Bakke <mbakke <at> fastmail.com>
To: Efraim Flashner <efraim <at> flashner.co.il>, 30709 <at> debbugs.gnu.org
Cc: Efraim Flashner <efraim <at> flashner.co.il>
Subject: [bug#30709] [PATCH 3/4] gnu: Add ubuntu-keyring.
Date: Sat, 10 Mar 2018 10:33:21 +0100
[Message part 1 (text/plain, inline)]
Efraim Flashner <efraim <at> flashner.co.il> writes:

> * gnu/packages/debian.scm (ubuntu-keyring): New variable.

[...]

> +    (build-system trivial-build-system)
> +    (arguments
> +     `(#:modules ((guix build utils))
> +       #:builder (begin
> +                   (use-modules (guix build utils))
> +                   (let* ((out (assoc-ref %outputs "out"))
> +                          (apt (string-append out "/etc/apt/trusted.gpg.d/"))
> +                          (key (string-append out "/share/keyrings/")))
> +                     (setenv "PATH" (string-append
> +                                      (assoc-ref %build-inputs "gzip") "/bin:"
> +                                      (assoc-ref %build-inputs "tar") "/bin"))
> +                     (invoke "tar" "xvf" (assoc-ref %build-inputs "source"))
> +                     (for-each (lambda (file)
> +                                 (install-file file key)
> +                                 (install-file file apt))
> +                               (find-files "." "\\.gpg$")))
> +                   #t)))

Why is having the same files in out/share/keyrings and
out/etc/apt/trusted.gpg.d necessary?

(this was perhaps the case with the Debian keyring too?)
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 7 years and 121 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.