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

@ -504,10 +504,10 @@ AM_DISTCHECK_CONFIGURE_FLAGS = \
# The self-contained tarball. Add 'glibc-utf8-locales' along with glibc just # The self-contained tarball. Add 'glibc-utf8-locales' along with glibc just
# so 'etc/profile' defines 'GUIX_LOCPATH' pointing to a valid set of locales. # so 'etc/profile' defines 'GUIX_LOCPATH' pointing to a valid set of locales.
guix-binary.%.tar.xz: guix-binary.%.tar.xz:
$(AM_V_GEN)GUIX_PACKAGE_PATH= \ $(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 \ -s "$*" --localstatedir guix glibc-utf8-locales \
-e '(@@ (gnu packages commencement) glibc-final)'` ; \ -e '(@@ (gnu packages commencement) glibc-final)'` ; \
cp "$$tarball" "$@.tmp" ; mv "$@.tmp" "$@" cp "$$tarball" "$@.tmp" ; mv "$@.tmp" "$@"