Op 28 jul. 2014, om 04:24 heeft ChenQi <qi.c...@windriver.com> het volgende geschreven:
> On 07/25/2014 06:56 PM, Koen Kooi wrote: >> Op 25 jul. 2014, om 11:20 heeft Chen Qi <qi.c...@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. >> > > Hi Koen, > > Which files are not packaged? I don't see any 'installed-not-shipped' error > after upgrading. > > Note the I've added ${exec_prefix}/lib/sysusers.d to FILES_${PN}. > And I don't think files under /lib should be added to CONFFILES. System config files need to be in CONFFILES, even if they aren't placed in /etc -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core