Patchwork [CONSOLIDATED,PULL,11/13] util-linux: package agetty seperately

login
register
mail settings
Submitter Saul Wold
Date June 7, 2011, 7:01 a.m.
Message ID <16a732e6854dd62858af23994fa7f443607e9944.1307429530.git.sgw@linux.intel.com>
Download mbox | patch
Permalink /patch/5509/
State New, archived
Headers show

Comments

Saul Wold - June 7, 2011, 7:01 a.m.
From: Koen Kooi <koen@dominion.thruhere.net>

Some packages like systemd only want agetty to spawn a console and not drag in all of util-linux just for that.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
---
 meta/recipes-core/util-linux/util-linux.inc       |    3 ++-
 meta/recipes-core/util-linux/util-linux_2.19.1.bb |    2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

Patch

diff --git a/meta/recipes-core/util-linux/util-linux.inc b/meta/recipes-core/util-linux/util-linux.inc
index 71601dc..4b36100 100644
--- a/meta/recipes-core/util-linux/util-linux.inc
+++ b/meta/recipes-core/util-linux/util-linux.inc
@@ -25,7 +25,7 @@  SRC_URI = "${KERNELORG_MIRROR}/linux/utils/util-linux-ng/v${MAJOR_VERSION}/util-
            file://make_include \
            "
 
-PACKAGES =+ "util-linux-fdisk util-linux-cfdisk util-linux-sfdisk \
+PACKAGES =+ "util-linux-agetty util-linux-fdisk util-linux-cfdisk util-linux-sfdisk \
              util-linux-swaponoff util-linux-losetup util-linux-umount \
              util-linux-mount util-linux-readprofile util-linux-libblkid \
              util-linux-libblkid-dev util-linux-libuuid util-linux-libuuid-dev \
@@ -37,6 +37,7 @@  EXTRA_OECONF = "--disable-use-tty-group --disable-makeinstall-chown --enable-elv
 
 FILES_${PN}-doc += "${datadir}/getopt/getopt-*.*"
 
+FILES_util-linux-agetty = "${base_sbindir}/agetty"
 FILES_util-linux-fdisk = "${base_sbindir}/fdisk.${PN}"
 FILES_util-linux-cfdisk = "${base_sbindir}/cfdisk"
 FILES_util-linux-sfdisk = "${sbindir}/sfdisk"
diff --git a/meta/recipes-core/util-linux/util-linux_2.19.1.bb b/meta/recipes-core/util-linux/util-linux_2.19.1.bb
index 8067ab5..132f28b 100644
--- a/meta/recipes-core/util-linux/util-linux_2.19.1.bb
+++ b/meta/recipes-core/util-linux/util-linux_2.19.1.bb
@@ -1,5 +1,5 @@ 
 MAJOR_VERSION = "2.19"
-PR = "r0"
+PR = "r1"
 require util-linux.inc
 
 # note that `lscpu' is under GPLv3+