From: ChenQi <Qi.Chen@windriver.com>
To: Koen Kooi <koen@dominion.thruhere.net>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH 1/1] systemd: upgrade to 215
Date: Mon, 28 Jul 2014 14:40:21 +0800 [thread overview]
Message-ID: <53D5F055.2030803@windriver.com> (raw)
In-Reply-To: <DC28F4FA-9701-404C-9192-A61B9FD968E9@dominion.thruhere.net>
On 07/28/2014 02:31 PM, Koen Kooi wrote:
> Op 28 jul. 2014, om 04:24 heeft ChenQi <Qi.Chen@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@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
>
OK.
I'll send out a V2.
Thanks for your advice.
//Chen Qi
prev parent reply other threads:[~2014-07-28 6:40 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-25 9:20 [PATCH 0/1] systemd: upgrade to 215 Chen Qi
2014-07-25 9:20 ` [PATCH 1/1] " Chen Qi
2014-07-25 10:56 ` Koen Kooi
2014-07-28 2:24 ` ChenQi
2014-07-28 6:31 ` Koen Kooi
2014-07-28 6:40 ` ChenQi [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=53D5F055.2030803@windriver.com \
--to=qi.chen@windriver.com \
--cc=koen@dominion.thruhere.net \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox