Skip to contentSkip to conversation

packagekit: Change recipe to use native mkdir

PATCH In review Bill Pittman 2 participants 2 messages Dec 18, 2014 – Jan 5, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 packagekit: Change recipe to use native mkdir

For redhat type systems, the recipe tries to use a version of mkdir from sysroots, however mkdir does not exist and the build fails. Ubuntu systems work because the sed command in the recipe specifically replaces the /usr/bin/mkdir path and ubuntu systems use /bin/mkdir.

---
 meta-oe/recipes-devtools/packagekit/packagekit_0.5.6.bb | 1 -
 1 file changed, 1 deletion(-)
meta-oe/recipes-devtools/packagekit/packagekit_0.5.6.bb +0 -1
index 96cc468..59b0a43 100644
@@ -41,7 +41,6 @@ EXTRA_OECONF = "--with-security-framework=dummy \
 do_configure_append() {
     for i in $(find . -name Makefile) ; do
         sed -i -e s:${STAGING_DIR_NATIVE}::g \
-               -e s:${bindir}/mkdir:${STAGING_BINDIR_NATIVE}/mkdir:g \
                -e s:/usr/bin/intltool-merge:${STAGING_BINDIR_NATIVE}/intltool-merge:g \
                $i
     done
Signature · 1 line
1.9.1
#1 lore raw
Quoted 4 lines · Bill Pittman

For redhat type systems, the recipe tries to use a version of mkdir from sysroots, however mkdir does not exist and the build fails. Ubuntu systems work because the sed command in the recipe specifically replaces the /usr/bin/mkdir path and ubuntu systems use /bin/mkdir.

If you care about packagekit, can you please also check this QA issue?

packagekit-0.5.6: packagekit requires /bin/bash, but no providers in its RDEPENDS [file-rdeps]

Quoted 26 lines
---
 meta-oe/recipes-devtools/packagekit/packagekit_0.5.6.bb | 1 -
 1 file changed, 1 deletion(-)
meta-oe/recipes-devtools/packagekit/packagekit_0.5.6.bb +0 -1
index 96cc468..59b0a43 100644
@@ -41,7 +41,6 @@ EXTRA_OECONF = "--with-security-framework=dummy \
 do_configure_append() {
     for i in $(find . -name Makefile) ; do
         sed -i -e s:${STAGING_DIR_NATIVE}::g \
-               -e s:${bindir}/mkdir:${STAGING_BINDIR_NATIVE}/mkdir:g \
                -e s:/usr/bin/intltool-merge:${STAGING_BINDIR_NATIVE}/intltool-merge:g \
                $i
     done
Signature · 7 lines
1.9.1

-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]