diff options
| author | Ludovic Courtès <ludo@gnu.org> | 2019-03-13 16:24:36 +0100 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2019-03-13 23:12:43 +0100 |
| commit | 13f62aef2d87dc888f89fea3260eaa39938e6640 (patch) | |
| tree | 2e57fff3aebfbf2f183b91d9bd226b30ae6c6b53 | |
| parent | fd4c7a098a508c1de7a8513c0f3d88d5a0df12e7 (diff) | |
maint: Change Guix System file names from guixsd-*.
* Makefile.am (GUIXSD_SUPPORTED_SYSTEMS): Rename to...
(GUIX_SYSTEM_SUPPORTED_SYSTEMS): ... this.
(GUIXSD_VM_SYSTEMS): Rename to...
(GUIX_SYSTEM_VM_SYSTEMS): ... this.
(GUIXSD_IMAGE_BASE): Rename to...
(GUIX_SYSTEM_IMAGE_BASE): ... this. Change "guixsd-" to "guix-system-".
(GUIXSD_VM_IMAGE_BASE): Rename to...
(GUIX_SYSTEM_VM_IMAGE_BASE): ... this. Change "guixsd-" to
"guix-system-".
(release): Adjust accordingly.
* doc/guix.texi (USB Stick and DVD Installation)
(Installing Guix in a VM, Invoking guix system)
(Running Guix in a VM): Adjust file names accordingly.
| -rw-r--r-- | Makefile.am | 38 | ||||
| -rw-r--r-- | doc/guix.texi | 20 |
2 files changed, 29 insertions, 29 deletions
diff --git a/Makefile.am b/Makefile.am index cf35770ba75..e7109ec69c5 100644 --- a/Makefile.am +++ b/Makefile.am | |||
| @@ -661,17 +661,17 @@ SUPPORTED_SYSTEMS ?= x86_64-linux i686-linux armhf-linux aarch64-linux | |||
| 661 | BINARY_TARBALLS = \ | 661 | BINARY_TARBALLS = \ |
| 662 | $(foreach system,$(SUPPORTED_SYSTEMS),guix-binary.$(system).tar.xz) | 662 | $(foreach system,$(SUPPORTED_SYSTEMS),guix-binary.$(system).tar.xz) |
| 663 | 663 | ||
| 664 | # Systems supported by GuixSD. | 664 | # Systems supported by Guix System. |
| 665 | GUIXSD_SUPPORTED_SYSTEMS ?= x86_64-linux i686-linux | 665 | GUIX_SYSTEM_SUPPORTED_SYSTEMS ?= x86_64-linux i686-linux |
| 666 | 666 | ||
| 667 | # Systems for which we build GuixSD VMs. | 667 | # Systems for which we build Guix VMs. |
| 668 | GUIXSD_VM_SYSTEMS ?= x86_64-linux | 668 | GUIX_SYSTEM_VM_SYSTEMS ?= x86_64-linux |
| 669 | 669 | ||
| 670 | # Prefix of the GuixSD installation image file name. | 670 | # Prefix of the Guix installation image file name. |
| 671 | GUIXSD_IMAGE_BASE = guixsd-install-$(PACKAGE_VERSION) | 671 | GUIX_SYSTEM_IMAGE_BASE = guix-system-install-$(PACKAGE_VERSION) |
| 672 | 672 | ||
| 673 | # Prefix of the GuixSD VM image file name. | 673 | # Prefix of the Guix VM image file name. |
| 674 | GUIXSD_VM_IMAGE_BASE = guixsd-vm-image-$(PACKAGE_VERSION) | 674 | GUIX_SYSTEM_VM_IMAGE_BASE = guix-system-vm-image-$(PACKAGE_VERSION) |
| 675 | 675 | ||
| 676 | # The release process works in several phases: | 676 | # The release process works in several phases: |
| 677 | # | 677 | # |
| @@ -680,7 +680,7 @@ GUIXSD_VM_IMAGE_BASE = guixsd-vm-image-$(PACKAGE_VERSION) | |||
| 680 | # 2. Update the 'guix' package so that it corresponds to the 'vX.Y' tag. | 680 | # 2. Update the 'guix' package so that it corresponds to the 'vX.Y' tag. |
| 681 | # 3. Build the binary tarballs for that 'guix' package. | 681 | # 3. Build the binary tarballs for that 'guix' package. |
| 682 | # 4. Update the 'guix' package again. | 682 | # 4. Update the 'guix' package again. |
| 683 | # 5. Build the GuixSD installation images. The images will run 'guix' | 683 | # 5. Build the installation images. The images will run 'guix' |
| 684 | # corresponding to 'vX.Y' + 1 commit, and they will install 'vX.Y'. | 684 | # corresponding to 'vX.Y' + 1 commit, and they will install 'vX.Y'. |
| 685 | # | 685 | # |
| 686 | # This 'release' target takes care of everything and copies the resulting | 686 | # This 'release' target takes care of everything and copies the resulting |
| @@ -713,32 +713,32 @@ release: dist | |||
| 713 | "`git rev-parse HEAD`" | 713 | "`git rev-parse HEAD`" |
| 714 | git add $(top_srcdir)/gnu/packages/package-management.scm | 714 | git add $(top_srcdir)/gnu/packages/package-management.scm |
| 715 | git commit -m "gnu: guix: Update to `git rev-parse HEAD | cut -c1-7`." | 715 | git commit -m "gnu: guix: Update to `git rev-parse HEAD | cut -c1-7`." |
| 716 | for system in $(GUIXSD_SUPPORTED_SYSTEMS) ; do \ | 716 | for system in $(GUIX_SYSTEM_SUPPORTED_SYSTEMS) ; do \ |
| 717 | image=`$(top_builddir)/pre-inst-env \ | 717 | image=`$(top_builddir)/pre-inst-env \ |
| 718 | guix system disk-image \ | 718 | guix system disk-image \ |
| 719 | --file-system-type=iso9660 \ | 719 | --file-system-type=iso9660 \ |
| 720 | --system=$$system \ | 720 | --system=$$system \ |
| 721 | gnu/system/install.scm` ; \ | 721 | gnu/system/install.scm` ; \ |
| 722 | if [ ! -f "$$image" ] ; then \ | 722 | if [ ! -f "$$image" ] ; then \ |
| 723 | echo "failed to produced GuixSD installation image for $$system" >&2 ; \ | 723 | echo "failed to produced Guix installation image for $$system" >&2 ; \ |
| 724 | exit 1 ; \ | 724 | exit 1 ; \ |
| 725 | fi ; \ | 725 | fi ; \ |
| 726 | xz < "$$image" > "$(releasedir)/$(GUIXSD_IMAGE_BASE).$$system.iso.xz.tmp" ; \ | 726 | xz < "$$image" > "$(releasedir)/$(GUIX_SYSTEM_IMAGE_BASE).$$system.iso.xz.tmp" ; \ |
| 727 | mv "$(releasedir)/$(GUIXSD_IMAGE_BASE).$$system.iso.xz.tmp" \ | 727 | mv "$(releasedir)/$(GUIX_SYSTEM_IMAGE_BASE).$$system.iso.xz.tmp" \ |
| 728 | "$(releasedir)/$(GUIXSD_IMAGE_BASE).$$system.iso.xz" ; \ | 728 | "$(releasedir)/$(GUIX_SYSTEM_IMAGE_BASE).$$system.iso.xz" ; \ |
| 729 | done | 729 | done |
| 730 | for system in $(GUIXSD_VM_SYSTEMS) ; do \ | 730 | for system in $(GUIX_SYSTEM_VM_SYSTEMS) ; do \ |
| 731 | image=`$(top_builddir)/pre-inst-env \ | 731 | image=`$(top_builddir)/pre-inst-env \ |
| 732 | guix system vm-image \ | 732 | guix system vm-image \ |
| 733 | --system=$$system \ | 733 | --system=$$system \ |
| 734 | gnu/system/examples/vm-image.tmpl` ; \ | 734 | gnu/system/examples/vm-image.tmpl` ; \ |
| 735 | if [ ! -f "$$image" ] ; then \ | 735 | if [ ! -f "$$image" ] ; then \ |
| 736 | echo "failed to produced GuixSD VM image for $$system" >&2 ; \ | 736 | echo "failed to produced Guix VM image for $$system" >&2 ; \ |
| 737 | exit 1 ; \ | 737 | exit 1 ; \ |
| 738 | fi ; \ | 738 | fi ; \ |
| 739 | xz < "$$image" > "$(releasedir)/$(GUIXSD_VM_IMAGE_BASE).$$system.xz.tmp" ; \ | 739 | xz < "$$image" > "$(releasedir)/$(GUIX_SYSTEM_VM_IMAGE_BASE).$$system.xz.tmp" ; \ |
| 740 | mv "$(releasedir)/$(GUIXSD_VM_IMAGE_BASE).$$system.xz.tmp" \ | 740 | mv "$(releasedir)/$(GUIX_SYSTEM_VM_IMAGE_BASE).$$system.xz.tmp" \ |
| 741 | "$(releasedir)/$(GUIXSD_VM_IMAGE_BASE).$$system.xz" ; \ | 741 | "$(releasedir)/$(GUIX_SYSTEM_VM_IMAGE_BASE).$$system.xz" ; \ |
| 742 | done | 742 | done |
| 743 | @echo | 743 | @echo |
| 744 | @echo "Congratulations! All the release files are now in $(releasedir)." | 744 | @echo "Congratulations! All the release files are now in $(releasedir)." |
diff --git a/doc/guix.texi b/doc/guix.texi index 82cf2babb2d..cf0e6d0ca26 100644 --- a/doc/guix.texi +++ b/doc/guix.texi | |||
| @@ -1866,7 +1866,7 @@ about their support in GNU/Linux. | |||
| 1866 | 1866 | ||
| 1867 | An ISO-9660 installation image that can be written to a USB stick or | 1867 | An ISO-9660 installation image that can be written to a USB stick or |
| 1868 | burnt to a DVD can be downloaded from | 1868 | burnt to a DVD can be downloaded from |
| 1869 | @indicateurl{https://alpha.gnu.org/gnu/guix/guixsd-install-@value{VERSION}.@var{system}.iso.xz}, | 1869 | @indicateurl{https://alpha.gnu.org/gnu/guix/guix-system-install-@value{VERSION}.@var{system}.iso.xz}, |
| 1870 | where @var{system} is one of: | 1870 | where @var{system} is one of: |
| 1871 | 1871 | ||
| 1872 | @table @code | 1872 | @table @code |
| @@ -1882,8 +1882,8 @@ Make sure to download the associated @file{.sig} file and to verify the | |||
| 1882 | authenticity of the image against it, along these lines: | 1882 | authenticity of the image against it, along these lines: |
| 1883 | 1883 | ||
| 1884 | @example | 1884 | @example |
| 1885 | $ wget https://alpha.gnu.org/gnu/guix/guixsd-install-@value{VERSION}.@var{system}.iso.xz.sig | 1885 | $ wget https://alpha.gnu.org/gnu/guix/guix-system-install-@value{VERSION}.@var{system}.iso.xz.sig |
| 1886 | $ gpg --verify guixsd-install-@value{VERSION}.@var{system}.iso.xz.sig | 1886 | $ gpg --verify guix-system-install-@value{VERSION}.@var{system}.iso.xz.sig |
| 1887 | @end example | 1887 | @end example |
| 1888 | 1888 | ||
| 1889 | If that command fails because you do not have the required public key, | 1889 | If that command fails because you do not have the required public key, |
| @@ -1910,7 +1910,7 @@ To copy the image to a USB stick, follow these steps: | |||
| 1910 | Decompress the image using the @command{xz} command: | 1910 | Decompress the image using the @command{xz} command: |
| 1911 | 1911 | ||
| 1912 | @example | 1912 | @example |
| 1913 | xz -d guixsd-install-@value{VERSION}.@var{system}.iso.xz | 1913 | xz -d guix-system-install-@value{VERSION}.@var{system}.iso.xz |
| 1914 | @end example | 1914 | @end example |
| 1915 | 1915 | ||
| 1916 | @item | 1916 | @item |
| @@ -1919,7 +1919,7 @@ its device name. Assuming that the USB stick is known as @file{/dev/sdX}, | |||
| 1919 | copy the image with: | 1919 | copy the image with: |
| 1920 | 1920 | ||
| 1921 | @example | 1921 | @example |
| 1922 | dd if=guixsd-install-@value{VERSION}.@var{system}.iso of=/dev/sdX | 1922 | dd if=guix-system-install-@value{VERSION}.@var{system}.iso of=/dev/sdX |
| 1923 | sync | 1923 | sync |
| 1924 | @end example | 1924 | @end example |
| 1925 | 1925 | ||
| @@ -1935,7 +1935,7 @@ To copy the image to a DVD, follow these steps: | |||
| 1935 | Decompress the image using the @command{xz} command: | 1935 | Decompress the image using the @command{xz} command: |
| 1936 | 1936 | ||
| 1937 | @example | 1937 | @example |
| 1938 | xz -d guixsd-install-@value{VERSION}.@var{system}.iso.xz | 1938 | xz -d guix-system-install-@value{VERSION}.@var{system}.iso.xz |
| 1939 | @end example | 1939 | @end example |
| 1940 | 1940 | ||
| 1941 | @item | 1941 | @item |
| @@ -1944,7 +1944,7 @@ its device name. Assuming that the DVD drive is known as @file{/dev/srX}, | |||
| 1944 | copy the image with: | 1944 | copy the image with: |
| 1945 | 1945 | ||
| 1946 | @example | 1946 | @example |
| 1947 | growisofs -dvd-compat -Z /dev/srX=guixsd-install-@value{VERSION}.@var{system}.iso | 1947 | growisofs -dvd-compat -Z /dev/srX=guix-system-install-@value{VERSION}.@var{system}.iso |
| 1948 | @end example | 1948 | @end example |
| 1949 | 1949 | ||
| 1950 | Access to @file{/dev/srX} usually requires root privileges. | 1950 | Access to @file{/dev/srX} usually requires root privileges. |
| @@ -2364,7 +2364,7 @@ Boot the USB installation image in an VM: | |||
| 2364 | @example | 2364 | @example |
| 2365 | qemu-system-x86_64 -m 1024 -smp 1 \ | 2365 | qemu-system-x86_64 -m 1024 -smp 1 \ |
| 2366 | -net user -net nic,model=virtio -boot menu=on \ | 2366 | -net user -net nic,model=virtio -boot menu=on \ |
| 2367 | -drive file=guixsd-install-@value{VERSION}.@var{system}.iso \ | 2367 | -drive file=guix-system-install-@value{VERSION}.@var{system}.iso \ |
| 2368 | -drive file=guixsd.img | 2368 | -drive file=guixsd.img |
| 2369 | @end example | 2369 | @end example |
| 2370 | 2370 | ||
| @@ -23360,7 +23360,7 @@ system configuration file. You can then load the image and launch a | |||
| 23360 | Docker container using commands like the following: | 23360 | Docker container using commands like the following: |
| 23361 | 23361 | ||
| 23362 | @example | 23362 | @example |
| 23363 | image_id="$(docker load < guixsd-docker-image.tar.gz)" | 23363 | image_id="$(docker load < guix-system-docker-image.tar.gz)" |
| 23364 | docker run -e GUIX_NEW_SYSTEM=/var/guix/profiles/system \\ | 23364 | docker run -e GUIX_NEW_SYSTEM=/var/guix/profiles/system \\ |
| 23365 | --entrypoint /var/guix/profiles/system/profile/bin/guile \\ | 23365 | --entrypoint /var/guix/profiles/system/profile/bin/guile \\ |
| 23366 | $image_id /var/guix/profiles/system/boot | 23366 | $image_id /var/guix/profiles/system/boot |
| @@ -23546,7 +23546,7 @@ example graph. | |||
| 23546 | @cindex virtual machine | 23546 | @cindex virtual machine |
| 23547 | To run Guix in a virtual machine (VM), one can either use the | 23547 | To run Guix in a virtual machine (VM), one can either use the |
| 23548 | pre-built Guix VM image distributed at | 23548 | pre-built Guix VM image distributed at |
| 23549 | @indicateurl{https://alpha.gnu.org/gnu/guix/guixsd-vm-image-@value{VERSION}.@var{system}.xz} | 23549 | @indicateurl{https://alpha.gnu.org/gnu/guix/guix-system-vm-image-@value{VERSION}.@var{system}.xz} |
| 23550 | , or build their own virtual machine image using @command{guix system | 23550 | , or build their own virtual machine image using @command{guix system |
| 23551 | vm-image} (@pxref{Invoking guix system}). The returned image is in | 23551 | vm-image} (@pxref{Invoking guix system}). The returned image is in |
| 23552 | qcow2 format, which the @uref{http://qemu.org/, QEMU emulator} can | 23552 | qcow2 format, which the @uref{http://qemu.org/, QEMU emulator} can |
