summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-core
diff options
context:
space:
mode:
authorKoen Kooi <koen@dominion.thruhere.net>2011-08-04 19:21:50 +0200
committerKoen Kooi <koen@dominion.thruhere.net>2011-08-05 19:49:57 +0200
commit7e6f0f24aad7a79717f72a8373488566e1d8a61f (patch)
tree9cf88331d6d87ac346bbbf5daa6cd063ca169120 /meta-oe/recipes-core
parent326ebbac11b7afe23ea0ca8e3a213f381712ff27 (diff)
downloadmeta-openembedded-7e6f0f24aad7a79717f72a8373488566e1d8a61f.tar.gz
systemd: update to v33-3
Adding the docbook deps removes the need for the xml removal patch Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'meta-oe/recipes-core')
-rw-r--r--meta-oe/recipes-core/systemd/systemd/0001-systemd-disable-xml-file-stuff-and-introspection.patch88
-rw-r--r--meta-oe/recipes-core/systemd/systemd_git.bb10
2 files changed, 5 insertions, 93 deletions
diff --git a/meta-oe/recipes-core/systemd/systemd/0001-systemd-disable-xml-file-stuff-and-introspection.patch b/meta-oe/recipes-core/systemd/systemd/0001-systemd-disable-xml-file-stuff-and-introspection.patch
deleted file mode 100644
index 61e3b0d5d..000000000
--- a/meta-oe/recipes-core/systemd/systemd/0001-systemd-disable-xml-file-stuff-and-introspection.patch
+++ /dev/null
@@ -1,88 +0,0 @@
1From afc9b136758f0d9b77367dac73a7415ca33ed091 Mon Sep 17 00:00:00 2001
2From: Koen Kooi <koen@dominion.thruhere.net>
3Date: Mon, 27 Jun 2011 15:44:41 +0200
4Subject: [PATCH] systemd: disable xml file stuff and introspection
5
6Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
7---
8 Makefile.am | 38 ++------------------------------------
9 1 files changed, 2 insertions(+), 36 deletions(-)
10
11diff --git a/Makefile.am b/Makefile.am
12index 15349a1..37a51aa 100644
13--- a/Makefile.am
14+++ b/Makefile.am
15@@ -246,24 +246,6 @@ nodist_udevrules_DATA = \
16 src/73-seat-late.rules \
17 src/99-systemd.rules
18
19-dbusinterface_DATA = \
20- org.freedesktop.systemd1.Manager.xml \
21- org.freedesktop.systemd1.Job.xml \
22- org.freedesktop.systemd1.Unit.xml \
23- org.freedesktop.systemd1.Service.xml \
24- org.freedesktop.systemd1.Socket.xml \
25- org.freedesktop.systemd1.Timer.xml \
26- org.freedesktop.systemd1.Target.xml \
27- org.freedesktop.systemd1.Device.xml \
28- org.freedesktop.systemd1.Mount.xml \
29- org.freedesktop.systemd1.Automount.xml \
30- org.freedesktop.systemd1.Snapshot.xml \
31- org.freedesktop.systemd1.Swap.xml \
32- org.freedesktop.systemd1.Path.xml \
33- org.freedesktop.hostname1.xml \
34- org.freedesktop.locale1.xml \
35- org.freedesktop.timedate1.xml
36-
37 dist_bashcompletion_DATA = \
38 src/systemctl-bash-completion.sh
39
40@@ -739,17 +721,10 @@ XML_FILES = \
41 XML_IN_FILES = \
42 ${patsubst %.1,%.xml.in,${patsubst %.3,%.xml.in,${patsubst %.5,%.xml.in,${patsubst %.7,%.xml.in,${patsubst %.8,%.xml.in,$(nodist_man_MANS)}}}}}
43
44-dist_noinst_DATA = \
45- ${XML_FILES:.xml=.html}
46-
47-nodist_noinst_DATA = \
48- ${XML_IN_FILES:.xml.in=.html}
49-
50 EXTRA_DIST += \
51 $(XML_FILES) \
52 $(XML_IN_FILES) \
53- ${nodist_man_MANS:=.in} \
54- ${XML_IN_FILES:.xml.in=.html.in}
55+ ${nodist_man_MANS:=.in}
56
57 systemd_SOURCES = \
58 src/main.c
59@@ -1504,7 +1479,6 @@ CLEANFILES = \
60 $(nodist_systemunit_DATA) \
61 $(nodist_userunit_DATA) \
62 $(nodist_man_MANS) \
63- ${XML_IN_FILES:.xml.in=.html} \
64 $(pkgconfigdata_DATA) \
65 $(pkgconfiglib_DATA) \
66 $(nodist_polkitpolicy_DATA) \
67@@ -1569,17 +1543,9 @@ man/%.8: man/%.xml
68 man/%.8.in: man/%.xml.in
69 $(XSLTPROC_PROCESS_MAN_IN)
70
71-man/%.html: man/%.xml
72- $(XSLTPROC_PROCESS_HTML)
73-
74-man/%.html.in: man/%.xml.in
75- $(XSLTPROC_PROCESS_HTML_IN)
76-
77 CLEANFILES += \
78 $(dist_man_MANS) \
79- ${nodist_man_MANS:=.in} \
80- ${XML_FILES:.xml=.html} \
81- ${XML_IN_FILES:.xml.in=.html.in}
82+ ${nodist_man_MANS:=.in}
83 endif
84
85 DBUS_PREPROCESS = $(CPP) -P $(DBUS_CFLAGS) -imacros dbus/dbus-protocol.h
86--
871.6.6.1
88
diff --git a/meta-oe/recipes-core/systemd/systemd_git.bb b/meta-oe/recipes-core/systemd/systemd_git.bb
index af4a9ae83..7a35f7907 100644
--- a/meta-oe/recipes-core/systemd/systemd_git.bb
+++ b/meta-oe/recipes-core/systemd/systemd_git.bb
@@ -3,7 +3,7 @@ HOMEPAGE = "http://www.freedesktop.org/wiki/Software/systemd"
3LICENSE = "GPLv2+" 3LICENSE = "GPLv2+"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=751419260aa954499f7abaabaa882bbe" 4LIC_FILES_CHKSUM = "file://LICENSE;md5=751419260aa954499f7abaabaa882bbe"
5 5
6DEPENDS = "acl readline udev dbus libcap libcgroup" 6DEPENDS = "docbook-sgml-dtd-4.1-native gperf-native acl readline udev dbus libcap libcgroup"
7DEPENDS += "${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}" 7DEPENDS += "${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}"
8 8
9SERIAL_CONSOLE ?= "115200 /dev/ttyS0" 9SERIAL_CONSOLE ?= "115200 /dev/ttyS0"
@@ -14,14 +14,13 @@ inherit gitpkgv
14PKGV = "v${GITPKGVTAG}" 14PKGV = "v${GITPKGVTAG}"
15 15
16PV = "git" 16PV = "git"
17PR = "r0" 17PR = "r1"
18 18
19inherit autotools vala 19inherit autotools vala
20 20
21SRCREV = "2030694fecef41b9c0bfa917df79b92afd5cb380" 21SRCREV = "612e58b45b84eda7e1f2a82fdfc006f1ae421cb5"
22 22
23SRC_URI = "git://anongit.freedesktop.org/systemd;protocol=git \ 23SRC_URI = "git://anongit.freedesktop.org/systemd;protocol=git \
24 file://0001-systemd-disable-xml-file-stuff-and-introspection.patch \
25 ${UCLIBCPATCHES} \ 24 ${UCLIBCPATCHES} \
26 " 25 "
27UCLIBCPATCHES = "" 26UCLIBCPATCHES = ""
@@ -92,8 +91,9 @@ RRECOMMENDS_${PN} += "kbd kbd-consolefonts \
92 91
93# TODO: 92# TODO:
94# u-a for runlevel and telinit 93# u-a for runlevel and telinit
94# u-a prerm
95 95
96pkg_postinst_${PN} () { 96pkg_postinst_systemd () {
97update-alternatives --install ${base_sbindir}/init init ${base_bindir}/systemd 300 97update-alternatives --install ${base_sbindir}/init init ${base_bindir}/systemd 300
98update-alternatives --install ${base_sbindir}/halt halt ${base_bindir}/systemctl 300 98update-alternatives --install ${base_sbindir}/halt halt ${base_bindir}/systemctl 300
99update-alternatives --install ${base_sbindir}/reboot reboot ${base_bindir}/systemctl 300 99update-alternatives --install ${base_sbindir}/reboot reboot ${base_bindir}/systemctl 300