summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/systemd/systemd_208.bb
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2014-03-04 15:22:15 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-03-07 14:49:33 +0000
commitfcbb05c248e13726cd8c2c2cf6771ca704309f45 (patch)
tree45b85ae44142f5d9ef1712b73a2693ca788b3e81 /meta/recipes-core/systemd/systemd_208.bb
parent229bcde8e445344bd6906cc8fab0088123ba6add (diff)
downloadast2050-yocto-poky-fcbb05c248e13726cd8c2c2cf6771ca704309f45.zip
ast2050-yocto-poky-fcbb05c248e13726cd8c2c2cf6771ca704309f45.tar.gz
Upgrade to systemd-stable v208
Additional changes in ptest code since now we have directories and not only bunch of files under test/ dir so a simple install does not work anymore we have to cp the files (From OE-Core rev: e201f291b269c70d732778b34de01529aca387b5) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/systemd/systemd_208.bb')
-rw-r--r--meta/recipes-core/systemd/systemd_208.bb25
1 files changed, 12 insertions, 13 deletions
diff --git a/meta/recipes-core/systemd/systemd_208.bb b/meta/recipes-core/systemd/systemd_208.bb
index 1bcedaa..98da15c 100644
--- a/meta/recipes-core/systemd/systemd_208.bb
+++ b/meta/recipes-core/systemd/systemd_208.bb
@@ -17,22 +17,20 @@ SECTION = "base/shell"
inherit gtk-doc useradd pkgconfig autotools perlnative update-rc.d update-alternatives qemu systemd ptest
-SRC_URI = "http://www.freedesktop.org/software/systemd/systemd-${PV}.tar.xz \
- file://0001-Use-bin-mkdir-instead-of-host-mkdir-path.patch \
+SRCREV = "255eb046a7bcb90e60a3a54302bc1250c1aed26a"
+
+PV = "208+git${SRCPV}"
+
+SRC_URI = "git://anongit.freedesktop.org/systemd/systemd-stable;branch=v208-stable;protocol=git \
file://binfmt-install.patch \
- file://journald-add-missing-error-check.patch \
- file://journald-fix-minor-memory-leak.patch \
- file://journal-when-appending-to-journal-file-allocate-larg.patch \
- file://journal-file-protect-against-alloca-0.patch \
- file://journal-Add-missing-byte-order-conversions.patch \
file://touchscreen.rules \
${UCLIBCPATCHES} \
file://00-create-volatile.conf \
file://init \
file://run-ptest \
"
-SRC_URI[md5sum] = "df64550d92afbffb4f67a434193ee165"
-SRC_URI[sha256sum] = "aa64fa864466fd5727005c55d61c092828b94b4f857272c0b503695022146390"
+
+S = "${WORKDIR}/git"
UCLIBCPATCHES = ""
UCLIBCPATCHES_libc-uclibc = "file://systemd-pam-configure-check-uclibc.patch \
@@ -76,7 +74,6 @@ EXTRA_OECONF = " --with-rootprefix=${rootprefix} \
--disable-manpages \
--disable-coredump \
--disable-introspection \
- --disable-tcpwrap \
--enable-split-usr \
--without-python \
--with-sysvrcnd-path=${sysconfdir} \
@@ -104,8 +101,8 @@ do_install() {
rm ${D}${systemd_unitdir}/system/serial-getty* -f
# Provide support for initramfs
- ln -s ${rootlibexecdir}/systemd/systemd ${D}/init
- ln -s ${rootlibexecdir}/systemd/systemd-udevd ${D}/${base_sbindir}/udevd
+ [ ! -e ${D}/init ] && ln -s ${rootlibexecdir}/systemd/systemd ${D}/init
+ [ ! -e ${D}/${base_sbindir}/udevd ] && ln -s ${rootlibexecdir}/systemd/systemd-udevd ${D}/${base_sbindir}/udevd
# Create machine-id
# 20:12 < mezcalero> koen: you have three options: a) run systemd-machine-id-setup at install time, b) have / read-only and an empty file there (for stateless) and c) boot with / writable
@@ -127,7 +124,7 @@ do_install() {
do_install_ptest () {
install -d ${D}${PTEST_PATH}/test
- install ${S}/test/* ${D}${PTEST_PATH}/test
+ cp -rf ${S}/test/* ${D}${PTEST_PATH}/test
install -m 0755 ${B}/test-udev ${D}${PTEST_PATH}/
install -d ${D}${PTEST_PATH}/build-aux
cp ${S}/build-aux/test-driver ${D}${PTEST_PATH}/build-aux/
@@ -166,6 +163,8 @@ RDEPENDS_${PN}-initramfs = "${PN}"
RDEPENDS_${PN}-ptest += "perl bash"
FILES_${PN}-ptest += "${libdir}/udev/rules.d"
+FILES_${PN}-dbg += "${libdir}/systemd/ptest/.debug"
+
FILES_${PN}-gui = "${bindir}/systemadm"
FILES_${PN}-vconsole-setup = "${rootlibexecdir}/systemd/systemd-vconsole-setup \
OpenPOWER on IntegriCloud