1 SRC_URI += "file://systemd-user \
5 systemd_files += "${sysconfdir}/*"
7 systemd_files += "/usr/lib64/python2.7"
8 systemd_files += "/usr/lib64/python2.7/site-packages"
9 systemd_files += "/usr/lib64/python2.7/site-packages/systemd"
10 systemd_files += "/usr/lib64/python2.7/site-packages/systemd/__init__.py"
11 systemd_files += "/usr/lib64/python2.7/site-packages/systemd/daemon.py"
12 systemd_files += "/usr/lib64/python2.7/site-packages/systemd/_daemon.so"
13 systemd_files += "/usr/lib64/python2.7/site-packages/systemd/_reader.so"
14 systemd_files += "/usr/lib64/python2.7/site-packages/systemd/_journal.so"
15 systemd_files += "/usr/lib64/python2.7/site-packages/systemd/__init__.pyo"
16 systemd_files += "/usr/lib64/python2.7/site-packages/systemd/daemon.pyo"
17 systemd_files += "/usr/lib64/python2.7/site-packages/systemd/journal.pyo"
18 systemd_files += "/usr/lib64/python2.7/site-packages/systemd/journal.py"
19 systemd_files += "/usr/lib64/python2.7/site-packages/systemd/id128.so"
20 systemd_files += "/usr/lib64/python2.7/site-packages/systemd/login.so"
22 systemd_files += "${prefix}/lib/rpm"
23 systemd_files += "${prefix}/lib/rpm/macros.d"
25 systemd_files += "/var/log"
26 systemd_files += "/var/lib/systemd"
27 systemd_files += "/var/volatile/log"
28 systemd_files += "/var/volatile/log/README"
29 systemd_files += "/var/volatile/log/journal"
31 systemd-dbg_files += "${prefix}/lib/security/.debug"
32 systemd-dbg_files += "${prefix}/lib/systemd/system-generators/.debug"
33 systemd-dbg_files += "${prefix}/lib/udev/.debug"
34 systemd-dbg_files += "${prefix}/lib64/python2.7/site-packages/systemd/.debug"
36 FILES_${PN}-dbg += "${systemd-dbg_files}"
39 rm ${D}${sysconfdir}/hostname
40 rm ${D}${sysconfdir}/vconsole.conf
41 rm ${D}${sysconfdir}/locale.conf
42 rm ${D}${sysconfdir}/machine-id
43 rm ${D}${sysconfdir}/machine-info
44 rm ${D}${sysconfdir}/timezone
46 install -m 0644 ${WORKDIR}/systemd-user ${D}${sysconfdir}/pam.d
47 install -m 0644 ${WORKDIR}/user@.service ${D}/usr/lib/systemd/system/
50 EXTRA_OECONF += "--disable-manpages"
51 EXTRA_OECONF += "--without-python"
53 GTKDOC_DOCDIR = "${S}/docs/"
55 do_configure_prepend() {
56 rm -f ${S}/docs/gtk-doc.make
57 echo 'EXTRA_DIST =' > ${S}/docs/gtk-doc.make
59 sed -i 's!@MKDIR_P@!/bin/mkdir -p!g' ${S}/units/kmod-static-nodes.service.in
60 sed -i 's!@KMOD@!/bin/kmod!g' ${S}/units/kmod-static-nodes.service.in
61 sed -i 's!@KILL@!/bin/kill!g' ${S}/units/user/systemd-exit.service.in