systemd: update uclibc patch headers
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
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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
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
@@ -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
PATCH 3/4 systemd-serialgetty: skip package when not using systemd
In reply to Ross BurtonAs 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
@@ -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
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
@@ -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