Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 1/2] glibc: Re-enable upstream __USE_KERNEL_XATTR_DEFS patch
@ 2015-02-02  4:19 Khem Raj
  2015-02-02  4:19 ` [PATCH 2/2] systemd: Upgrade 216 -> 218 Khem Raj
  0 siblings, 1 reply; 6+ messages in thread
From: Khem Raj @ 2015-02-02  4:19 UTC (permalink / raw)
  To: openembedded-core

Re-introduce

https://sourceware.org/git/?p=glibc.git;a=commit;h=fdbe8eae2b9aed74dabba1b0a189c5d7d61bf032

This patch was overzealously removed during option groups forward port

Change-Id: I8dd01902ae8e5ee8b5c6fc9dc39c7216952dca51
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 .../glibc/glibc/eglibc-use-option-groups.patch       | 20 --------------------
 1 file changed, 20 deletions(-)

diff --git a/meta/recipes-core/glibc/glibc/eglibc-use-option-groups.patch b/meta/recipes-core/glibc/glibc/eglibc-use-option-groups.patch
index f61d459..1910fcc 100644
--- a/meta/recipes-core/glibc/glibc/eglibc-use-option-groups.patch
+++ b/meta/recipes-core/glibc/glibc/eglibc-use-option-groups.patch
@@ -2819,26 +2819,6 @@ Index: git/misc/Makefile
  
  CFLAGS-select.c = -fexceptions -fasynchronous-unwind-tables
  CFLAGS-tsearch.c = $(uses-callbacks)
-Index: git/misc/sys/xattr.h
-===================================================================
---- git.orig/misc/sys/xattr.h	2014-08-29 20:00:52.644070587 -0700
-+++ git/misc/sys/xattr.h	2014-08-29 20:01:15.216070587 -0700
-@@ -26,7 +26,6 @@
- 
- /* The following constants should be used for the fifth parameter of
-    `*setxattr'.  */
--#ifndef __USE_KERNEL_XATTR_DEFS
- enum
- {
-   XATTR_CREATE = 1,	/* set value, fail if attr already exists.  */
-@@ -34,7 +33,6 @@
-   XATTR_REPLACE = 2	/* set value, fail if attr does not exist.  */
- #define XATTR_REPLACE	XATTR_REPLACE
- };
--#endif
- 
- /* Set the attribute NAME of the file pointed to by PATH to VALUE (which
-    is SIZE bytes long).  Return 0 on success, -1 for errors.  */
 Index: git/misc/tst-efgcvt.c
 ===================================================================
 --- git.orig/misc/tst-efgcvt.c	2014-08-29 20:00:52.652070587 -0700
-- 
2.1.1



^ permalink raw reply related	[flat|nested] 6+ messages in thread
* [PATCH 1/2] util-linux: disable systemd
@ 2015-02-24 18:07 Ross Burton
  2015-02-24 18:07 ` [PATCH 2/2] systemd: Upgrade 216 -> 218 Ross Burton
  0 siblings, 1 reply; 6+ messages in thread
From: Ross Burton @ 2015-02-24 18:07 UTC (permalink / raw)
  To: openembedded-core

systemd has a build-dependency on util-linux for libmount, and util-linux has an
optional build dependency on systemd.

The features in util-linux that enabling systemd gives you are:
* lslogins can show recent journal entries from the user
* uuidd can use socket activation and has a service file
* fstrim has a service file
* logger can write journal entries

These are not worth the overhead of maintaining two util-linux recipes to
bootstrap the cycle, so disable systemd support in util-linux.

Signed-off-by: Ross Burton <ross.burton@intel.com>
---
 meta/recipes-core/util-linux/util-linux.inc |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/meta/recipes-core/util-linux/util-linux.inc b/meta/recipes-core/util-linux/util-linux.inc
index b4f51e9..3d8a4d0 100644
--- a/meta/recipes-core/util-linux/util-linux.inc
+++ b/meta/recipes-core/util-linux/util-linux.inc
@@ -48,8 +48,7 @@ SHARED_EXTRA_OECONF = "--disable-use-tty-group \
 
 EXTRA_OECONF = "${SHARED_EXTRA_OECONF} --libdir=${base_libdir}"
 
-PACKAGECONFIG_class-target ?= "${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'pam', '', d)} \
-                                ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)} "
+PACKAGECONFIG_class-target ?= "${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'pam', '', d)}"
 PACKAGECONFIG[pam] = "--enable-su --enable-runuser,--disable-su --disable-runuser, libpam,"
 
 # Respect the systemd feature for uuidd
@@ -117,7 +116,7 @@ RDEPENDS_${PN}_class-nativesdk = ""
 
 RPROVIDES_${PN}-dev = "util-linux-libblkid-dev util-linux-libmount-dev util-linux-libuuid-dev"
 
-SYSTEMD_PACKAGES = "${PN}-uuidd ${PN}-fstrim"
+#SYSTEMD_PACKAGES = "${PN}-uuidd ${PN}-fstrim"
 SYSTEMD_SERVICE_${PN}-uuidd = "uuidd.socket uuidd.service"
 SYSTEMD_AUTO_ENABLE_${PN}-uuidd = "disable"
 SYSTEMD_SERVICE_${PN}-fstrim = "fstrim.timer fstrim.service"
-- 
1.7.10.4



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

end of thread, other threads:[~2015-02-24 18:09 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-02  4:19 [PATCH 1/2] glibc: Re-enable upstream __USE_KERNEL_XATTR_DEFS patch Khem Raj
2015-02-02  4:19 ` [PATCH 2/2] systemd: Upgrade 216 -> 218 Khem Raj
2015-02-06 12:20   ` Burton, Ross
2015-02-06 13:00   ` Burton, Ross
2015-02-12  7:32     ` Khem Raj
  -- strict thread matches above, loose matches on Subject: below --
2015-02-24 18:07 [PATCH 1/2] util-linux: disable systemd Ross Burton
2015-02-24 18:07 ` [PATCH 2/2] systemd: Upgrade 216 -> 218 Ross Burton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox