diff options
| author | Mathieu Othacehe <othacehe@gnu.org> | 2021-01-19 18:09:28 +0100 |
|---|---|---|
| committer | Mathieu Othacehe <othacehe@gnu.org> | 2021-02-17 10:52:28 +0100 |
| commit | ee2a5da80a9bda25542c00a7a35a9ddddcbd58af (patch) | |
| tree | a578e04f14dad512d5f2bbc66aeedc463a3a94c5 /etc/completion | |
| parent | 43b2e440c38a39eb64088bd6c08771c060aa10fc (diff) | |
scripts: system: Remove 'vm-image' command.
Remove the 'vm-image' command that has been superseded by the 'image'
command.
* gnu/system/vm.scm (system-qemu-image): Remove it.
* guix/scripts/system.scm (system-derivation-for-action): Mark 'vm-image'
command as deprecated and use the image API to produce the VM image.
(perform-action, show-help): Adapt accordingly.
* tests/guix-system.sh: Ditto.
* doc/guix.texi (Invoking guix system,
Running Guix in a VM): Ditto.
* etc/completion/fish/guix.fish: Ditto.
* etc/completion/zsh/_guix: Ditto.
Diffstat (limited to 'etc/completion')
| -rw-r--r-- | etc/completion/fish/guix.fish | 7 | ||||
| -rw-r--r-- | etc/completion/zsh/_guix | 2 |
2 files changed, 4 insertions, 5 deletions
diff --git a/etc/completion/fish/guix.fish b/etc/completion/fish/guix.fish index 73bd1761123..422baab4bb1 100644 --- a/etc/completion/fish/guix.fish +++ b/etc/completion/fish/guix.fish | |||
| @@ -133,7 +133,7 @@ complete -f -c guix -n '__fish_guix_using_command pull' -l url -d 'download the | |||
| 133 | complete -f -c guix -n '__fish_guix_using_command pull' -l bootstrap -d 'use the bootstrap Guile to build the new Guix' | 133 | complete -f -c guix -n '__fish_guix_using_command pull' -l bootstrap -d 'use the bootstrap Guile to build the new Guix' |
| 134 | 134 | ||
| 135 | #### system | 135 | #### system |
| 136 | set -l remotecommands reconfigure roll-back switch-generation list-generations build container vm vm-image disk-image init extension-graph shepherd-graph load-path keep-failed keep-going dry-run fallback no-substitutes substitutes-urls no-grafts no-offload max-silent-time timeout verbosity rounds cores max-jobs derivation on-error image-size no-grub share expose full-boot | 136 | set -l remotecommands reconfigure roll-back switch-generation list-generations build container vm image init extension-graph shepherd-graph load-path keep-failed keep-going dry-run fallback no-substitutes substitutes-urls no-grafts no-offload max-silent-time timeout verbosity rounds cores max-jobs derivation on-error image-size no-grub share expose full-boot |
| 137 | complete -f -c guix -n '__fish_guix_needs_command' -a system -d 'Build the operating system declared in FILE according to ACTION.' | 137 | complete -f -c guix -n '__fish_guix_needs_command' -a system -d 'Build the operating system declared in FILE according to ACTION.' |
| 138 | complete -f -c guix -n '__fish_guix_using_command system' -l reconfigure -d 'switch to a new operating system configuration' | 138 | complete -f -c guix -n '__fish_guix_using_command system' -l reconfigure -d 'switch to a new operating system configuration' |
| 139 | complete -f -c guix -n '__fish_guix_using_command system' -l roll-back -d 'switch to the previous operating system configuration' | 139 | complete -f -c guix -n '__fish_guix_using_command system' -l roll-back -d 'switch to the previous operating system configuration' |
| @@ -142,8 +142,7 @@ complete -f -c guix -n '__fish_guix_using_command system' -l list-generations -d | |||
| 142 | complete -f -c guix -n '__fish_guix_using_command system' -l build -d 'build the operating system without installing anything' | 142 | complete -f -c guix -n '__fish_guix_using_command system' -l build -d 'build the operating system without installing anything' |
| 143 | complete -f -c guix -n '__fish_guix_using_command system' -l container -d 'build a container that shares the host\'s store' | 143 | complete -f -c guix -n '__fish_guix_using_command system' -l container -d 'build a container that shares the host\'s store' |
| 144 | complete -f -c guix -n '__fish_guix_using_command system' -l vm -d 'build a virtual machine image that shares the host\'s store' | 144 | complete -f -c guix -n '__fish_guix_using_command system' -l vm -d 'build a virtual machine image that shares the host\'s store' |
| 145 | complete -f -c guix -n '__fish_guix_using_command system' -l vm-image -d 'build a freestanding virtual machine image' | 145 | complete -f -c guix -n '__fish_guix_using_command system' -l image -d 'build a disk image, suitable for a USB stick' |
| 146 | complete -f -c guix -n '__fish_guix_using_command system' -l disk-image -d 'build a disk image, suitable for a USB stick' | ||
| 147 | complete -f -c guix -n '__fish_guix_using_command system' -l init -d 'initialize a root file system to run GNU' | 146 | complete -f -c guix -n '__fish_guix_using_command system' -l init -d 'initialize a root file system to run GNU' |
| 148 | complete -f -c guix -n '__fish_guix_using_command system' -l extension-graph -d 'emit the service extension graph in Dot format' | 147 | complete -f -c guix -n '__fish_guix_using_command system' -l extension-graph -d 'emit the service extension graph in Dot format' |
| 149 | complete -f -c guix -n '__fish_guix_using_command system' -l shepherd-graph -d 'emit the graph of shepherd services in Dot format' | 148 | complete -f -c guix -n '__fish_guix_using_command system' -l shepherd-graph -d 'emit the graph of shepherd services in Dot format' |
| @@ -167,7 +166,7 @@ complete -f -c guix -n '__fish_guix_using_command system' -s M -d 'allow at most | |||
| 167 | complete -f -c guix -n '__fish_guix_using_command system' -a "--max-jobs=" -d 'allow at most N build jobs' | 166 | complete -f -c guix -n '__fish_guix_using_command system' -a "--max-jobs=" -d 'allow at most N build jobs' |
| 168 | complete -f -c guix -n '__fish_guix_using_command system' -s d -l derivation -d 'return the derivation of the given system' | 167 | complete -f -c guix -n '__fish_guix_using_command system' -s d -l derivation -d 'return the derivation of the given system' |
| 169 | complete -f -c guix -n '__fish_guix_using_command system' -a "--on-error=" -d 'apply STRATEGY when an error occurs while reading FILE' | 168 | complete -f -c guix -n '__fish_guix_using_command system' -a "--on-error=" -d 'apply STRATEGY when an error occurs while reading FILE' |
| 170 | complete -f -c guix -n '__fish_guix_using_command system' -a "--image-size=" -d 'for \'vm-image\', produce an image of SIZE' | 169 | complete -f -c guix -n '__fish_guix_using_command system' -a "--image-size=" -d 'for \'image\', produce an image of SIZE' |
| 171 | complete -f -c guix -n '__fish_guix_using_command system' -l no-grub -d 'for \'init\', do not install GRUB' | 170 | complete -f -c guix -n '__fish_guix_using_command system' -l no-grub -d 'for \'init\', do not install GRUB' |
| 172 | complete -f -c guix -n '__fish_guix_using_command system' -a "--share=" -d 'for \'vm\', share host file system according to SPEC' | 171 | complete -f -c guix -n '__fish_guix_using_command system' -a "--share=" -d 'for \'vm\', share host file system according to SPEC' |
| 173 | complete -f -c guix -n '__fish_guix_using_command system' -a "--expose=" -d 'for \'vm\', expose host file system according to SPEC' | 172 | complete -f -c guix -n '__fish_guix_using_command system' -a "--expose=" -d 'for \'vm\', expose host file system according to SPEC' |
diff --git a/etc/completion/zsh/_guix b/etc/completion/zsh/_guix index ae93b62b1d4..aa1a859e0dd 100644 --- a/etc/completion/zsh/_guix +++ b/etc/completion/zsh/_guix | |||
| @@ -383,7 +383,7 @@ _guix_list_installed_packages() | |||
| 383 | '--max-jobs=[allow at most N build jobs]:N' \ | 383 | '--max-jobs=[allow at most N build jobs]:N' \ |
| 384 | '--derivation[return the derivation of the given system]' \ | 384 | '--derivation[return the derivation of the given system]' \ |
| 385 | '--on-error=[apply STRATEGY when an error occurs while reading FILE]:STRATEGY' \ | 385 | '--on-error=[apply STRATEGY when an error occurs while reading FILE]:STRATEGY' \ |
| 386 | '--image-size=[for "vm-image", produce an image of SIZE]:SIZE' \ | 386 | '--image-size=[for "image", produce an image of SIZE]:SIZE' \ |
| 387 | '--no-grub[for "init", do not install GRUB]' \ | 387 | '--no-grub[for "init", do not install GRUB]' \ |
| 388 | '--share=[for "vm", share host file system according to SPEC]:SPEC' \ | 388 | '--share=[for "vm", share host file system according to SPEC]:SPEC' \ |
| 389 | '--expose=[for "vm", expose host file system according to SPEC]:SPEC' \ | 389 | '--expose=[for "vm", expose host file system according to SPEC]:SPEC' \ |
