systemd: update to v38+git

* This introduces the 'journal' feature.
* Upstream is following the fedora /usr move so EXTRA_OECONF needs to get updated to keep the paths the same for the OE usecase

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
This commit is contained in:
Koen Kooi
2012-01-19 14:04:16 +01:00
parent 3767262f9e
commit 6cb51af0e1
3 changed files with 43 additions and 40 deletions

View File

@@ -1,36 +0,0 @@
From 2649787d76cfe7d89abb1b5afab7cb7cd54b601b Mon Sep 17 00:00:00 2001
From: Koen Kooi <koen@dominion.thruhere.net>
Date: Sun, 2 Oct 2011 19:54:29 +0200
Subject: [PATCH] docs: fix build without xsltproc
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
---
Upstream-status: Pending
Makefile.am | 2 ++
2 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index f4a17aa..01240a5 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -750,6 +750,7 @@ EXTRA_DIST += \
src/dbus-loop.h \
src/spawn-agent.h
+if HAVE_XSLTPROC
MANPAGES = \
man/systemd.1 \
man/systemctl.1 \
@@ -844,6 +845,7 @@ EXTRA_DIST += \
$(XML_IN_FILES) \
${nodist_man_MANS:=.in} \
${XML_IN_FILES:.xml.in=.html.in}
+endif
systemd_SOURCES = \
src/main.c
--
1.6.6.1

View File

@@ -0,0 +1,38 @@
From 97719ec99e3bd0040b616b044ab6ae33ae1cfd15 Mon Sep 17 00:00:00 2001
From: Koen Kooi <koen@dominion.thruhere.net>
Date: Sun, 2 Oct 2011 19:54:29 +0200
Subject: [PATCH 1/2] docs: fix build without xsltproc
Make would choke on missing rules for man/systemd.1
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
---
Makefile.am | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index 110a2f4..a5e57b7 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -650,6 +650,7 @@ EXTRA_DIST += \
src/acl-util.h \
src/logs-show.h
+if HAVE_XSLTPROC
MANPAGES = \
man/systemd.1 \
man/systemctl.1 \
@@ -721,6 +722,10 @@ EXTRA_DIST += \
$(XML_IN_FILES) \
${nodist_man_MANS:=.in} \
${XML_IN_FILES:.xml.in=.html.in}
+else
+MANPAGES =
+MANPAGES_ALIAS =
+endif
systemd_SOURCES = \
src/main.c
--
1.7.2.5

View File

@@ -14,14 +14,14 @@ inherit gitpkgv
PKGV = "v${GITPKGVTAG}"
PV = "git"
PR = "r7"
PR = "r8"
inherit useradd pkgconfig autotools vala perlnative
SRCREV = "f6cebb3bd5a00d79c8131637c0f6796a75e6af99"
SRCREV = "a3f914b2a21decb0c4bd7a763ddd3ace215091cb"
SRC_URI = "git://anongit.freedesktop.org/systemd/systemd;protocol=git \
file://0001-disable-xsltproc-completely.patch \
file://0001-docs-fix-build-without-xsltproc.patch \
${UCLIBCPATCHES} \
"
UCLIBCPATCHES = ""
@@ -38,7 +38,8 @@ SYSTEMDDISTRO_angstrom = "angstrom"
# The gtk+ tools should get built as a separate recipe e.g. systemd-tools
EXTRA_OECONF = " --with-distro=${SYSTEMDDISTRO} \
--with-rootdir=${base_prefix} \
--with-rootprefix=${base_prefix} \
--with-rootlibdir=${base_libdir} \
${@base_contains('DISTRO_FEATURES', 'pam', '--enable-pam', '--disable-pam', d)} \
--disable-gtk \
"