[OE-core] [PATCH 1/6] runqemu: Use OE_TMPDIR

Khem Raj raj.khem at gmail.com
Mon May 14 22:40:47 UTC 2012


On Mon, May 14, 2012 at 3:34 PM, Mark Hatle <mark.hatle at windriver.com> wrote:
> --- a/scripts/runqemu
> +++ b/scripts/runqemu
> @@ -300,14 +300,16 @@ findimage() {
>     # recently created one is the one we most likely want to boot.
>     filenames=`ls -t $where/*-image*$machine.$extension 2>/dev/null | xargs`
>     for name in $filenames; do
> -        if [ "$name" =~ core-image-sato-sdk -o \
> -              "$name" =~ core-image-sato     -o \
> -              "$name" =~ core-image-lsb      -o \
> -              "$name" =~ core-image-basic    -o \
> -              "$name" =~ core-image-minimal ]; then
> +       case $name in
> +          *core-image-sato-sdk* | \
> +          *core-image-sato* | \
> +          *core-image-lsb* | \
> +          *core-image-basic* | \
> +          *core-image-minimal*)
>             ROOTFS=$name
>             return
> -        fi
> +           ;;
> +       esac
>     done
>
>     echo "Couldn't find a $machine rootfs image in $where."

thats a better thing can you formulate it into a patch please.




More information about the Openembedded-core mailing list