Openembedded Devel Discussions
 help / color / mirror / Atom feed
* [meta-initramfs][PATCH 5/5] dracut: recipe cleanup
@ 2015-02-04 18:40 Dan McGregor
  2015-02-05 13:42 ` Koen Kooi
  0 siblings, 1 reply; 7+ messages in thread
From: Dan McGregor @ 2015-02-04 18:40 UTC (permalink / raw)
  To: openembedded-devel

From: Dan McGregor <dan.mcgregor@usask.ca>

Split out bash-completion data
Update RDEPENDS: getopt is util-linux-getopt now
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..8ef0749 100644
--- a/meta-initramfs/recipes-devtools/dracut/dracut_git.bb
+++ b/meta-initramfs/recipes-devtools/dracut/dracut_git.bb
@@ -4,6 +4,8 @@ DESCRIPTION = "Dracut is an event driven initramfs infrastructure. dracut (the t
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
 
+PACKAGES =+ "${PN}-bash-completion"
+
 PE = "1"
 PV = "038"
 
@@ -13,8 +15,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 +27,29 @@ 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 \
+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 \ 
                     "
-- 
2.1.0



^ permalink raw reply related	[flat|nested] 7+ messages in thread
* [meta-oe][PATCH 0/5] Fixes for display managers, emacs, and dracut
@ 2015-02-04 20:29 Dan McGregor
  2015-02-04 20:29 ` [meta-initramfs][PATCH 5/5] dracut: recipe cleanup Dan McGregor
  0 siblings, 1 reply; 7+ messages in thread
From: Dan McGregor @ 2015-02-04 20:29 UTC (permalink / raw)
  To: openembedded-devel

From: Dan McGregor <dan.mcgregor@usask.ca>

Here are a bunch of patches that I've been sitting on for
far too long; it's time to push them up.

Dan McGregor (5):
  xserver-nodm-init: only enable for runlevel 5
  lxdm: RDEPEND on libsvg-gtk
  emacs: Un-blacklist, seems to work fine with new qemu
  gdm: Only start in runlevel 5
  dracut: recipe cleanup

 meta-gnome/recipes-gnome/gdm/gdm/gdm               |  4 +-
 meta-gnome/recipes-gnome/gdm/gdm_2.32.2.bb         |  2 +-
 .../recipes-devtools/dracut/dracut_git.bb          | 25 ++++--
 meta-oe/recipes-graphics/lxdm/lxdm_git.bb          |  2 +-
 .../xserver-nodm-init-2.0/xserver-nodm             |  9 +++
 .../xserver-nodm-init/xserver-nodm-init_2.0.bb     |  4 +-
 meta-oe/recipes-support/emacs/emacs.inc            | 89 +---------------------
 meta-oe/recipes-support/emacs/emacs_23.4.bb        |  2 -
 8 files changed, 36 insertions(+), 101 deletions(-)

-- 
2.1.0



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-02-06 15:03 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2015-02-06 15:03       ` Dan McGregor
2015-02-06 15:02   ` [meta-initramfs][PATCH v3 " Dan McGregor
  -- strict thread matches above, loose matches on Subject: below --
2015-02-04 20:29 [meta-oe][PATCH 0/5] Fixes for display managers, emacs, and dracut Dan McGregor
2015-02-04 20:29 ` [meta-initramfs][PATCH 5/5] dracut: recipe cleanup Dan McGregor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox