install: Files in the tarball are all root-owned.
Fixes a thinko introduced in175ced4
. * gnu/system/install.scm (self-contained-tarball): Use "root:0" as the owner and group. * doc/guix.texi (Binary Installation): Revert175ced4
.
This commit is contained in:
parent
175ced413c
commit
01dbc7e01a
|
@ -264,12 +264,6 @@ verify the authenticity of the tarball against it!}, where @var{system}
|
||||||
is @code{x86_64-linux} for an @code{x86_64} machine already running the
|
is @code{x86_64-linux} for an @code{x86_64} machine already running the
|
||||||
kernel Linux, and so on.
|
kernel Linux, and so on.
|
||||||
|
|
||||||
@item
|
|
||||||
Create the group and user accounts for build users as explained below
|
|
||||||
(@pxref{Build Environment Setup}). Use the exact same names as given in
|
|
||||||
the example so that files extracted from the archive will have the right
|
|
||||||
ownership.
|
|
||||||
|
|
||||||
@item
|
@item
|
||||||
As @code{root}, run:
|
As @code{root}, run:
|
||||||
|
|
||||||
|
|
|
@ -67,14 +67,10 @@ under /root/.guix-profile where GUIX is installed."
|
||||||
#:closure "profile")
|
#:closure "profile")
|
||||||
|
|
||||||
;; Create the tarball. Use GNU format so there's no file name
|
;; Create the tarball. Use GNU format so there's no file name
|
||||||
;; length limitation. Use the owner and group names given in the
|
;; length limitation.
|
||||||
;; manual.
|
|
||||||
;; XXX: /var and /root should rather be root-owned, but it doesn't
|
|
||||||
;; make any difference in practice.
|
|
||||||
(with-directory-excursion %root
|
(with-directory-excursion %root
|
||||||
(zero? (system* "tar" "--xz" "--format=gnu"
|
(zero? (system* "tar" "--xz" "--format=gnu"
|
||||||
"--owner=guixbuilder01"
|
"--owner=root:0" "--group=root:0"
|
||||||
"--group=guixbuild"
|
|
||||||
"-cvf" #$output ".")))))
|
"-cvf" #$output ".")))))
|
||||||
|
|
||||||
(gexp->derivation "guix-tarball.tar.xz" build
|
(gexp->derivation "guix-tarball.tar.xz" build
|
||||||
|
|
Loading…
Reference in New Issue