All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] systemd: Fix packaging warnings and spin libnss_myhostname to package of its own
@ 2013-02-15 19:29 Khem Raj
  2013-02-15 20:33 ` Burton, Ross
  0 siblings, 1 reply; 3+ messages in thread
From: Khem Raj @ 2013-02-15 19:29 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/recipes-core/systemd/systemd_197.bb |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-core/systemd/systemd_197.bb b/meta/recipes-core/systemd/systemd_197.bb
index 0c3ebc4..aa6fcea 100644
--- a/meta/recipes-core/systemd/systemd_197.bb
+++ b/meta/recipes-core/systemd/systemd_197.bb
@@ -102,7 +102,9 @@ do_install() {
 }
 
 python populate_packages_prepend (){
-    systemdlibdir = d.getVar("base_libdir", True)
+    systemdbaselibdir = d.getVar("base_libdir", True)
+    do_split_packages(d, systemdbaselibdir, '^lib(.*)\.so\.*', 'lib%s', 'Systemd %s library', extra_depends='', allow_links=True)
+    systemdlibdir = d.getVar("libdir", True)
     do_split_packages(d, systemdlibdir, '^lib(.*)\.so\.*', 'lib%s', 'Systemd %s library', extra_depends='', allow_links=True)
 }
 PACKAGES_DYNAMIC += "^lib(udev|gudev|systemd).*"
@@ -149,7 +151,6 @@ FILES_${PN} = " ${base_bindir}/* \
                 ${systemd_unitdir}/system/* \
                 /lib/udev/rules.d/99-systemd.rules \
                 ${base_libdir}/security/*.so \
-                ${libdir}/libnss_myhostname.so.2 \
                 /cgroup \
                 ${bindir}/systemd* \
                 ${bindir}/localectl \
@@ -162,6 +163,7 @@ FILES_${PN} = " ${base_bindir}/* \
                 ${exec_prefix}/lib/sysctl.d \
                 ${localstatedir} \
                 ${libexecdir} \
+                /lib/udev/hwdb.d \
                 /lib/udev/rules.d/70-uaccess.rules \
                 /lib/udev/rules.d/71-seat.rules \
                 /lib/udev/rules.d/73-seat-late.rules \
-- 
1.7.9.5




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

* Re: [PATCH] systemd: Fix packaging warnings and spin libnss_myhostname to package of its own
  2013-02-15 19:29 [PATCH] systemd: Fix packaging warnings and spin libnss_myhostname to package of its own Khem Raj
@ 2013-02-15 20:33 ` Burton, Ross
  2013-02-16 12:05   ` Enrico Scholz
  0 siblings, 1 reply; 3+ messages in thread
From: Burton, Ross @ 2013-02-15 20:33 UTC (permalink / raw)
  To: Khem Raj; +Cc: openembedded-core

On 15 February 2013 19:29, Khem Raj <raj.khem@gmail.com> wrote:
> +                /lib/udev/hwdb.d \

Would this obsolete the patch I posted earlier to add pci/usb IDs?

Ross



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

* Re: [PATCH] systemd: Fix packaging warnings and spin libnss_myhostname to package of its own
  2013-02-15 20:33 ` Burton, Ross
@ 2013-02-16 12:05   ` Enrico Scholz
  0 siblings, 0 replies; 3+ messages in thread
From: Enrico Scholz @ 2013-02-16 12:05 UTC (permalink / raw)
  To: openembedded-core

"Burton, Ross" <ross.burton-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
writes:

> On 15 February 2013 19:29, Khem Raj <raj.khem-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>> +                /lib/udev/hwdb.d \
>
> Would this obsolete the patch I posted earlier to add pci/usb IDs?

no; these files are useless without an 'udevadm hwdb --update' in a
script.

I did not looked at the generated database, but the hwdb.d files are
large (4 MiB) so that they should be moved into an own subpackage.


Enrico



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

end of thread, other threads:[~2013-02-16 12:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-15 19:29 [PATCH] systemd: Fix packaging warnings and spin libnss_myhostname to package of its own Khem Raj
2013-02-15 20:33 ` Burton, Ross
2013-02-16 12:05   ` Enrico Scholz

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.