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 10:24:01 +0800 [thread overview]
Message-ID: <53D5B441.4050902@windriver.com> (raw)
In-Reply-To: <33866F61-B200-4CA4-AC52-69BD3EB109A1@dominion.thruhere.net>
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.
Chen Qi
next prev parent reply other threads:[~2014-07-28 2:23 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 [this message]
2014-07-28 6:31 ` Koen Kooi
2014-07-28 6:40 ` ChenQi
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=53D5B441.4050902@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.