From: Martin Jansa <martin.jansa@gmail.com>
To: Koen Kooi <koen.kooi@linaro.org>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH 1/2] nssmyhostname: fix runtime dependencies
Date: Sat, 9 Aug 2014 12:34:47 +0200 [thread overview]
Message-ID: <20140809103447.GM14848@jama> (raw)
In-Reply-To: <1407572810-26063-1-git-send-email-koen.kooi@linaro.org>
[-- Attachment #1: Type: text/plain, Size: 2335 bytes --]
On Sat, Aug 09, 2014 at 10:26:49AM +0200, Koen Kooi wrote:
> This should fix:
>
> 19:40 <fabo> ERROR: Unable to install packages. Command '/mnt/ci_build/workspace/tmp/sysroots/x86_64-linux/usr/bin/opkg-cl -f /mnt/ci_build/workspace/tmp/work/genericarmv8-oe-linux/linaro-image-minimal/1.0-r0/opkg.conf -o
> /mnt/ci_build/workspace/tmp/work/genericarmv8-oe-linux/linaro-image-minimal/1.0-r0/rootfs --force_postinstall --prefer-arch-to-version install opkg-collateral stress libnss-myhostname2 run-postinsts auto-serial-console
> util-linux-fsck stress-dbg packagegroup-co
> 19:41 <fabo> sed: can't read /mnt/ci_build/workspace/tmp/work/aarch64-oe-linux/nss-myhostname/0.3-r0/image/etc/nsswitch.conf: No such file or directory
Can you please check which recipe is supposed to install
libnss_myhostname.so.2 and kill it in the other one?
WARNING: The recipe systemd is trying to install files into a shared
area when those files already exist. Those files and their manifest
location are:
/home/jenkins/oe/world/shr-core/tmp-eglibc/sysroots/qemux86-64/usr/lib/libnss_myhostname.so.2
Matched in manifest-qemux86-64-nss-myhostname.populate_sysroot
> Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
> ---
> meta/recipes-support/nss-myhostname/nss-myhostname_0.3.bb | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/meta/recipes-support/nss-myhostname/nss-myhostname_0.3.bb b/meta/recipes-support/nss-myhostname/nss-myhostname_0.3.bb
> index d8ec863..b9ddeaf 100644
> --- a/meta/recipes-support/nss-myhostname/nss-myhostname_0.3.bb
> +++ b/meta/recipes-support/nss-myhostname/nss-myhostname_0.3.bb
> @@ -13,6 +13,9 @@ SRC_URI[sha256sum] = "2ba744ea8d578d1c57c85884e94a3042ee17843a5294434d3a7f6c4d67
>
> inherit autotools
>
> +# /etc/nsswitch.conf needs to be present
> +RDEPENDS_${PN} = "base-files"
> +
> pkg_postinst_${PN} () {
> sed -e '/^hosts:/s/\s*\<myhostname\>//' \
> -e 's/\(^hosts:.*\)\(\<files\>\)\(.*\)\(\<dns\>\)\(.*\)/\1\2 myhostname \3\4\5/' \
> --
> 1.9.3
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]
next prev parent reply other threads:[~2014-08-09 10:34 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-09 8:26 [PATCH 1/2] nssmyhostname: fix runtime dependencies Koen Kooi
2014-08-09 8:26 ` [RFC][PATCH 2/2] systemd: rprovide/rreplace/rconflict nss-myhostname Koen Kooi
2014-08-09 10:34 ` Martin Jansa [this message]
2014-08-09 11:23 ` [PATCH 1/2] nssmyhostname: fix runtime dependencies Koen Kooi
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=20140809103447.GM14848@jama \
--to=martin.jansa@gmail.com \
--cc=koen.kooi@linaro.org \
--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