Patchwork util-linux: Remove -systemd package

login
register
mail settings
Submitter Khem Raj
Date Feb. 14, 2013, 4:02 a.m.
Message ID <1360814521-24221-2-git-send-email-raj.khem@gmail.com>
Download mbox | patch
Permalink /patch/44625/
State Accepted
Commit dbabe19d4ee5cc291b5d996e9b828eed3e4484d8
Headers show

Comments

Khem Raj - Feb. 14, 2013, 4:02 a.m.
unit files are added to util-linux itself when selected

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/recipes-core/util-linux/util-linux.inc |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
Enrico Scholz - Feb. 15, 2013, 3:25 p.m.
Khem Raj <raj.khem-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:

> unit files are added to util-linux itself when selected

Having these files in main package causes

| [FAILED] Failed to listen on UUID daemon activation socket.

on every boot.  Although this is caused by a packaging issue (/var/uuidd
does either not exist and/or should be below /var/volatile), the uuidd
systemd files and daemon should be either moved into an own -uuidd, or
the service/socket should not be auto activated.



Enrico

Patch

diff --git a/meta/recipes-core/util-linux/util-linux.inc b/meta/recipes-core/util-linux/util-linux.inc
index 667232c..10439c0 100644
--- a/meta/recipes-core/util-linux/util-linux.inc
+++ b/meta/recipes-core/util-linux/util-linux.inc
@@ -33,7 +33,7 @@  PACKAGES =+ "util-linux-agetty util-linux-fdisk util-linux-cfdisk util-linux-sfd
              util-linux-mount util-linux-readprofile util-linux-libblkid \
              util-linux-libblkid-dev util-linux-libuuid util-linux-libuuid-dev \
              util-linux-uuidgen util-linux-lscpu util-linux-fsck util-linux-blkid \
-             util-linux-mkfs util-linux-mcookie util-linux-systemd util-linux-reset"
+             util-linux-mkfs util-linux-mcookie util-linux-reset"
 
 EXTRA_OECONF = "--libdir=${base_libdir} --disable-use-tty-group \
                 --disable-makeinstall-chown --enable-elvtune --enable-init \
@@ -79,8 +79,6 @@  RREPLACES_util-linux-blkid = "e2fsprogs-blkid"
 # reset calls 'tput'
 RDEPENDS_util-linux-reset += "ncurses"
 
-FILES_${PN}-systemd = "${systemd_unitdir}/system/"
-
 RDEPENDS_${PN} = "util-linux-umount util-linux-swaponoff util-linux-losetup"
 RRECOMMENDS_${PN} = "util-linux-fdisk util-linux-cfdisk util-linux-sfdisk util-linux-mount util-linux-readprofile util-linux-mkfs "