Skip to contentSkip to conversation

systemd: update uclibc patch headers

PATCH New Ross Burton 1 participant 5 messages Jan 21, 2013

lore
Share & tools
lore
#0 lore raw

cover More systemd fixes

Some more fixes - mainly to skip -serialgetty on !systemd builds to world works, but two cleanups too.

Ross

The following changes since commit 6b5e11d8d6c839af21c26c89ce01bf2ac94043bf:

systemd: add missing patch headers (2013-01-21 12:44:54 +0000)

are available in the git repository at:

git://git.yoctoproject.org/poky-contrib ross/systemd

for you to fetch changes up to 0d1c6df01c4757e227008fc1dee37f225354ebf0:

systemd: remove unused SERIAL_CONSOLE variable (2013-01-21 17:56:14 +0000)

----------------------------------------------------------------
Ross Burton (4):
systemd: update uclibc patch headers
systemd-serialgetty: remove redundant statements
systemd-serialgetty: skip package when not using systemd
systemd: remove unused SERIAL_CONSOLE variable

 meta/recipes-core/systemd/systemd-serialgetty.bb              |    9 ++++++---
 .../recipes-core/systemd/systemd/optional_secure_getenv.patch |    4 ++--
 .../systemd/systemd/systemd-pam-configure-check-uclibc.patch  |    2 +-
 .../systemd/systemd/systemd-pam-fix-execvpe.patch             |    2 +-
 .../systemd/systemd/systemd-pam-fix-fallocate.patch           |    2 +-
 .../systemd/systemd/systemd-pam-fix-getty-unit.patch          |    2 +-
 .../systemd/systemd/systemd-pam-fix-mkostemp.patch            |    2 +-
 .../systemd/systemd/systemd-pam-fix-msformat.patch            |    2 +-
 meta/recipes-core/systemd/systemd_196.bb                      |    2 --
 9 files changed, 14 insertions(+), 13 deletions(-)

Ross Burton (4):
systemd: update uclibc patch headers
systemd-serialgetty: remove redundant statements
systemd-serialgetty: skip package when not using systemd
systemd: remove unused SERIAL_CONSOLE variable

 meta/recipes-core/systemd/systemd-serialgetty.bb              |    9 ++++++---
 .../recipes-core/systemd/systemd/optional_secure_getenv.patch |    4 ++--
 .../systemd/systemd/systemd-pam-configure-check-uclibc.patch  |    2 +-
 .../systemd/systemd/systemd-pam-fix-execvpe.patch             |    2 +-
 .../systemd/systemd/systemd-pam-fix-fallocate.patch           |    2 +-
 .../systemd/systemd/systemd-pam-fix-getty-unit.patch          |    2 +-
 .../systemd/systemd/systemd-pam-fix-mkostemp.patch            |    2 +-
 .../systemd/systemd/systemd-pam-fix-msformat.patch            |    2 +-
 meta/recipes-core/systemd/systemd_196.bb                      |    2 --
 9 files changed, 14 insertions(+), 13 deletions(-)
Signature · 1 line
1.7.10.4
#1 lore raw

PATCH 1/4 systemd: update uclibc patch headers

Discussion has revealed that upstream has formally rejected patches to support uclibc, so mark this in the headers.

---
 meta/recipes-core/systemd/systemd/optional_secure_getenv.patch     |    4 ++--
 .../systemd/systemd/systemd-pam-configure-check-uclibc.patch       |    2 +-
 meta/recipes-core/systemd/systemd/systemd-pam-fix-execvpe.patch    |    2 +-
 meta/recipes-core/systemd/systemd/systemd-pam-fix-fallocate.patch  |    2 +-
 meta/recipes-core/systemd/systemd/systemd-pam-fix-getty-unit.patch |    2 +-
 meta/recipes-core/systemd/systemd/systemd-pam-fix-mkostemp.patch   |    2 +-
 meta/recipes-core/systemd/systemd/systemd-pam-fix-msformat.patch   |    2 +-
 7 files changed, 8 insertions(+), 8 deletions(-)
meta/recipes-core/systemd/systemd/optional_secure_getenv.patch +2 -2
index 35f1467..2063268 100644
@@ -1,9 +1,9 @@
 on uclibc secure_getenv is not available
 therefore default to using getenv instead
 
-Singed-off-by: Khem Raj <[email protected]>
+Upstream-Status: Denied [no desire for uclibc support]
+Signed-off-by: Khem Raj <[email protected]>
 
-Upstream-Status: Pending
 Index: git/src/shared/missing.h
 ===================================================================
 --- git.orig/src/shared/missing.h	2012-09-22 18:46:44.141282145 -0700
meta/recipes-core/systemd/systemd/systemd-pam-configure-check-uclibc.patch +1 -1
index c69a8ab..d096983 100644
@@ -1,4 +1,4 @@
-Upstream-Status: Pending
+Upstream-Status: Denied [no desire for uclibc support]
 Signed-off-by: Khem Raj <[email protected]>
 
 --- systemd-185.orig/configure.ac	2012-06-04 14:15:16.000000000 -0400
meta/recipes-core/systemd/systemd/systemd-pam-fix-execvpe.patch +1 -1
index 1ed4d30..1d4f273 100644
@@ -1,4 +1,4 @@
-Upstream-Status: Pending
+Upstream-Status: Denied [no desire for uclibc support]
 Signed-off-by: Khem Raj <[email protected]>
 
 Index: git/src/nspawn/nspawn.c
meta/recipes-core/systemd/systemd/systemd-pam-fix-fallocate.patch +1 -1
index 8bc7a6f..7cf9626 100644
@@ -1,4 +1,4 @@
-Upstream-Status: Pending
+Upstream-Status: Denied [no desire for uclibc support]
 Signed-off-by: Khem Raj <[email protected]>
 
 Index: git/src/journal/journal-file.c
meta/recipes-core/systemd/systemd/systemd-pam-fix-getty-unit.patch +1 -1
index 8845624..533a239 100644
@@ -1,6 +1,6 @@
 Prefer getty to agetty in console setup systemd units
 
-Upstream-Status: Pending
+Upstream-Status: Inappropriate [configuration specific]
 Signed-off-by: Maxime Ripard <[email protected]>
 ---
  units/[email protected]        |    2 +-
meta/recipes-core/systemd/systemd/systemd-pam-fix-mkostemp.patch +1 -1
index be4d3e3..fb8443d 100644
@@ -1,4 +1,4 @@
-Upstream-Status: Pending
+Upstream-Status: Denied [no desire for uclibc support]
 Signed-off-by: Khem Raj <[email protected]>
 
 Index: git/src/journal/journal-send.c
meta/recipes-core/systemd/systemd/systemd-pam-fix-msformat.patch +1 -1
index cdf8d61..f3b1ace 100644
@@ -1,4 +1,4 @@
-Upstream-Status: Pending
+Upstream-Status: Denied [no desire for uclibc support]
 Signed-off-by: Khem Raj <[email protected]>
 
 --- systemd-pam-185/src/fsck/fsck.c.orig	2012-06-22 23:22:22.000000000 -0400
Signature · 1 line
1.7.10.4
#2 lore raw

PATCH 2/4 systemd-serialgetty: remove redundant statements

---
 meta/recipes-core/systemd/systemd-serialgetty.bb |    3 ---
 1 file changed, 3 deletions(-)
meta/recipes-core/systemd/systemd-serialgetty.bb +0 -3
index 7e7368b..3e2a0e3 100644
@@ -35,9 +35,6 @@ do_install() {
 	fi
 }
 
-PACKAGES = "${PN} ${PN}-dbg ${PN}-dev ${PN}-doc"
-
-RRECOMMENDS_${PN} = ""
 RDEPENDS_${PN} = "systemd"
 
 # This is a machine specific file
Signature · 1 line
1.7.10.4
#3 lore raw

PATCH 3/4 systemd-serialgetty: skip package when not using systemd

In reply to Ross Burton

As this package RDEPENDS on systemd it wants to build systemd, but if systemd isn't a DISTRO_FEATURE then that package is skipped so world builds fail. Solve this by skipping this package too.

---
 meta/recipes-core/systemd/systemd-serialgetty.bb |    6 ++++++
 1 file changed, 6 insertions(+)
meta/recipes-core/systemd/systemd-serialgetty.bb +6 -0
index 3e2a0e3..96cbf31 100644
@@ -40,3 +40,9 @@ RDEPENDS_${PN} = "systemd"
 # This is a machine specific file
 FILES_${PN} = "${systemd_unitdir}/system/[email protected] ${sysconfdir}"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+# As this package is tied to systemd, only build it when we're also building systemd.
+python () {
+    if not oe.utils.contains ('DISTRO_FEATURES', 'systemd', True, False, d):
+        raise bb.parse.SkipPackage("'systemd' not in DISTRO_FEATURES")
+}
Signature · 1 line
1.7.10.4
#4 lore raw

PATCH 4/4 systemd: remove unused SERIAL_CONSOLE variable

In reply to Ross Burton
---
 meta/recipes-core/systemd/systemd_196.bb |    2 --
 1 file changed, 2 deletions(-)
meta/recipes-core/systemd/systemd_196.bb +0 -2
index 5242b5a..a78a8a6 100644
@@ -11,8 +11,6 @@ PROVIDES = "udev"
 DEPENDS = "xz kmod docbook-sgml-dtd-4.1-native intltool-native gperf-native acl readline dbus libcap libcgroup tcp-wrappers usbutils glib-2.0 libgcrypt"
 DEPENDS += "${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}"
 
-SERIAL_CONSOLE ?= "115200 /dev/ttyS0"
-
 SECTION = "base/shell"
 
 inherit gtk-doc useradd pkgconfig autotools perlnative
Signature · 1 line
1.7.10.4