Skip to contentSkip to conversation

systemd: inherit pythonnative

PATCH In review Martin Jansa 1 participant 3 messages Oct 23, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 systemd: inherit pythonnative

* otherwise configure uses python-config from host and passes wrong CFLAGS see http://lists.linuxtogo.org/pipermail/openembedded-devel/2012-October/042058.html
for details

---
 meta-systemd/recipes-core/systemd/systemd_git.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta-systemd/recipes-core/systemd/systemd_git.bb +2 -2
index efc2d95..b89bd76 100644
@@ -19,9 +19,9 @@ inherit gitpkgv
 PKGV = "v${GITPKGVTAG}"
 
 PV = "git"
-PR = "r8"
+PR = "r9"
 
-inherit useradd pkgconfig autotools perlnative
+inherit useradd pkgconfig autotools perlnative pythonnative
 
 SRCREV = "4d92e078e9d7e9a9d346065ea5e4afbafbdadb48"
 SRC_URI = "git://anongit.freedesktop.org/systemd/systemd;protocol=git \
Signature · 1 line
1.7.12.4
#1 lore raw
Quoted 14 lines · Martin Jansa

* otherwise configure uses python-config from host and passes wrong CFLAGS see http://lists.linuxtogo.org/pipermail/openembedded-devel/2012-October/042058.html
for details

---
 meta-systemd/recipes-core/systemd/systemd_git.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta-systemd/recipes-core/systemd/systemd_git.bb +0 -0
index efc2d95..b89bd76 100644

meta-systemd/recipes-core/systemd/systemd_git.bb inherit gitpkgv · line 24

Quoted 8 lines
meta-systemd/recipes-core/systemd/systemd_git.bb +2 -2
@@ -19,9 +19,9 @@ inherit gitpkgv
 PKGV = "v${GITPKGVTAG}"
 
 PV = "git"
-PR = "r8"
+PR = "r9"
 
-inherit useradd pkgconfig autotools perlnative
+inherit useradd pkgconfig autotools perlnative pythonnative

Ah, ignore this one.. python-config from native is not right one to use too. It fails a bit later when looking for Python.h..

Anyone against disabling python in systemd? AC_ARG_WITH([python],
[AS_HELP_STRING([--without-python], [Disable building the man
page index and systemd-python (default: test)])])

Cheers,

Quoted 6 lines
meta-systemd/recipes-core/systemd/systemd_git.bb +0 -0
 SRCREV = "4d92e078e9d7e9a9d346065ea5e4afbafbdadb48"
 SRC_URI = "git://anongit.freedesktop.org/systemd/systemd;protocol=git \
Signature · 1 line
1.7.12.4
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#2 lore raw

PATCH 1/1 systemd: disable python

* otherwise configure uses python-config from host and passes wrong CFLAGS see http://lists.linuxtogo.org/pipermail/openembedded-devel/2012-October/042058.html
for details

---
 meta-systemd/recipes-core/systemd/systemd_git.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
meta-systemd/recipes-core/systemd/systemd_git.bb +2 -1
index efc2d95..6deda82 100644
@@ -19,7 +19,7 @@ inherit gitpkgv
 PKGV = "v${GITPKGVTAG}"
 
 PV = "git"
-PR = "r8"
+PR = "r9"
 
 inherit useradd pkgconfig autotools perlnative
 
@@ -67,6 +67,7 @@ EXTRA_OECONF = " --with-distro=${SYSTEMDDISTRO} \
                  --disable-tcpwrap \
                  --enable-split-usr \
                  --disable-microhttpd \
+                 --without-python \
                "
 
 # There's no docbook-xsl-native, so for the xsltproc check to false
Signature · 1 line
1.7.12.4