From: Oliver Graute <oliver.graute@gmail.com>
To: Zhenhua Luo <zhenhua.luo@nxp.com>
Cc: "yocto@yoctoproject.org" <yocto@yoctoproject.org>
Subject: Re: Can't replace login.defs with shadow-sysroot bbappend
Date: Fri, 29 Jul 2016 13:53:54 +0200 [thread overview]
Message-ID: <20160729115354.GA10176@graute-opti> (raw)
In-Reply-To: <DB6PR0401MB26302D6732DC448BFDD81B67EE000@DB6PR0401MB2630.eurprd04.prod.outlook.com>
On 28/07/16, Zhenhua Luo wrote:
> Hi Oliver,
>
> The following line in shadow-sysroot.bb disables the final binary packages generation. You can try to add bbappend for shadow to do the customization.
>
> # don't create any packages
> # otherwise: dbus-dev depends on shadow-sysroot-dev which depends on shadow-sysroot
> # and this has another copy of /etc/login.defs already provided by shadow
> PACKAGES = ""
thx for this usefull note. It works for me with shadow_%.bbappend.
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
SRC_URI += "file://login.defs"
do_install_append() {
install -m 644 ${WORKDIR}/login.defs ${D}${sysconfdir}/login.defs
}
FILES_${PN} += "${sysconfdir}/login.defs"
Best regards,
Oliver
prev parent reply other threads:[~2016-07-29 11:54 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-28 7:26 Can't replace login.defs with shadow-sysroot bbappend Oliver Graute
2016-07-28 7:53 ` Zhenhua Luo
2016-07-29 11:53 ` Oliver Graute [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=20160729115354.GA10176@graute-opti \
--to=oliver.graute@gmail.com \
--cc=yocto@yoctoproject.org \
--cc=zhenhua.luo@nxp.com \
/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.