build: Use 'guix pack -K' for the 'guix-binary*.tar.xz' targets.

* Makefile.am (guix-binary.%.tar.xz): Add -K flag for 'guix pack'.
This commit is contained in:
Ludovic Courtès 2017-05-06 23:42:47 +02:00
parent 7f4da8ff6b
commit 33349e91f9
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -505,7 +505,7 @@ AM_DISTCHECK_CONFIGURE_FLAGS = \
# so 'etc/profile' defines 'GUIX_LOCPATH' pointing to a valid set of locales.
guix-binary.%.tar.xz:
$(AM_V_GEN)GUIX_PACKAGE_PATH= \
tarball=`$(top_builddir)/pre-inst-env guix pack -C xz \
tarball=`$(top_builddir)/pre-inst-env guix pack -K -C xz \
-s "$*" --localstatedir guix glibc-utf8-locales \
-e '(@@ (gnu packages commencement) glibc-final)'` ; \
cp "$$tarball" "$@.tmp" ; mv "$@.tmp" "$@"