diff mbox

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

Message ID 1460374673-12492-2-git-send-email-ldoktor@redhat.com (mailing list archive)
State New, archived
Headers show

Commit Message

Lukáš Doktor April 11, 2016, 11:37 a.m. UTC
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@redhat.com>
---
 scripts/mkstandalone.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Andrew Jones April 11, 2016, 11:56 a.m. UTC | #1
On Mon, Apr 11, 2016 at 01:37:52PM +0200, Lukáš Doktor wrote:
> 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@redhat.com>
> ---
>  scripts/mkstandalone.sh | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)


Reviewed-by: Andrew Jones <drjones@redhat.com>

> 
> 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@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Paolo Bonzini May 10, 2016, 12:36 p.m. UTC | #2
On 11/04/2016 13:37, Lukáš Doktor wrote:
> 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@redhat.com>
> ---
>  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
> 

Queued this one, thanks.

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

Patch

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