On 19/01/2016 14:24, Radim Krčmář wrote: > ARCH depends on the built image, not on target's arch. > Use the value from config.mak. > > Signed-off-by: Radim Krčmář <rkrcmar@xxxxxxxxxx> > --- > scripts/mkstandalone.sh | 11 +---------- > 1 file changed, 1 insertion(+), 10 deletions(-) > > diff --git a/scripts/mkstandalone.sh b/scripts/mkstandalone.sh > index 5f9ef146208e..47d6e279d212 100755 > --- a/scripts/mkstandalone.sh > +++ b/scripts/mkstandalone.sh > @@ -53,17 +53,8 @@ function mkstandalone() > > echo "#!/bin/sh" > > -if [ "$arch" ]; then > - cat <<EOF > -ARCH=\`uname -m | sed -e s/i.86/i386/ | sed -e 's/arm.*/arm/'\` > -[ "\$ARCH" = "aarch64" ] && ARCH="arm64" > -if [ "\$ARCH" != "$arch" ]; then > - echo "skip $testname ($arch only)" 1>&2 > - exit 1 > -fi > + cat config.mak | grep '^ARCH=' Useless use of cat... so far nothing that I cannot fix myself. Paolo > > -EOF > -fi > if [ "$check" ]; then > cat <<EOF > for param in $check; do > -- 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