OSDN Git Service

configure: Add 'mkdir build' check
authorDinah Baum <dinahbaum123@gmail.com>
Tue, 21 Feb 2023 11:06:30 +0000 (06:06 -0500)
committerThomas Huth <thuth@redhat.com>
Mon, 27 Feb 2023 08:15:39 +0000 (09:15 +0100)
commitf160a5b25b33b69b089815cfd435aa3199497984
tree831b490b003305502720f3992eb3b795fd20f047
parentc8db90b86d0849b59452b8cac5b477bb65dcb6a1
configure: Add 'mkdir build' check

QEMU configure script goes into an infinite error printing loop
when in read only directory due to 'build' dir never being created.

Checking if 'mkdir dir' succeeds prevents this error.

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/321
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Dinah Baum <dinahbaum123@gmail.com>
Message-Id: <20230221110631.4142-1-dinahbaum123@gmail.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
[thuth: Remove second "touch $MARKER"]
Signed-off-by: Thomas Huth <thuth@redhat.com>
configure