diff options
Diffstat (limited to 'meta-oe/recipes-core/systemd/systemd_git.bb')
| -rw-r--r-- | meta-oe/recipes-core/systemd/systemd_git.bb | 15 |
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" | |||
| 3 | LICENSE = "GPLv2+" | 3 | LICENSE = "GPLv2+" |
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=751419260aa954499f7abaabaa882bbe" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=751419260aa954499f7abaabaa882bbe" |
| 5 | 5 | ||
| 6 | DEPENDS = "xz docbook-sgml-dtd-4.1-native intltool-native gperf-native acl readline udev dbus libcap libcgroup tcp-wrappers" | 6 | DEPENDS = "xz kmod docbook-sgml-dtd-4.1-native intltool-native gperf-native acl readline udev dbus libcap libcgroup tcp-wrappers" |
| 7 | DEPENDS += "${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}" | 7 | DEPENDS += "${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}" |
| 8 | 8 | ||
| 9 | SERIAL_CONSOLE ?= "115200 /dev/ttyS0" | 9 | SERIAL_CONSOLE ?= "115200 /dev/ttyS0" |
| @@ -14,16 +14,14 @@ inherit gitpkgv | |||
| 14 | PKGV = "v${GITPKGVTAG}" | 14 | PKGV = "v${GITPKGVTAG}" |
| 15 | 15 | ||
| 16 | PV = "git" | 16 | PV = "git" |
| 17 | PR = "r19" | 17 | PR = "r21" |
| 18 | 18 | ||
| 19 | inherit useradd pkgconfig autotools vala perlnative | 19 | inherit useradd pkgconfig autotools vala perlnative |
| 20 | 20 | ||
| 21 | SRCREV = "d26e4270409506cd398875216413b651d6ee7de6" | 21 | SRCREV = "48496df65c3ad1e3ad055d2b4632da7b73211715" |
| 22 | 22 | ||
| 23 | SRC_URI = "git://anongit.freedesktop.org/systemd/systemd;protocol=git \ | 23 | SRC_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 | " |
| 29 | UCLIBCPATCHES = "" | 27 | UCLIBCPATCHES = "" |
| @@ -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 | ||
| 136 | pkg_postinst_systemd () { | 135 | pkg_postinst_systemd () { |
| 137 | update-alternatives --install ${base_sbindir}/init init ${base_bindir}/systemd 300 | 136 | update-alternatives --install ${base_sbindir}/init init ${base_libdir}/systemd/systemd 300 |
| 138 | update-alternatives --install ${base_sbindir}/halt halt ${base_bindir}/systemctl 300 | 137 | update-alternatives --install ${base_sbindir}/halt halt ${base_bindir}/systemctl 300 |
| 139 | update-alternatives --install ${base_sbindir}/reboot reboot ${base_bindir}/systemctl 300 | 138 | update-alternatives --install ${base_sbindir}/reboot reboot ${base_bindir}/systemctl 300 |
| 140 | update-alternatives --install ${base_sbindir}/shutdown shutdown ${base_bindir}/systemctl 300 | 139 | update-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 | ||
| 144 | pkg_prerm_systemd () { | 143 | pkg_prerm_systemd () { |
| 145 | update-alternatives --remove init ${base_bindir}/systemd | 144 | update-alternatives --remove init ${base_libdir}/systemd/systemd |
| 146 | update-alternatives --remove halt ${base_bindir}/systemctl | 145 | update-alternatives --remove halt ${base_bindir}/systemctl |
| 147 | update-alternatives --remove reboot ${base_bindir}/systemctl | 146 | update-alternatives --remove reboot ${base_bindir}/systemctl |
| 148 | update-alternatives --remove shutdown ${base_bindir}/systemctl | 147 | update-alternatives --remove shutdown ${base_bindir}/systemctl |
