gnu: debootstrap: Hardcode location of archive keyrings.
* gnu/packages/debian.scm (debootstrap)[arguments]: Adjust custom 'patch-source phase to hardcode the location of the archive keyrings.
This commit is contained in:
parent
180502f28f
commit
6226b8f72d
|
@ -226,6 +226,12 @@ (define-public debootstrap
|
||||||
(substitute* "debootstrap"
|
(substitute* "debootstrap"
|
||||||
(("=/usr") (string-append "=" #$output))
|
(("=/usr") (string-append "=" #$output))
|
||||||
(("/usr/bin/dpkg") (search-input-file inputs "/bin/dpkg")))
|
(("/usr/bin/dpkg") (search-input-file inputs "/bin/dpkg")))
|
||||||
|
;; Include the keyring locations by default.
|
||||||
|
(substitute* (find-files "scripts")
|
||||||
|
(("keyring.*(debian-archive-keyring.gpg)"_ keyring)
|
||||||
|
(string-append "keyring " debian "/share/keyrings/" keyring))
|
||||||
|
(("keyring.*(ubuntu-archive-keyring.gpg)" _ keyring)
|
||||||
|
(string-append "keyring " ubuntu "/share/keyrings/" keyring)))
|
||||||
;; Ensure PATH works both in guix and within the debian chroot
|
;; Ensure PATH works both in guix and within the debian chroot
|
||||||
;; workaround for: https://bugs.debian.org/929889
|
;; workaround for: https://bugs.debian.org/929889
|
||||||
(substitute* "functions"
|
(substitute* "functions"
|
||||||
|
|
Loading…
Reference in a new issue