]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
db: fix uninative build dankm/cft-patchelf
authorDaniel McGregor <daniel.mcgregor@vecima.com>
Thu, 7 Jul 2016 14:41:54 +0000 (08:41 -0600)
committerDaniel McGregor <daniel.mcgregor@vecima.com>
Fri, 8 Jul 2016 18:34:49 +0000 (12:34 -0600)
Add write permissions in the native cases. patchelf 0.9 no
longer overwrites read-only files.

Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com>
meta/recipes-support/db/db_6.0.30.bb

index 018dd58f678c80c236ea74ed16eb9c9346a977a1..95c1a4398bf3bbeb2932cbfe67855d1423a4789c 100644 (file)
@@ -117,6 +117,14 @@ do_install_append() {
        chown -R root:root ${D}
 }
 
+do_install_append_class-native() {
+       chmod -R u+w ${D}
+}
+
+do_install_append_class-nativesdk() {
+       chmod -R u+w ${D}
+}
+
 INSANE_SKIP_${PN} = "dev-so"
 INSANE_SKIP_${PN}-cxx = "dev-so"