diff options
author | Ross Burton <ross.burton@intel.com> | 2013-03-04 16:56:34 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-03-26 22:43:03 +0000 |
commit | 40a15da9eb98e76aadf00f734d98123735589894 (patch) | |
tree | a89e796bd9d7b1f1b327e1943f8dad4b9d3076ad /meta/recipes-core | |
parent | 55ba8ea8636bd4401aaad3d3e3441872cc974596 (diff) | |
download | poky-40a15da9eb98e76aadf00f734d98123735589894.tar.gz |
util-linux: split uuidd into it's own package, and enable for systemd
(From OE-Core rev: cd3c8c9cea560a584178ed831bfc3c014b6663e6)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r-- | meta/recipes-core/util-linux/util-linux.inc | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/meta/recipes-core/util-linux/util-linux.inc b/meta/recipes-core/util-linux/util-linux.inc index 41a5471132..46daab7fec 100644 --- a/meta/recipes-core/util-linux/util-linux.inc +++ b/meta/recipes-core/util-linux/util-linux.inc | |||
@@ -17,7 +17,7 @@ LIC_FILES_CHKSUM = "file://README.licensing;md5=679af3e410ee112a5ec94de6501bf5c3 | |||
17 | file://libmount/COPYING;md5=152f98bc301a5ea649769ede7203ac82 \ | 17 | file://libmount/COPYING;md5=152f98bc301a5ea649769ede7203ac82 \ |
18 | file://libblkid/COPYING;md5=152f98bc301a5ea649769ede7203ac82" | 18 | file://libblkid/COPYING;md5=152f98bc301a5ea649769ede7203ac82" |
19 | 19 | ||
20 | inherit autotools gettext pkgconfig | 20 | inherit autotools gettext pkgconfig systemd |
21 | DEPENDS = "zlib ncurses" | 21 | DEPENDS = "zlib ncurses" |
22 | DEPENDS_append_class-native = " lzo-native" | 22 | DEPENDS_append_class-native = " lzo-native" |
23 | 23 | ||
@@ -34,7 +34,7 @@ PACKAGES =+ "util-linux-agetty util-linux-fdisk util-linux-cfdisk util-linux-sfd | |||
34 | util-linux-libmount util-linux-libmount-dev \ | 34 | util-linux-libmount util-linux-libmount-dev \ |
35 | util-linux-libblkid-dev util-linux-libuuid util-linux-libuuid-dev \ | 35 | util-linux-libblkid-dev util-linux-libuuid util-linux-libuuid-dev \ |
36 | util-linux-uuidgen util-linux-lscpu util-linux-fsck util-linux-blkid \ | 36 | util-linux-uuidgen util-linux-lscpu util-linux-fsck util-linux-blkid \ |
37 | util-linux-mkfs util-linux-mcookie util-linux-reset" | 37 | util-linux-mkfs util-linux-mcookie util-linux-reset util-linux-uuidd" |
38 | 38 | ||
39 | EXTRA_OECONF = "--libdir=${base_libdir} --disable-use-tty-group \ | 39 | EXTRA_OECONF = "--libdir=${base_libdir} --disable-use-tty-group \ |
40 | --disable-makeinstall-chown --enable-elvtune --enable-init \ | 40 | --disable-makeinstall-chown --enable-elvtune --enable-init \ |
@@ -46,6 +46,10 @@ EXTRA_OECONF = "--libdir=${base_libdir} --disable-use-tty-group \ | |||
46 | usrsbin_execdir='${sbindir}' \ | 46 | usrsbin_execdir='${sbindir}' \ |
47 | " | 47 | " |
48 | 48 | ||
49 | # Respect the systemd feature for uuidd | ||
50 | EXTRA_OECONF += "${@base_contains('DISTRO_FEATURES', 'systemd', '--enable-socket-activation', '--disable-socket-activation', d)}" | ||
51 | EXTRA_OECONF += "${@base_contains('DISTRO_FEATURES', 'systemd', '--with-systemdsystemunitdir=${systemd_unitdir}/system/', '--without-systemdsystemunitdir', d)}" | ||
52 | |||
49 | EXTRA_OECONF_append_class-native = " --disable-login --disable-su" | 53 | EXTRA_OECONF_append_class-native = " --disable-login --disable-su" |
50 | 54 | ||
51 | FILES_${PN}-doc += "${datadir}/getopt/getopt-*.*" | 55 | FILES_${PN}-doc += "${datadir}/getopt/getopt-*.*" |
@@ -61,6 +65,7 @@ FILES_util-linux-mcookie = "${bindir}/mcookie" | |||
61 | FILES_util-linux-umount = "${base_bindir}/umount.${BPN}" | 65 | FILES_util-linux-umount = "${base_bindir}/umount.${BPN}" |
62 | FILES_util-linux-readprofile = "${base_sbindir}/readprofile.${BPN}" | 66 | FILES_util-linux-readprofile = "${base_sbindir}/readprofile.${BPN}" |
63 | FILES_util-linux-uuidgen = "${bindir}/uuidgen" | 67 | FILES_util-linux-uuidgen = "${bindir}/uuidgen" |
68 | FILES_util-linux-uuidd = "${sbindir}/uuidd" | ||
64 | FILES_util-linux-reset = "${base_bindir}/reset" | 69 | FILES_util-linux-reset = "${base_bindir}/reset" |
65 | 70 | ||
66 | FILES_util-linux-libblkid = "${base_libdir}/libblkid.so.*" | 71 | FILES_util-linux-libblkid = "${base_libdir}/libblkid.so.*" |
@@ -88,6 +93,8 @@ RRECOMMENDS_${PN} = "util-linux-fdisk util-linux-cfdisk util-linux-sfdisk util-l | |||
88 | RRECOMMENDS_${PN}_class-native = "" | 93 | RRECOMMENDS_${PN}_class-native = "" |
89 | RDEPENDS_${PN}_class-native = "" | 94 | RDEPENDS_${PN}_class-native = "" |
90 | 95 | ||
96 | SYSTEMD_PACKAGES = "util-linux-uuidd" | ||
97 | SYSTEMD_SERVICE_util-linux-uuidd = "uuidd.service" | ||
91 | 98 | ||
92 | do_compile () { | 99 | do_compile () { |
93 | set -e | 100 | set -e |