Use double quotes so we can change the contents of the base imagebuilder config. Specifically, we'll want to remove the dom0 entries for a split hardware/control domain test.
Signed-off-by: Jason Andryuk <jason.andr...@amd.com> --- .../scripts/qemu-smoke-dom0less-arm64.sh | 34 +++++++++---------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/automation/scripts/qemu-smoke-dom0less-arm64.sh b/automation/scripts/qemu-smoke-dom0less-arm64.sh index f72d209361..439e07c90f 100755 --- a/automation/scripts/qemu-smoke-dom0less-arm64.sh +++ b/automation/scripts/qemu-smoke-dom0less-arm64.sh @@ -147,26 +147,26 @@ find . | cpio -H newc -o | gzip > ../binaries/dom0-rootfs.cpio.gz cd .. # ImageBuilder -echo 'MEMORY_START="0x40000000" -MEMORY_END="0x50000000" +echo "MEMORY_START='0x40000000' +MEMORY_END='0x50000000' -DEVICE_TREE="virt.dtb" -XEN="xen" -DOM0_KERNEL="Image" -DOM0_RAMDISK="dom0-rootfs.cpio.gz" -XEN_CMD="console=dtuart dom0_mem=512M console_timestamps=boot" +DEVICE_TREE='virt.dtb' +XEN='xen' +DOM0_KERNEL='Image' +DOM0_RAMDISK='dom0-rootfs.cpio.gz' +XEN_CMD='console=dtuart dom0_mem=512M console_timestamps=boot' NUM_DOMUS=1 -DOMU_KERNEL[0]="Image" -DOMU_RAMDISK[0]="initrd" -DOMU_MEM[0]="256" -DOMU_KERNEL[1]="Image" -DOMU_RAMDISK[1]="initrd" -DOMU_MEM[1]="256" - -LOAD_CMD="tftpb" -UBOOT_SOURCE="boot.source" -UBOOT_SCRIPT="boot.scr"' > binaries/config +DOMU_KERNEL[0]='Image' +DOMU_RAMDISK[0]='initrd' +DOMU_MEM[0]='256' +DOMU_KERNEL[1]='Image' +DOMU_RAMDISK[1]='initrd' +DOMU_MEM[1]='256' + +LOAD_CMD='tftpb' +UBOOT_SOURCE='boot.source' +UBOOT_SCRIPT='boot.scr'" > binaries/config if [[ "${test_variant}" == "static-mem" ]]; then echo -e "\nDOMU_STATIC_MEM[0]=\"${domu_base} ${domu_size}\"" >> binaries/config -- 2.48.1