gnu: debootstrap: Workaround for PATH issues.
* gnu/packages/debian (debootstrap): [arguments]: Substitute PATH to include $PATH. [description]: Remove obsolete workaround from description.
This commit is contained in:
parent
36273ebde2
commit
90041e9c28
|
@ -154,6 +154,11 @@ contains the archive keys used for that.")
|
||||||
(("/usr") ubuntu))
|
(("/usr") ubuntu))
|
||||||
(substitute* "debootstrap"
|
(substitute* "debootstrap"
|
||||||
(("=/usr") (string-append "=" out)))
|
(("=/usr") (string-append "=" out)))
|
||||||
|
;; Ensure PATH works both in guix and within the debian chroot
|
||||||
|
;; workaround for: https://bugs.debian.org/929889
|
||||||
|
(substitute* "functions"
|
||||||
|
(("PATH=/sbin:/usr/sbin:/bin:/usr/bin")
|
||||||
|
"PATH=$PATH:/sbin:/usr/sbin:/bin:/usr/bin"))
|
||||||
(substitute* (find-files "scripts" ".")
|
(substitute* (find-files "scripts" ".")
|
||||||
(("/usr/share/zoneinfo") (string-append tzdata "/share/zoneinfo")))
|
(("/usr/share/zoneinfo") (string-append tzdata "/share/zoneinfo")))
|
||||||
#t)))
|
#t)))
|
||||||
|
@ -184,9 +189,5 @@ contains the archive keys used for that.")
|
||||||
(description "Debootstrap is used to create a Debian base system from
|
(description "Debootstrap is used to create a Debian base system from
|
||||||
scratch, without requiring the availability of @code{dpkg} or @code{apt}.
|
scratch, without requiring the availability of @code{dpkg} or @code{apt}.
|
||||||
It does this by downloading .deb files from a mirror site, and carefully
|
It does this by downloading .deb files from a mirror site, and carefully
|
||||||
unpacking them into a directory which can eventually be chrooted into.
|
unpacking them into a directory which can eventually be chrooted into.")
|
||||||
|
|
||||||
It is recommended to run @code{debootstrap --foreign --arch=...} and then
|
|
||||||
@code{chroot} into the directory, set the PATH and run @code{debootstrap
|
|
||||||
--second-stage} after.")
|
|
||||||
(license license:gpl2)))
|
(license license:gpl2)))
|
||||||
|
|
Loading…
Reference in New Issue