[PATCH 1/2] scripts: Handle ppc64le machine name in mkstandalone

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The query for machine type in `mkstandalone` is missing the `ppc64le`
fixture. This patch uses the version from `configure` which should
contain all fixtures.

Signed-off-by: Lukáš Doktor <ldoktor@xxxxxxxxxx>
---
 scripts/mkstandalone.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/mkstandalone.sh b/scripts/mkstandalone.sh
index ef15bc8..26094df 100755
--- a/scripts/mkstandalone.sh
+++ b/scripts/mkstandalone.sh
@@ -40,7 +40,7 @@ generate_test ()
 
 	echo "#!/bin/bash"
 	echo "export STANDALONE=yes"
-	echo "export HOST=\$(uname -m | sed -e s/i.86/i386/ | sed -e 's/arm.*/arm/')"
+	echo "export HOST=\$(uname -m | sed -e 's/i.86/i386/;s/arm.*/arm/;s/ppc64.*/ppc64/')"
 	echo "export PRETTY_PRINT_STACKS=no"
 
 	config_export ARCH
-- 
2.5.5

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux