[OE-core] [PATCH 1/1] systemd: upgrade to 215

Koen Kooi koen at dominion.thruhere.net
Fri Jul 25 10:56:35 UTC 2014


Op 25 jul. 2014, om 11:20 heeft Chen Qi <Qi.Chen at windriver.com> het volgende geschreven:

> Upgrade systemd from 213 to 215.
> 
> systemd-older-kernel.patch is removed as it's fixed in 215.

NAK! This will drop libraries and and leave files unpackages, you need something like this:

@@ -146,7 +146,9 @@ do_install_ptest () {
 
 python populate_packages_prepend (){
     systemdlibdir = d.getVar("rootlibdir", True)
+    prefixlibdir = d.getVar("libdir", True)
     do_split_packages(d, systemdlibdir, '^lib(.*)\.so\.*', 'lib%s', 'Systemd %s library', extra_depends='', allow_links=True)
+    do_split_packages(d, prefixlibdir, '^lib(.*)\.so\.*', 'lib%s', 'Systemd %s library', extra_depends='', allow_links=True)
 }
 PACKAGES_DYNAMIC += "^lib(udev|gudev|systemd).*"
 
@@ -198,7 +200,10 @@ RRECOMMENDS_${PN}-vconsole-setup = "kbd kbd-consolefonts"
 CONFFILES_${PN} = "${sysconfdir}/systemd/journald.conf \
                 ${sysconfdir}/systemd/logind.conf \
                 ${sysconfdir}/systemd/system.conf \
-                ${sysconfdir}/systemd/user.conf"
+                ${sysconfdir}/systemd/user.conf \
+                ${libdir}/sysusers.d/systemd.conf \
+                ${libdir}/sysusers.d/basic.conf \
+                "
 
 FILES_${PN} = " ${base_bindir}/* \
                 ${datadir}/bash-completion \
@@ -218,7 +223,8 @@ FILES_${PN} = " ${base_bindir}/* \
                 ${rootlibexecdir}/systemd/* \
                 ${systemd_unitdir}/* \
                 ${base_libdir}/security/*.so \
-                ${libdir}/libnss_myhostname.so.2 \
+                ${libdir}/libnss_*.so.* \
+                ${libdir}/sysusers.d \
                 /cgroup \
                 ${bindir}/systemd* \
                 ${bindir}/busctl \


lib*udev have moved, 2 nss plugins were added and the sysusers files should be added to CONFFILES. 


More information about the Openembedded-core mailing list