diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2021-01-29 09:52:15 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2021-01-29 15:48:16 +0100 |
| commit | 536094275dcdd385d6ec666edfb9644f6842ab96 (patch) | |
| tree | ae706fa0a770087336283d1dbdacac7cf6ccd5ef /tools/create-gce-image.sh | |
| parent | 0f7bddaaec6eb9e451109a98aac8e43e09a2211c (diff) | |
tools/create-gce-image.sh: remove unused SYZ_VM_TYPE
Diffstat (limited to 'tools/create-gce-image.sh')
| -rwxr-xr-x | tools/create-gce-image.sh | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/tools/create-gce-image.sh b/tools/create-gce-image.sh index 86aa8ef36..d569abcb9 100755 --- a/tools/create-gce-image.sh +++ b/tools/create-gce-image.sh @@ -16,11 +16,6 @@ # Usage: # ./create-gce-image.sh /dir/with/user/space/system /path/to/{zImage,bzImage} [arch] # -# SYZ_VM_TYPE env var controls type of target test machine. Supported values: -# - qemu (default) -# - gce -# Needs nbd support in kernel and qemu-utils (qemu-nbd) installed. -# # If SYZ_SYSCTL_FILE env var is set and points to a file, # then its contents will be appended to the image /etc/sysctl.conf. # If SYZ_CMDLINE_FILE env var is set and points to a file, @@ -71,16 +66,6 @@ if [ "$(basename $2)" != "$KERNEL_IMAGE_BASENAME" ]; then exit 1 fi -SYZ_VM_TYPE="${SYZ_VM_TYPE:-qemu}" -if [ "$SYZ_VM_TYPE" == "qemu" ]; then - : -elif [ "$SYZ_VM_TYPE" == "gce" ]; then - : -else - echo "SYZ_VM_TYPE has unsupported value $SYZ_VM_TYPE" - exit 1 -fi - # qemu-nbd is broken on Debian with: # Calling ioctl() to re-read partition table. # Re-reading the partition table failed.: Invalid argument |
