summaryrefslogtreecommitdiffstats
path: root/meta-systemd
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2012-12-03 14:41:14 +0100
committerMartin Jansa <Martin.Jansa@gmail.com>2012-12-11 01:52:55 +0100
commit6f6b66780acf161407bbc9f46f74e31fe215939d (patch)
tree43975293cff9913038d01857e346dfc071aa5d57 /meta-systemd
parent76ef4020368c7f50e05f2989691d1b6c0499ad46 (diff)
downloadmeta-openembedded-6f6b66780acf161407bbc9f46f74e31fe215939d.tar.gz
systemd: reenable python and add python-systemd-journald
* we need inherit pythonnative to find right python-native Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-systemd')
-rw-r--r--meta-systemd/recipes-core/systemd/systemd_git.bb22
1 files changed, 15 insertions, 7 deletions
diff --git a/meta-systemd/recipes-core/systemd/systemd_git.bb b/meta-systemd/recipes-core/systemd/systemd_git.bb
index 51d337157..341e85d0c 100644
--- a/meta-systemd/recipes-core/systemd/systemd_git.bb
+++ b/meta-systemd/recipes-core/systemd/systemd_git.bb
@@ -19,9 +19,15 @@ inherit gitpkgv
19PKGV = "v${GITPKGVTAG}" 19PKGV = "v${GITPKGVTAG}"
20 20
21PV = "git" 21PV = "git"
22PR = "r10" 22PR = "r11"
23 23
24inherit useradd pkgconfig autotools perlnative 24# need to export these variables for python-config to work
25export BUILD_SYS
26export HOST_SYS
27export STAGING_INCDIR
28export STAGING_LIBDIR
29
30inherit useradd pkgconfig autotools perlnative pythonnative python-dir
25 31
26SRCREV = "4d92e078e9d7e9a9d346065ea5e4afbafbdadb48" 32SRCREV = "4d92e078e9d7e9a9d346065ea5e4afbafbdadb48"
27SRC_URI = "git://anongit.freedesktop.org/systemd/systemd;protocol=git \ 33SRC_URI = "git://anongit.freedesktop.org/systemd/systemd;protocol=git \
@@ -67,7 +73,7 @@ EXTRA_OECONF = " --with-distro=${SYSTEMDDISTRO} \
67 --disable-tcpwrap \ 73 --disable-tcpwrap \
68 --enable-split-usr \ 74 --enable-split-usr \
69 --disable-microhttpd \ 75 --disable-microhttpd \
70 --without-python \ 76 --with-python \
71 " 77 "
72 78
73# There's no docbook-xsl-native, so for the xsltproc check to false 79# There's no docbook-xsl-native, so for the xsltproc check to false
@@ -107,7 +113,7 @@ python populate_packages_prepend (){
107} 113}
108PACKAGES_DYNAMIC += "^lib(udev|gudev|systemd).*" 114PACKAGES_DYNAMIC += "^lib(udev|gudev|systemd).*"
109 115
110PACKAGES =+ "${PN}-gui ${PN}-vconsole-setup ${PN}-initramfs ${PN}-analyze" 116PACKAGES =+ "${PN}-gui ${PN}-vconsole-setup ${PN}-initramfs ${PN}-analyze python-${PN}-journal"
111 117
112USERADD_PACKAGES = "${PN}" 118USERADD_PACKAGES = "${PN}"
113GROUPADD_PARAM_${PN} = "-r lock" 119GROUPADD_PARAM_${PN} = "-r lock"
@@ -116,6 +122,9 @@ FILES_${PN}-analyze = "${bindir}/systemd-analyze"
116RDEPENDS_${PN}-analyze = "python-dbus" 122RDEPENDS_${PN}-analyze = "python-dbus"
117RRECOMMENDS_${PN}-analyze = "python-pycairo" 123RRECOMMENDS_${PN}-analyze = "python-pycairo"
118 124
125FILES_python-${PN}-journal = "${PYTHON_SITEPACKAGES_DIR}/systemd/*.py* ${PYTHON_SITEPACKAGES_DIR}/systemd/*.so"
126RDEPENDS_python-${PN}-journal = "python-core"
127
119FILES_${PN}-initramfs = "/init" 128FILES_${PN}-initramfs = "/init"
120RDEPENDS_${PN}-initramfs = "${PN}" 129RDEPENDS_${PN}-initramfs = "${PN}"
121 130
@@ -168,9 +177,8 @@ FILES_${PN} = " ${base_bindir}/* \
168 ${base_libdir}/udev/rules.d/73-seat-late.rules \ 177 ${base_libdir}/udev/rules.d/73-seat-late.rules \
169 ${base_libdir}/udev/rules.d/99-systemd.rules \ 178 ${base_libdir}/udev/rules.d/99-systemd.rules \
170 " 179 "
171 180FILES_${PN}-dbg += "${systemd_unitdir}/.debug ${systemd_unitdir}/*/.debug ${base_libdir}/security/.debug/ ${PYTHON_SITEPACKAGES_DIR}/systemd/.debug/"
172FILES_${PN}-dbg += "${systemd_unitdir}/.debug ${systemd_unitdir}/*/.debug ${base_libdir}/security/.debug/" 181FILES_${PN}-dev += "${base_libdir}/security/*.la ${datadir}/dbus-1/interfaces/ ${sysconfdir}/rpm/macros.systemd ${PYTHON_SITEPACKAGES_DIR}/systemd/*.la"
173FILES_${PN}-dev += "${base_libdir}/security/*.la ${datadir}/dbus-1/interfaces/ ${sysconfdir}/rpm/macros.systemd"
174 182
175RDEPENDS_${PN} += "dbus-systemd udev-systemd" 183RDEPENDS_${PN} += "dbus-systemd udev-systemd"
176 184