Skip to contentSkip to conversation

nativesdk-qtbase.inc: avoid removing directories, namely /usr/lib itself

PATCH Superseded Denys Dmytriyenko 2 participants 4 messages Nov 14, 2014 – Dec 9, 2014

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 nativesdk-qtbase.inc: avoid removing directories, namely /usr/lib itself

From: Denys Dmytriyenko <[email protected]>

---
 recipes-qt/qt5/nativesdk-qtbase.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-qt/qt5/nativesdk-qtbase.inc +1 -1
index 6f1f880..06fb049 100644
@@ -230,7 +230,7 @@ do_install() {
            ${D}/${OE_QMAKE_PATH_PLUGINS} \
            ${D}${libdir}/cmake \
            ${D}${libdir}/pkgconfig
-    find ${D}${libdir} -maxdepth 1 -name 'lib*' -and \
+    find ${D}${libdir} -maxdepth 1 -name 'lib*' -and -not -type d \
                                    -not -name 'libQt5Core.so*' -and \
                                    ${QTLIBSPRESERVE} \
                                    -not -name 'libQt5Bootstrap.a' \
Signature · 1 line
2.1.2
#1 lore raw

ping

Quoted 28 lines · Denys Dmytriyenko

From: Denys Dmytriyenko <[email protected]>

---
 recipes-qt/qt5/nativesdk-qtbase.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-qt/qt5/nativesdk-qtbase.inc +1 -1
index 6f1f880..06fb049 100644
@@ -230,7 +230,7 @@ do_install() {
            ${D}/${OE_QMAKE_PATH_PLUGINS} \
            ${D}${libdir}/cmake \
            ${D}${libdir}/pkgconfig
-    find ${D}${libdir} -maxdepth 1 -name 'lib*' -and \
+    find ${D}${libdir} -maxdepth 1 -name 'lib*' -and -not -type d \
                                    -not -name 'libQt5Core.so*' -and \
                                    ${QTLIBSPRESERVE} \
                                    -not -name 'libQt5Bootstrap.a' \
Signature · 7 lines
2.1.2

-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
#2 lore raw

ping^2

Quoted 36 lines · Denys Dmytriyenko

ping

Quoted 28 lines · Denys Dmytriyenko

From: Denys Dmytriyenko <[email protected]>

---
 recipes-qt/qt5/nativesdk-qtbase.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-qt/qt5/nativesdk-qtbase.inc +1 -1
index 6f1f880..06fb049 100644
@@ -230,7 +230,7 @@ do_install() {
            ${D}/${OE_QMAKE_PATH_PLUGINS} \
            ${D}${libdir}/cmake \
            ${D}${libdir}/pkgconfig
-    find ${D}${libdir} -maxdepth 1 -name 'lib*' -and \
+    find ${D}${libdir} -maxdepth 1 -name 'lib*' -and -not -type d \
                                    -not -name 'libQt5Core.so*' -and \
                                    ${QTLIBSPRESERVE} \
                                    -not -name 'libQt5Bootstrap.a' \
Signature · 7 lines
2.1.2

-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 4 lines
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
#3 lore raw
Quoted 5 lines · Denys Dmytriyenko
Quoted 4 lines · Denys Dmytriyenko

recipes-qt/qt5/nativesdk-qtbase.inc do_install() { · line 233

Quoted 3 lines · Denys Dmytriyenko

From: Denys Dmytriyenko <[email protected]>

recipes-qt/qt5/nativesdk-qtbase.inc +1 -1
-    find ${D}${libdir} -maxdepth 1 -name 'lib*' -and \
+    find ${D}${libdir} -maxdepth 1 -name 'lib*' -and -not -type d \

Shouldn't there be an additional -and in here at the end of the line?

Cheers,
Anders

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
                                    -not -name 'libQt5Core.so*' -and \
                                    ${QTLIBSPRESERVE} \
                                    -not -name 'libQt5Bootstrap.a' \
Signature · 2 lines
Anders Darander
ChargeStorm AB / eStorm AB