All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-qt5][PATCH] nativesdk-qtbase: fix environment.d dir permission
@ 2018-04-16 13:43 c-thaler
  2018-04-18 11:33 ` Martin Jansa
  0 siblings, 1 reply; 3+ messages in thread
From: c-thaler @ 2018-04-16 13:43 UTC (permalink / raw)
  To: openembedded-devel

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



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [meta-qt5][PATCH] nativesdk-qtbase: fix environment.d dir permission
  2018-04-16 13:43 [meta-qt5][PATCH] nativesdk-qtbase: fix environment.d dir permission c-thaler
@ 2018-04-18 11:33 ` Martin Jansa
  2018-04-18 12:40   ` Christian Thaler
  0 siblings, 1 reply; 3+ messages in thread
From: Martin Jansa @ 2018-04-18 11:33 UTC (permalink / raw)
  To: c-thaler; +Cc: openembedded-devel

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@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@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [meta-qt5][PATCH] nativesdk-qtbase: fix environment.d dir permission
  2018-04-18 11:33 ` Martin Jansa
@ 2018-04-18 12:40   ` Christian Thaler
  0 siblings, 0 replies; 3+ messages in thread
From: Christian Thaler @ 2018-04-18 12:40 UTC (permalink / raw)
  To: Martin Jansa; +Cc: openembedded-devel

Thanks for the advice. I have signed-off the DCO now.
---
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.

Signed-off-by: Christian Thaler <christian.thaler@tes-dst.com>
---
  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

-------- Original Message --------
*Subject: *Re: [oe] [meta-qt5][PATCH] nativesdk-qtbase: fix 
environment.d dir permission
*From: *Martin Jansa <martin.jansa@gmail.com>
*To: *c-thaler <christian.thaler@tes-dst.com>
*Cc: *openembedded-devel <openembedded-devel@lists.openembedded.org>, 
Dennis Menschel <menschel-d@posteo.de>
*Date: *18.04.2018 13:33
> 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@tes-dst.com <mailto:christian.thaler@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
>     <http://nativesdk-qtbase_git.bb> | 2 +-
>      1 file changed, 1 insertion(+), 1 deletion(-)
>
>     diff --git a/recipes-qt/qt5/nativesdk-qtbase_git.bb
>     <http://nativesdk-qtbase_git.bb>
>     b/recipes-qt/qt5/nativesdk-qtbase_git.bb
>     <http://nativesdk-qtbase_git.bb>
>     index 5b20b0a..a678b19 100644
>     --- a/recipes-qt/qt5/nativesdk-qtbase_git.bb
>     <http://nativesdk-qtbase_git.bb>
>     +++ b/recipes-qt/qt5/nativesdk-qtbase_git.bb
>     <http://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@lists.openembedded.org
>     <mailto:Openembedded-devel@lists.openembedded.org>
>     http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>     <http://lists.openembedded.org/mailman/listinfo/openembedded-devel>
>
>
>
> ________________________________________________________________________
> This e-mail has been scanned for all viruses by Claranet. The
> service is powered by MessageLabs. For more information on a proactive
> anti-virus service working around the clock, around the globe, visit:
> http://www.claranet.co.uk
> ________________________________________________________________________

-- 
Christian Thaler
E-mail: christian.thaler@tes-dst.com
Frankenstrasse 3, D-20097 Hamburg
Phone +49 (0)40-411611-60

TES Electronic Solutions GmbH
Sitz: Stuttgart, Registergericht: Amtsgericht Stuttgart HRB 20239,
Geschäftsführung: Jürgen Zeller

Wichtig!!
Diese E-Mail kann Betriebs- und Geschäftsgeheimnisse oder sonstige
vertrauliche Informationen enthalten. Sollten Sie diese E-Mail irrtümlich
erhalten haben, ist Ihnen eine Kenntnisnahme des Inhalts, eine
Vervielfältigung oder Weitergabe der E-Mail ausdrücklich untersagt. Bitte
benachrichtigen Sie uns und vernichten Sie die E-Mail. Der Absender hat alle
erdenklichen Vorsichtsmaßnahmen getroffen, dass die Anlagen dieser E-Mail
frei von Computerviren o.ä. sind. Gleichwohl schließen wir die Haftung für
jeden Schaden aus, der durch Computerviren o.ä. verursacht wurde, soweit wir
nicht vorsätzlich oder grob fahrlässig gehandelt haben. Wir raten Ihnen,
dass Sie in jedem Fall Ihre eigene Virenprüfung vornehmen, bevor Sie die
Anlagen öffnen.
Vielen Dank.

Important!!
The information contained in this email message may be confidential
information. If you are not the intended recipient, any use, interference
with, disclosure or copying of this material is unauthorized and prohibited.
Please inform us immediately and destroy the email. We have taken every
reasonable precaution to ensure that any attachment to this eMail has been
swept for viruses. However, we cannot accept liability for any damage
sustained as a result of software viruses and would advice that you carry
out your own virus checks before opening any attachment.
Thank you for your cooperation.



^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-04-18 12:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-16 13:43 [meta-qt5][PATCH] nativesdk-qtbase: fix environment.d dir permission c-thaler
2018-04-18 11:33 ` Martin Jansa
2018-04-18 12:40   ` Christian Thaler

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.