mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-31 06:46:50 +01:00
maint: 'release' builds with '--fallback'.
* Makefile.am (guix-binary.%.tar.xz): Pass '--fallback' to 'guix pack'. (release): Pass '--fallback' to 'guix build' and 'guix system'.
This commit is contained in:
parent
8b292ffd3c
commit
98148830c0
1 changed files with 5 additions and 4 deletions
|
@ -669,6 +669,7 @@ GUIX_FOR_BINARY_TARBALL = guile3.0-guix
|
||||||
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 -K -C xz \
|
tarball=`$(top_builddir)/pre-inst-env guix pack -K -C xz \
|
||||||
|
--fallback \
|
||||||
-s "$*" --localstatedir --profile-name=current-guix \
|
-s "$*" --localstatedir --profile-name=current-guix \
|
||||||
$(GUIX_FOR_BINARY_TARBALL)` ; \
|
$(GUIX_FOR_BINARY_TARBALL)` ; \
|
||||||
cp "$$tarball" "$@.tmp" ; mv "$@.tmp" "$@"
|
cp "$$tarball" "$@.tmp" ; mv "$@.tmp" "$@"
|
||||||
|
@ -775,7 +776,7 @@ release: dist
|
||||||
git commit -m "gnu: guix: Update to $(PACKAGE_VERSION)."
|
git commit -m "gnu: guix: Update to $(PACKAGE_VERSION)."
|
||||||
$(top_builddir)/pre-inst-env guix build $(GUIX_FOR_BINARY_TARBALL) \
|
$(top_builddir)/pre-inst-env guix build $(GUIX_FOR_BINARY_TARBALL) \
|
||||||
$(call system_flags,$(SUPPORTED_SYSTEMS)) \
|
$(call system_flags,$(SUPPORTED_SYSTEMS)) \
|
||||||
-v1 --no-grafts
|
-v1 --no-grafts --fallback
|
||||||
rm -f $(BINARY_TARBALLS)
|
rm -f $(BINARY_TARBALLS)
|
||||||
$(MAKE) $(BINARY_TARBALLS)
|
$(MAKE) $(BINARY_TARBALLS)
|
||||||
for system in $(SUPPORTED_SYSTEMS) ; do \
|
for system in $(SUPPORTED_SYSTEMS) ; do \
|
||||||
|
@ -789,12 +790,12 @@ release: dist
|
||||||
git commit -m "gnu: guix: Update to `git rev-parse HEAD | cut -c1-7`."
|
git commit -m "gnu: guix: Update to `git rev-parse HEAD | cut -c1-7`."
|
||||||
$(top_builddir)/pre-inst-env guix build guix \
|
$(top_builddir)/pre-inst-env guix build guix \
|
||||||
$(call system_flags,$(GUIX_SYSTEM_SUPPORTED_SYSTEMS)) \
|
$(call system_flags,$(GUIX_SYSTEM_SUPPORTED_SYSTEMS)) \
|
||||||
-v1 --no-grafts
|
-v1 --no-grafts --fallback
|
||||||
for system in $(GUIX_SYSTEM_SUPPORTED_SYSTEMS) ; do \
|
for system in $(GUIX_SYSTEM_SUPPORTED_SYSTEMS) ; do \
|
||||||
image=`$(top_builddir)/pre-inst-env \
|
image=`$(top_builddir)/pre-inst-env \
|
||||||
guix system disk-image \
|
guix system disk-image \
|
||||||
--file-system-type=iso9660 \
|
--file-system-type=iso9660 \
|
||||||
--system=$$system \
|
--system=$$system --fallback \
|
||||||
gnu/system/install.scm` ; \
|
gnu/system/install.scm` ; \
|
||||||
if [ ! -f "$$image" ] ; then \
|
if [ ! -f "$$image" ] ; then \
|
||||||
echo "failed to produced Guix installation image for $$system" >&2 ; \
|
echo "failed to produced Guix installation image for $$system" >&2 ; \
|
||||||
|
@ -807,7 +808,7 @@ release: dist
|
||||||
for system in $(GUIX_SYSTEM_VM_SYSTEMS) ; do \
|
for system in $(GUIX_SYSTEM_VM_SYSTEMS) ; do \
|
||||||
image=`$(top_builddir)/pre-inst-env \
|
image=`$(top_builddir)/pre-inst-env \
|
||||||
guix system vm-image $(GUIX_SYSTEM_VM_IMAGE_FLAGS) \
|
guix system vm-image $(GUIX_SYSTEM_VM_IMAGE_FLAGS) \
|
||||||
--system=$$system \
|
--system=$$system --fallback \
|
||||||
gnu/system/examples/vm-image.tmpl` ; \
|
gnu/system/examples/vm-image.tmpl` ; \
|
||||||
if [ ! -f "$$image" ] ; then \
|
if [ ! -f "$$image" ] ; then \
|
||||||
echo "failed to produced Guix VM image for $$system" >&2 ; \
|
echo "failed to produced Guix VM image for $$system" >&2 ; \
|
||||||
|
|
Loading…
Reference in a new issue