From: Mike Looijmans <mike.looijmans@topic.nl>
To: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>,
<openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH v2] util-linux: create util-linux-runuser package
Date: Tue, 10 Nov 2015 15:48:59 +0100 [thread overview]
Message-ID: <564203DB.4070709@topic.nl> (raw)
In-Reply-To: <1447145447-5678-1-git-send-email-adrian.ratiu@ni.com>
On 10-11-15 09:50, Ioan-Adrian Ratiu wrote:
> Split runuser into its own package (previously provided by util-linux).
> Since runuser is compiled only when DISTRO_FEATURES includes pam,
> the creation of util-linux-runuser is also constrained by this.
>
> Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
> ---
> meta/recipes-core/util-linux/util-linux.inc | 6 +++++-
> 1 file changed, 5 insertions(+), 1 deletion(-)
>
> diff --git a/meta/recipes-core/util-linux/util-linux.inc b/meta/recipes-core/util-linux/util-linux.inc
> index 594108f..dc460e7 100644
> --- a/meta/recipes-core/util-linux/util-linux.inc
> +++ b/meta/recipes-core/util-linux/util-linux.inc
> @@ -34,6 +34,7 @@ PACKAGES =+ "util-linux-agetty util-linux-fdisk util-linux-cfdisk util-linux-sfd
> util-linux-partx ${PN}-bash-completion util-linux-hwclock \
> util-linux-findfs util-linux-getopt util-linux-sulogin"
> PACKAGES += "${@bb.utils.contains('PACKAGECONFIG', 'pylibmount', 'util-linux-pylibmount', '', d)}"
> +PACKAGES =+ "${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'util-linux-runuser', '', d)}"
>
> PACKAGES_DYNAMIC = "^util-linux-lib.*"
>
> @@ -85,6 +86,7 @@ FILES_util-linux-partx = "${sbindir}/partx"
> FILES_util-linux-hwclock = "${base_sbindir}/hwclock.${BPN}"
> FILES_util-linux-findfs = "${sbindir}/findfs"
> FILES_util-linux-getopt = "${base_bindir}/getopt.${BPN}"
> +FILES_util-linux-runuser = "${sbindir}/runuser"
>
> FILES_util-linux-pylibmount = "${libdir}/${PYTHON_DIR}/dist-packages/libmount/pylibmount.so \
> ${libdir}/${PYTHON_DIR}/dist-packages/libmount/__init__.*"
> @@ -106,7 +108,9 @@ RREPLACES_util-linux-blkid = "e2fsprogs-blkid"
> # reset calls 'tput'
> RDEPENDS_util-linux-reset += "ncurses"
>
> -RDEPENDS_${PN} = "util-linux-umount util-linux-swaponoff util-linux-losetup util-linux-sulogin"
> +RDEPENDS_util-linux-runuser += "libpam"
> +
> +RDEPENDS_${PN} = "util-linux-umount util-linux-swaponoff util-linux-losetup util-linux-sulogin util-linux-runuser"
I think that will need to be conditional. Without pam, you won't be able to
install util-linux because of the missing util-linux-runuser dependency.
> RRECOMMENDS_${PN} = "util-linux-fdisk util-linux-cfdisk util-linux-sfdisk util-linux-mount util-linux-readprofile util-linux-mkfs "
>
> RRECOMMENDS_${PN}_class-native = ""
>
Kind regards,
Mike Looijmans
System Expert
TOPIC Embedded Products
Eindhovenseweg 32-C, NL-5683 KH Best
Postbus 440, NL-5680 AK Best
Telefoon: +31 (0) 499 33 69 79
Telefax: +31 (0) 499 33 69 70
E-mail: mike.looijmans@topicproducts.com
Website: www.topicproducts.com
Please consider the environment before printing this e-mail
Visit us at : Aerospace Electrical Systems Expo Europe which will be held from 17.11.2015 till 19.11.2015, Findorffstrasse 101 Bremen, Germany, Hall 5, stand number C65
http://www.aesexpo.eu
next prev parent reply other threads:[~2015-11-10 14:49 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-09 14:01 [PATCH] util-linux: create util-linux-runuser package Ioan-Adrian Ratiu
2015-11-09 21:15 ` Richard Tollerton
2015-11-10 8:31 ` Ioan-Adrian Ratiu
2015-11-10 8:50 ` [PATCH v2] " Ioan-Adrian Ratiu
2015-11-10 14:48 ` Mike Looijmans [this message]
2015-11-10 14:54 ` Paul Eggleton
2015-11-11 8:48 ` [PATCH v3] " Ioan-Adrian Ratiu
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=564203DB.4070709@topic.nl \
--to=mike.looijmans@topic.nl \
--cc=adrian.ratiu@ni.com \
--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