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

Koen Kooi koen at dominion.thruhere.net
Mon Jul 28 06:31:10 UTC 2014


Op 28 jul. 2014, om 04:24 heeft ChenQi <Qi.Chen at 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.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.
>> 
> 
> 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


More information about the Openembedded-core mailing list