Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Koen Kooi <koen@dominion.thruhere.net>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [meta-initramfs][PATCH v2 5/5] dracut: recipe cleanup
Date: Thu, 05 Feb 2015 19:44:15 +0100	[thread overview]
Message-ID: <54D3B9FF.4030405@dominion.thruhere.net> (raw)
In-Reply-To: <1423153742-11829-1-git-send-email-danismostlikely@gmail.com>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dan McGregor schreef op 05-02-15 om 17:29:
> From: Dan McGregor <dan.mcgregor@usask.ca>
> 
> Split out bash-completion data Update RDEPENDS: getopt is
> util-linux-getopt now

So the blanket 'util-linux' RDEPENDS can go away, right?

> Use distro_features_check to require systemd Recommend busybox
> 
> Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca> --- 
> .../recipes-devtools/dracut/dracut_git.bb          | 25
> ++++++++++++++++------ 1 file changed, 19 insertions(+), 6 deletions(-)
> 
> diff --git a/meta-initramfs/recipes-devtools/dracut/dracut_git.bb
> b/meta-initramfs/recipes-devtools/dracut/dracut_git.bb index
> ea55a4d..e425845 100644 ---
> a/meta-initramfs/recipes-devtools/dracut/dracut_git.bb +++
> b/meta-initramfs/recipes-devtools/dracut/dracut_git.bb @@ -13,8 +13,10 @@
> SRC_URI = "git://git.kernel.org/pub/scm/boot/dracut/dracut.git"
> 
> S = "${WORKDIR}/git"
> 
> -do_configure() { -    ./configure --prefix=${prefix} \ +inherit
> distro_features_check +REQUIRED_DISTRO_FEATURES = "systemd" + 
> +EXTRA_OECONF = "--prefix=${prefix} \ --libdir=${libdir} \ 
> --datadir=${datadir} \ --sysconfdir=${sysconfdir} \ @@ -23,20 +25,31 @@
> do_configure() { --bindir=${bindir} \ --includedir=${includedir} \ 
> --localstatedir=${localstatedir} \ +
> --systemdsystemunitdir=${systemd_unitdir}/system" + +do_configure() { +
> ./configure ${EXTRA_OECONF} }
> 
> do_install() { oe_runmake install DESTDIR=${D} }
> 
> -FILES_${PN} += "${datadir}/bash-completion \ -
> ${libdir}/kernel \ +PACKAGES =+ "${PN}-bash-completion" + 
> +FILES_${PN}-bash-completion = "${datadir}/bash-completion" + 
> +FILES_${PN} += " ${libdir}/kernel \ +                ${systemd_unitdir}
> \ " +CONFFILES_${PN} += "${sysconfdir}/dracut.conf" + +RDEPENDS_${PN} =
> "systemd findutils cpio util-linux-blkid util-linux-getopt util-linux
> bash ldd" +RDEPENDS_${PN}-bash-completion = "bash-completion"
> 
> -# 'getopt' is in the util-linux main package -RDEPENDS_${PN} = "systemd
> findutils cpio util-linux-blkid util-linux bash ldd" # This could be
> optimized a bit, but let's avoid non-booting systems :) RRECOMMENDS_${PN}
> = " \ kernel-modules \ +                     busybox \ coreutils \ "
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
Comment: GPGTools - http://gpgtools.org

iD8DBQFU07n/MkyGM64RGpERAuZ6AKCK1aT62H7XvOeZU2+9RCZnMeMSqACfc/Ej
8ubI00/FGsDFssxdkXURRY0=
=SpL4
-----END PGP SIGNATURE-----


  reply	other threads:[~2015-02-05 18:44 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-04 18:40 [meta-initramfs][PATCH 5/5] dracut: recipe cleanup Dan McGregor
2015-02-05 13:42 ` Koen Kooi
2015-02-05 16:29   ` [meta-initramfs][PATCH v2 " Dan McGregor
2015-02-05 18:44     ` Koen Kooi [this message]
2015-02-06 15:03       ` Dan McGregor
2015-02-06 15:02   ` [meta-initramfs][PATCH v3 " Dan McGregor

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=54D3B9FF.4030405@dominion.thruhere.net \
    --to=koen@dominion.thruhere.net \
    --cc=openembedded-devel@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