summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-core/systemd/systemd_git.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-core/systemd/systemd_git.bb')
-rw-r--r--meta-oe/recipes-core/systemd/systemd_git.bb15
1 files changed, 7 insertions, 8 deletions
diff --git a/meta-oe/recipes-core/systemd/systemd_git.bb b/meta-oe/recipes-core/systemd/systemd_git.bb
index 4a8e9a1996..918b314180 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 = "xz docbook-sgml-dtd-4.1-native intltool-native gperf-native acl readline udev dbus libcap libcgroup tcp-wrappers" 6DEPENDS = "xz kmod docbook-sgml-dtd-4.1-native intltool-native gperf-native acl readline udev dbus libcap libcgroup tcp-wrappers"
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,16 +14,14 @@ inherit gitpkgv
14PKGV = "v${GITPKGVTAG}" 14PKGV = "v${GITPKGVTAG}"
15 15
16PV = "git" 16PV = "git"
17PR = "r19" 17PR = "r21"
18 18
19inherit useradd pkgconfig autotools vala perlnative 19inherit useradd pkgconfig autotools vala perlnative
20 20
21SRCREV = "d26e4270409506cd398875216413b651d6ee7de6" 21SRCREV = "48496df65c3ad1e3ad055d2b4632da7b73211715"
22 22
23SRC_URI = "git://anongit.freedesktop.org/systemd/systemd;protocol=git \ 23SRC_URI = "git://anongit.freedesktop.org/systemd/systemd;protocol=git \
24 file://0001-docs-fix-build-without-xsltproc.patch \
25 file://0002-systemd-logind-don-t-kill-user-processes-on-exit.patch \ 24 file://0002-systemd-logind-don-t-kill-user-processes-on-exit.patch \
26 file://0001-systemd-journald-fix-endianess-bug.patch \
27 ${UCLIBCPATCHES} \ 25 ${UCLIBCPATCHES} \
28 " 26 "
29UCLIBCPATCHES = "" 27UCLIBCPATCHES = ""
@@ -45,6 +43,7 @@ EXTRA_OECONF = " --with-distro=${SYSTEMDDISTRO} \
45 ${@base_contains('DISTRO_FEATURES', 'pam', '--enable-pam', '--disable-pam', d)} \ 43 ${@base_contains('DISTRO_FEATURES', 'pam', '--enable-pam', '--disable-pam', d)} \
46 --disable-gtk \ 44 --disable-gtk \
47 --enable-xz \ 45 --enable-xz \
46 --disable-manpages \
48 " 47 "
49 48
50# There's no docbook-xsl-native, so for the xsltproc check to false 49# There's no docbook-xsl-native, so for the xsltproc check to false
@@ -58,7 +57,7 @@ do_install() {
58 rm ${D}${base_libdir}/systemd/system/serial-getty* -f 57 rm ${D}${base_libdir}/systemd/system/serial-getty* -f
59 58
60 # provide support for initramfs 59 # provide support for initramfs
61 ln -s ${base_bindir}/systemd ${D}/init 60 ln -s ${base_libdir}/systemd/systemd ${D}/init
62 61
63 # create dir for journal 62 # create dir for journal
64 install -d ${D}${localstatedir}/log/journal 63 install -d ${D}${localstatedir}/log/journal
@@ -134,7 +133,7 @@ RRECOMMENDS_${PN} += "systemd-serialgetty \
134# u-a for runlevel and telinit 133# u-a for runlevel and telinit
135 134
136pkg_postinst_systemd () { 135pkg_postinst_systemd () {
137update-alternatives --install ${base_sbindir}/init init ${base_bindir}/systemd 300 136update-alternatives --install ${base_sbindir}/init init ${base_libdir}/systemd/systemd 300
138update-alternatives --install ${base_sbindir}/halt halt ${base_bindir}/systemctl 300 137update-alternatives --install ${base_sbindir}/halt halt ${base_bindir}/systemctl 300
139update-alternatives --install ${base_sbindir}/reboot reboot ${base_bindir}/systemctl 300 138update-alternatives --install ${base_sbindir}/reboot reboot ${base_bindir}/systemctl 300
140update-alternatives --install ${base_sbindir}/shutdown shutdown ${base_bindir}/systemctl 300 139update-alternatives --install ${base_sbindir}/shutdown shutdown ${base_bindir}/systemctl 300
@@ -142,7 +141,7 @@ update-alternatives --install ${base_sbindir}/poweroff poweroff ${base_bindir}/s
142} 141}
143 142
144pkg_prerm_systemd () { 143pkg_prerm_systemd () {
145update-alternatives --remove init ${base_bindir}/systemd 144update-alternatives --remove init ${base_libdir}/systemd/systemd
146update-alternatives --remove halt ${base_bindir}/systemctl 145update-alternatives --remove halt ${base_bindir}/systemctl
147update-alternatives --remove reboot ${base_bindir}/systemctl 146update-alternatives --remove reboot ${base_bindir}/systemctl
148update-alternatives --remove shutdown ${base_bindir}/systemctl 147update-alternatives --remove shutdown ${base_bindir}/systemctl