[oe] [meta-qt5][PATCH] nativesdk-qtbase: fix environment.d dir permission

Martin Jansa martin.jansa at gmail.com
Wed Apr 18 11:33:58 UTC 2018


Missing Signed-off-by and I might take alternative fix for this:
https://patchwork.openembedded.org/patch/150133/

On Mon, Apr 16, 2018 at 3:43 PM, c-thaler <christian.thaler at tes-dst.com>
wrote:

> Fixed an issue with the nativesdk-cmake package, which sets the permission
> of
> /opt/.../environment.d to rwxr-xr-x.
> nativesdk-qtbase set the permission to rwxrwxr-x, leading to a conflict:
>
> Error: Transaction check error:
>   file /opt/poky/2.4.2/sysroots/x86_64-pokysdk-linux/environment-setup.d
>   conflicts between attempted installs of
>   nativesdk-cmake-3.8.2-r0.x86_64_nativesdk and
>   nativesdk-qtbase-tools-5.9.4+git0+0d9208cecb-r0.x86_64_nativesdk
>
> Recipe nativesdk-qtbase will now set the permission to rwxr-xr-x.
> ---
>  recipes-qt/qt5/nativesdk-qtbase_git.bb | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/recipes-qt/qt5/nativesdk-qtbase_git.bb b/recipes-qt/qt5/
> nativesdk-qtbase_git.bb
> index 5b20b0a..a678b19 100644
> --- a/recipes-qt/qt5/nativesdk-qtbase_git.bb
> +++ b/recipes-qt/qt5/nativesdk-qtbase_git.bb
> @@ -171,7 +171,7 @@ do_install() {
>  }
>
>  fakeroot do_generate_qt_environment_file() {
> -    mkdir -p ${D}${SDKPATHNATIVE}/environment-setup.d/
> +    install -d -m 755 ${D}${SDKPATHNATIVE}/environment-setup.d/
>      script=${D}${SDKPATHNATIVE}/environment-setup.d/qt5.sh
>
>      echo 'export PATH=${OE_QMAKE_PATH_HOST_BINS}:$PATH' > $script
> --
> 2.7.4
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>


More information about the Openembedded-devel mailing list