Message ID | 20221006112712.23062-3-liu.ming50@gmail.com |
---|---|
State | New |
Headers | show |
Series | bluez5: change configuration directory mode | expand |
diff --git a/meta/lib/oeqa/sdk/testsdk.py b/meta/lib/oeqa/sdk/testsdk.py index 35e40187bc..e0179c9849 100644 --- a/meta/lib/oeqa/sdk/testsdk.py +++ b/meta/lib/oeqa/sdk/testsdk.py @@ -101,6 +101,10 @@ class TestSDK(TestSDKBase): processes = None sdk_dir = d.expand("${WORKDIR}/testimage-sdk/") + + # Ensure the Test SDK directory is writable for all users. + subprocess.check_output(['chmod', 'ugo+w', '-R', sdk_dir], stderr=subprocess.STDOUT) + bb.utils.remove(sdk_dir, True) bb.utils.mkdirhier(sdk_dir)