[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ISO-9660 image working and ready
From: |
Ludovic Courtès |
Subject: |
Re: ISO-9660 image working and ready |
Date: |
Tue, 18 Jul 2017 12:06:27 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) |
Hi!
Danny Milosavljevic <address@hidden> skribis:
>> Would you like to update the ‘release’ Makefile.am target as well as
>> “System Installation” in guix.texi to reflect that?
[...]
> Then something like the following?
>
> diff --git a/Makefile.am b/Makefile.am
> index 4d1512f8c..1d4364bce 100644
> --- a/Makefile.am
> +++ b/Makefile.am
> @@ -632,14 +632,15 @@ release: dist
> image=`$(top_builddir)/pre-inst-env
> \
> guix system disk-image
> \
> --system=$$system
> \
> + --file-system-type=iso9660
> \
> gnu/system/install.scm` ;
> \
> if [ ! -f "$$image" ] ; then
> \
> echo "failed to produced GuixSD installation image for $$system"
> >&2 ; \
> exit 1 ;
> \
> fi ;
> \
> - xz < "$$image" >
> "$(releasedir)/$(GUIXSD_IMAGE_BASE).$$system.xz.tmp" ; \
> + xz < "$$image"/guixsd.iso >
> "$(releasedir)/$(GUIXSD_IMAGE_BASE).$$system.xz.tmp" ; \
> mv "$(releasedir)/$(GUIXSD_IMAGE_BASE).$$system.xz.tmp"
> \
> - "$(releasedir)/$(GUIXSD_IMAGE_BASE).$$system.xz" ;
> \
> + "$(releasedir)/$(GUIXSD_IMAGE_BASE).$$system.iso.xz" ;
> \
> done
> for system in $(GUIXSD_VM_SYSTEMS) ; do
> \
> image=`$(top_builddir)/pre-inst-env
> \
Yes, but what about removing the “/guixsd.iso” suffix first, as
discussed in another thread?
We also need to pay attention to “System Installation” in guix.texi.
Ludo’.