diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-07-02 02:00:43 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-11-01 17:43:58 +0000 |
commit | e422bb1bc5d4fe6fea78fd1f45e84f3d83b916d5 (patch) | |
tree | 3e1ddcd5c841e2aa657bff9c772909442bd64c82 | |
parent | 418ee5afa4960cbd9a1fc9a0022fe23b568e2b3e (diff) | |
download | poky-e422bb1bc5d4fe6fea78fd1f45e84f3d83b916d5.tar.gz |
udev: Split out consolekit and udev-acl
This can safe another megabyte on the tar.bz2 of the minimal
image. udev-acl is linking to glibc which will pull in libglib,
libgio, libgthread, libgmodule, libgobject.
2.0M 2011-07-02 01:57 after.tar.bz2
3.0M 2011-07-02 01:52 before.tar.bz2
(From OE-Core rev: 0c905ba71a8bf0fcd96ccaaa27faca00830ba8bb)
Signed-off-by: Holger Hans Peter Freyther <zecke@selfish.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-core/udev/udev-new.inc | 6 | ||||
-rw-r--r-- | meta/recipes-core/udev/udev_164.bb | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/meta/recipes-core/udev/udev-new.inc b/meta/recipes-core/udev/udev-new.inc index 0247a83aff..eac790325e 100644 --- a/meta/recipes-core/udev/udev-new.inc +++ b/meta/recipes-core/udev/udev-new.inc | |||
@@ -35,6 +35,7 @@ libexecdir = "${base_libdir}/udev" | |||
35 | EXTRA_OECONF = "--disable-introspection --with-rootlibdir=${base_libdir} \ | 35 | EXTRA_OECONF = "--disable-introspection --with-rootlibdir=${base_libdir} \ |
36 | --with-pci-ids-path=${datadir}/pci.ids" | 36 | --with-pci-ids-path=${datadir}/pci.ids" |
37 | 37 | ||
38 | PACKAGES =+ "udev-acl udev-consolekit" | ||
38 | PACKAGES =+ "udev-cache libudev libudev-dev libudev-dbg" | 39 | PACKAGES =+ "udev-cache libudev libudev-dev libudev-dbg" |
39 | PACKAGES =+ "libgudev libgudev-dev libgudev-dbg" | 40 | PACKAGES =+ "libgudev libgudev-dev libgudev-dbg" |
40 | 41 | ||
@@ -57,6 +58,11 @@ FILES_libgudev-dev = "${includedir}/gudev* ${libdir}/libgudev*.so ${libdir}/libg | |||
57 | ${libdir}/libgudev*.a ${libdir}/pkgconfig/gudev*.pc" | 58 | ${libdir}/libgudev*.a ${libdir}/pkgconfig/gudev*.pc" |
58 | FILES_udev-cache = "${sysconfdir}/init.d/udev-cache" | 59 | FILES_udev-cache = "${sysconfdir}/init.d/udev-cache" |
59 | 60 | ||
61 | FILES_udev-acl = "${base_libdir}/udev/udev-acl ${base_libdir}/udev/rules.d/70-acl.rules" | ||
62 | |||
63 | RDEPENDS_udev-consolekit += "udev-acl" | ||
64 | FILES_udev-consolekit = "${libdir}/ConsoleKit" | ||
65 | |||
60 | do_install_append () { | 66 | do_install_append () { |
61 | install -d ${D}${sysconfdir}/init.d | 67 | install -d ${D}${sysconfdir}/init.d |
62 | install -m 0755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/udev | 68 | install -m 0755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/udev |
diff --git a/meta/recipes-core/udev/udev_164.bb b/meta/recipes-core/udev/udev_164.bb index 689b5fdb4a..7cbe4d8b60 100644 --- a/meta/recipes-core/udev/udev_164.bb +++ b/meta/recipes-core/udev/udev_164.bb | |||
@@ -1,6 +1,6 @@ | |||
1 | include udev-new.inc | 1 | include udev-new.inc |
2 | 2 | ||
3 | PR = "r5" | 3 | PR = "r6" |
4 | 4 | ||
5 | SRC_URI += "file://udev-166-v4l1-1.patch" | 5 | SRC_URI += "file://udev-166-v4l1-1.patch" |
6 | 6 | ||