Package Upgrade: systemd and util-linux
v3 cover Package Upgrade: systemd and util-linux
The following changes since commit afb40bf179a58b7f3a8e365d87510ba2c54437d0:
puzzles: fix Samba conflict, clean up recipe (2016-06-23 14:23:42 +0100)
are available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib ChenQi/PU-20160624
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=ChenQi/PU-20160624
Chen Qi (3):
util-linux: upgrade to 2.28
bash-completion: delete files util-linux provides
systemd: upgrade to 230
meta/recipes-core/systemd/systemd.inc | 4 +-
.../systemd/0003-define-exp10-if-missing.patch | 15 ++-
...4-Make-root-s-home-directory-configurable.patch | 62 +++++------
...0015-systemd-user-avoid-using-system-auth.patch | 13 +--
...-remove-userspace-firmware-loading-suppor.patch | 68 +++++-------
.../systemd/0018-make-test-dir-configurable.patch | 32 +++---
...ild-sys-fix-build-with-libgrcypt-disabled.patch | 122 ---------------------
.../systemd/{systemd_229.bb => systemd_230.bb} | 5 +-
meta/recipes-core/util-linux/util-linux.inc | 4 +-
.../util-linux/avoid_unsupported_grep_opts.patch | 57 ----------
.../util-linux/avoid_unsupported_sleep_param.patch | 20 ----
.../util-linux/display_testname_for_subtest.patch | 27 +++--
.../recipes-core/util-linux/util-linux/ptest.patch | 16 ++-
.../util-linux/util-linux/util-linux-native.patch | 57 ----------
.../util-linux-ng-2.16-mount_lock_path.patch | 27 -----
.../util-linux/uuid-test-error-api.patch | 21 ++--
.../{util-linux_2.27.1.bb => util-linux_2.28.bb} | 15 +--
.../systemd-bootchart/systemd-bootchart_230.bb | 27 +++++
.../bash-completion/bash-completion_2.1.bb | 2 +-
19 files changed, 168 insertions(+), 426 deletions(-)
delete mode 100644 meta/recipes-core/systemd/systemd/0023-build-sys-fix-build-with-libgrcypt-disabled.patch
rename meta/recipes-core/systemd/{systemd_229.bb => systemd_230.bb} (99%)
delete mode 100644 meta/recipes-core/util-linux/util-linux/avoid_unsupported_grep_opts.patch
delete mode 100644 meta/recipes-core/util-linux/util-linux/avoid_unsupported_sleep_param.patch
delete mode 100644 meta/recipes-core/util-linux/util-linux/util-linux-native.patch
delete mode 100644 meta/recipes-core/util-linux/util-linux/util-linux-ng-2.16-mount_lock_path.patch
rename meta/recipes-core/util-linux/{util-linux_2.27.1.bb => util-linux_2.28.bb} (61%)
create mode 100644 meta/recipes-devtools/systemd-bootchart/systemd-bootchart_230.bbSignature · 1 line
1.9.1
PATCH v3 1/3 util-linux: upgrade to 2.28
Related patches are rebased.
util-linux-ng-2.16-mount_lock_path.patch is removed because there's no _PATH_MOUNTED_LOCK in the latest codes.
util-linux-native.patch is removed because 2.28 version of util-linux has taken mkostemp into consideration and provide fallback if mkostemp fails.
avoid_unsupported_sleep_param.patch is removed and coreutils is added as a runtime dependency to util-linux-ptest to solve the same problem.
avoid_unsupported_grep_opts.patch is removed and grep is added as a runtime dependency to util-linux-ptest to solve the sanme problem.
---
meta/recipes-core/util-linux/util-linux.inc | 4 +-
.../util-linux/avoid_unsupported_grep_opts.patch | 57 ----------------------
.../util-linux/avoid_unsupported_sleep_param.patch | 20 --------
.../util-linux/display_testname_for_subtest.patch | 27 ++++++----
.../recipes-core/util-linux/util-linux/ptest.patch | 16 ++++--
.../util-linux/util-linux/util-linux-native.patch | 57 ----------------------
.../util-linux-ng-2.16-mount_lock_path.patch | 27 ----------
.../util-linux/uuid-test-error-api.patch | 21 +++++---
.../{util-linux_2.27.1.bb => util-linux_2.28.bb} | 15 ++----
9 files changed, 49 insertions(+), 195 deletions(-)
delete mode 100644 meta/recipes-core/util-linux/util-linux/avoid_unsupported_grep_opts.patch
delete mode 100644 meta/recipes-core/util-linux/util-linux/avoid_unsupported_sleep_param.patch
delete mode 100644 meta/recipes-core/util-linux/util-linux/util-linux-native.patch
delete mode 100644 meta/recipes-core/util-linux/util-linux/util-linux-ng-2.16-mount_lock_path.patch
rename meta/recipes-core/util-linux/{util-linux_2.27.1.bb => util-linux_2.28.bb} (61%)meta/recipes-core/util-linux/util-linux.inc +2 -2
@@ -17,7 +17,7 @@ LIC_FILES_CHKSUM = "file://README.licensing;md5=1715f5ee3e01203ca1e1e0b9ee65918c file://libmount/COPYING;md5=fb93f01d4361069c5616327705373b16 \ file://libblkid/COPYING;md5=fb93f01d4361069c5616327705373b16" -inherit autotools gettext pkgconfig systemd update-alternatives python3-dir ptest bash-completion +inherit autotools gettext pkgconfig systemd update-alternatives python3-dir bash-completion ptest DEPENDS = "zlib ncurses" DEPENDS_append_class-native = " lzo-native" DEPENDS_append_class-nativesdk = " lzo-native"
@@ -282,7 +282,7 @@ python populate_packages_prepend() { extra_depends='', prepend=True, allow_links=True) } -RDEPENDS_${PN}-ptest = "bash" +RDEPENDS_${PN}-ptest = "bash grep coreutils" do_compile_ptest() { oe_runmake buildtest-TESTS
meta/recipes-core/util-linux/util-linux/avoid_unsupported_grep_opts.patch deleted +0 -57
57 lines not on this page · raw message
meta/recipes-core/util-linux/util-linux/avoid_unsupported_sleep_param.patch deleted +0 -20
@@ -1,20 +0,0 @@ -Avoid unsupported sleep parameter - -Signed-off-by: Tudor Florea <[email protected]> -Upstream-Status: Pending - -diff -ruN a/simple b/simple ---- a/tests/ts/tailf/simple 2015-11-12 11:34:49.971817130 +0200 -+++ b/tests/ts/tailf/simple 2013-11-12 11:34:37.876325128 +0200 -@@ -27,9 +27,9 @@ - - $TS_CMD_TAILF $INPUT > $TS_OUTPUT 2>&1 & - --sleep 0.5 -+sleep 1 - echo {0..9} >> $INPUT --sleep 0.5 -+sleep 1 - - rm -f $INPUT -
meta/recipes-core/util-linux/util-linux/display_testname_for_subtest.patch +17 -10
@@ -3,16 +3,23 @@ Display testname for subtest Signed-off-by: Tudor Florea <[email protected]> Upstream-Status: Pending -diff -ruN a/functions.sh b/functions.sh ---- a/tests/functions.sh 2015-11-12 21:32:02.434542124 +0100 -+++ b/tests/functions.sh 2015-11-12 21:40:37.095317280 +0100 -@@ -297,7 +297,7 @@ - if [ "$TS_PARALLEL" == "yes" ]; then - TS_TITLE=$(printf "%13s: %-30s ...\n%16s: %-27s ..." "$TS_COMPONENT" "$TS_DESC" "" "$TS_SUBNAME") - else -- TS_TITLE=$(printf "%16s: %-27s ..." "" "$TS_SUBNAME") -+ TS_TITLE=$(printf "%13s: %-30s ..." "$TS_COMPONENT" "$TS_SUBNAME") - echo -n "$TS_TITLE" +--- + tests/functions.sh | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/tests/functions.sh b/tests/functions.sh +index 5246605..b24dc15 100644 +--- a/tests/functions.sh ++++ b/tests/functions.sh +@@ -320,7 +320,7 @@ function ts_init_subtest { + + if [ "$TS_PARSABLE" != "yes" ]; then + [ $TS_NSUBTESTS -eq 1 ] && echo +- printf "%16s: %-27s ..." "" "$TS_SUBNAME" ++ printf "%13s: %-30s ..." "$TS_COMPONENT" "$TS_SUBNAME" fi } + +-- +2.8.3
meta/recipes-core/util-linux/util-linux/ptest.patch +11 -5
@@ -2,16 +2,22 @@ Define TESTS variable Signed-off-by: Tudor Florea <[email protected]> Upstream-Status: Pending +--- + Makefile.am | 1 + + 1 file changed, 1 insertion(+) -diff -ruN a/Makefile.am b/Makefile.am ---- a/Makefile.am 2015-11-12 20:29:46.778396936 +0100 -+++ b/Makefile.am 2015-11-12 20:32:24.342450279 +0100 -@@ -48,7 +48,7 @@ +diff --git a/Makefile.am b/Makefile.am +index bbaccb1..7d5a6bb 100644 +--- a/Makefile.am ++++ b/Makefile.am +@@ -48,6 +48,7 @@ systemdsystemunit_DATA = dist_bashcompletion_DATA = check_PROGRAMS = dist_check_SCRIPTS = --TESTS = +TESTS = $(check_PROGRAMS) PATHFILES = + +-- +2.8.3
meta/recipes-core/util-linux/util-linux/util-linux-native.patch deleted +0 -57
57 lines not on this page · raw message
meta/recipes-core/util-linux/util-linux/util-linux-ng-2.16-mount_lock_path.patch deleted +0 -27
@@ -1,27 +0,0 @@ -Upstream-Status: Inappropriate [embedded specific] - -The FHS indicates that /etc must be capable of being mounted R/O. - -The FHS also indicates that lock files belong in /var/lock, and /var must -be R/W as soon as possible during boot. - -This patch moves the mtab lock file from the potentially R/O /etc, to the -R/W /var/lock area. This lock file is used when mounting disks and making -other mount adjustments. The _PATH_MOUNTED_TMP is not adjusted, as failing -to write to this file does not cause any functional limitations. - -(Note, if /etc is R/O, then /etc/mtab should be a symlink to /proc/mounts) - -Signed-off-by: Mark Hatle <[email protected]> - ---- util-linux-ng-2.16/include/pathnames.h.orig -+++ util-linux-ng-2.16/include/pathnames.h -@@ -90,7 +90,7 @@ - # endif - #endif - --#define _PATH_MOUNTED_LOCK _PATH_MOUNTED "~" -+#define _PATH_MOUNTED_LOCK "/var/lock/mtab~" - #define _PATH_MOUNTED_TMP _PATH_MOUNTED ".tmp" - - #ifndef _PATH_DEV
meta/recipes-core/util-linux/util-linux/uuid-test-error-api.patch +14 -7
@@ -3,19 +3,23 @@ This patch adds error() API implementation for non-glibc system C libs Upstream-Status: Pending Signed-off-by: Khem Raj <[email protected]> -Index: util-linux-2.27.1/tests/helpers/test_uuidd.c -=================================================================== ---- util-linux-2.27.1.orig/tests/helpers/test_uuidd.c -+++ util-linux-2.27.1/tests/helpers/test_uuidd.c +--- + misc-utils/test_uuidd.c | 62 ++++++++++++++++++++++++++++++++++++++++++++++++- + 1 file changed, 61 insertions(+), 1 deletion(-) + +diff --git a/misc-utils/test_uuidd.c b/misc-utils/test_uuidd.c +index 36f3b3d..7d579ce 100644 +--- a/misc-utils/test_uuidd.c ++++ b/misc-utils/test_uuidd.c @@ -23,7 +23,6 @@ * * make uuidd uuidgen localstatedir=/var */ -#include <error.h> - #include <libgen.h> #include <pthread.h> #include <stdio.h> -@@ -39,6 +38,17 @@ + #include <stdlib.h> +@@ -38,6 +37,17 @@ #include "xalloc.h" #include "strutils.h"
@@ -33,7 +37,7 @@ Index: util-linux-2.27.1/tests/helpers/test_uuidd.c #define LOG(level,args) if (loglev >= level) { fprintf args; } size_t nprocesses = 4; -@@ -257,6 +267,56 @@ static void object_dump(size_t idx, obje +@@ -256,6 +266,56 @@ static void object_dump(size_t idx, object_t *obj) fprintf(stderr, "}\n"); }
@@ -90,3 +94,6 @@ Index: util-linux-2.27.1/tests/helpers/test_uuidd.c int main(int argc, char *argv[]) { size_t i, nfailed = 0, nignored = 0; +-- +2.8.3 +
meta/recipes-core/util-linux/util-linux_2.28.bb renamed from meta/recipes-core/util-linux/util-linux_2.27.1.bb +5 -10
@@ -1,28 +1,23 @@ -MAJOR_VERSION = "2.27" +MAJOR_VERSION = "2.28" require util-linux.inc # To support older hosts, we need to patch and/or revert # some upstream changes. Only do this for native packages. OLDHOST = "" -OLDHOST_class-native = "file://util-linux-native.patch \ - file://util-linux-native-qsort.patch \ - " +OLDHOST_class-native = "file://util-linux-native-qsort.patch" -SRC_URI += "file://util-linux-ng-2.16-mount_lock_path.patch \ - file://configure-sbindir.patch \ +SRC_URI += "file://configure-sbindir.patch \ file://runuser.pamd \ file://runuser-l.pamd \ ${OLDHOST} \ file://ptest.patch \ file://run-ptest \ - file://avoid_unsupported_sleep_param.patch \ - file://avoid_unsupported_grep_opts.patch \ file://display_testname_for_subtest.patch \ file://avoid_parallel_tests.patch \ file://uuid-test-error-api.patch \ " -SRC_URI[md5sum] = "3cd2698d1363a2c64091c2dadc974647" -SRC_URI[sha256sum] = "0a818fcdede99aec43ffe6ca5b5388bff80d162f2f7bd4541dca94fecb87a290" +SRC_URI[md5sum] = "e534e6ccc49107e5d31c329af798ef7d" +SRC_URI[sha256sum] = "395847e2a18a2c317170f238892751e73a57104565344f8644090c8b091014bb" CACHED_CONFIGUREVARS += "scanf_cv_alloc_modifier=ms"
Signature · 1 line
1.9.1
PATCH v3 2/3 bash-completion: delete files util-linux provides
In reply to Chen Qi--- meta/recipes-support/bash-completion/bash-completion_2.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-support/bash-completion/bash-completion_2.1.bb +1 -1
@@ -25,7 +25,7 @@ do_install_append() { # Delete files already provided by util-linux local i - for i in cal dmesg eject hexdump hwclock ionice look renice rtcwake su; do + for i in cal dmesg eject hexdump hwclock ionice look renice rtcwake su mount umount; do rm ${D}${datadir}/${BPN}/completions/$i done
Signature · 1 line
1.9.1
PATCH v3 3/3 systemd: upgrade to 230
In reply to Chen QiPatches are rebased or removed for the latest version.
Python testing scripts are removed for systemd-ptest as systemd is configured with '--without-python'.
systemd-bootchart is now seprated from systemd, thus removing the related configuration items. And we add systemd-bootchart recipe.
---
meta/recipes-core/systemd/systemd.inc | 4 +-
.../systemd/0003-define-exp10-if-missing.patch | 15 ++-
...4-Make-root-s-home-directory-configurable.patch | 62 +++++------
...0015-systemd-user-avoid-using-system-auth.patch | 13 +--
...-remove-userspace-firmware-loading-suppor.patch | 68 +++++-------
.../systemd/0018-make-test-dir-configurable.patch | 32 +++---
...ild-sys-fix-build-with-libgrcypt-disabled.patch | 122 ---------------------
.../systemd/{systemd_229.bb => systemd_230.bb} | 5 +-
.../systemd-bootchart/systemd-bootchart_230.bb | 27 +++++
9 files changed, 118 insertions(+), 230 deletions(-)
delete mode 100644 meta/recipes-core/systemd/systemd/0023-build-sys-fix-build-with-libgrcypt-disabled.patch
rename meta/recipes-core/systemd/{systemd_229.bb => systemd_230.bb} (99%)
create mode 100644 meta/recipes-devtools/systemd-bootchart/systemd-bootchart_230.bbmeta/recipes-core/systemd/systemd.inc +2 -2
@@ -14,11 +14,11 @@ LICENSE = "GPLv2 & LGPLv2.1" LIC_FILES_CHKSUM = "file://LICENSE.GPL2;md5=751419260aa954499f7abaabaa882bbe \ file://LICENSE.LGPL2.1;md5=4fbd65380cdd255951079008b364516c" -SRCREV = "714c62b46379abb7558c544665522aca91691e10" +SRCREV = "3a74d4fc90cb322a4784a3515bef7118c8f8c5ba" SRC_URI = "git://github.com/systemd/systemd.git;protocol=git" -PV = "229+git${SRCPV}" +PV = "230+git${SRCPV}" S = "${WORKDIR}/git"
meta/recipes-core/systemd/systemd/0003-define-exp10-if-missing.patch +7 -8
@@ -1,6 +1,3 @@ -From 699893a05edac5194f9670529bacfaeb67252edb Mon Sep 17 00:00:00 2001 -From: Khem Raj <[email protected]> -Date: Mon, 14 Dec 2015 00:42:49 +0000 Subject: [PATCH 03/36] define exp10 if missing Inspired by: http://peter.korsgaard.com/patches/alsa-utils/alsamixer-fix-build-on-uClibc-exp10.patch
@@ -11,23 +8,25 @@ Upstream-Status: Pending Signed-off-by: Samuel Martin <[email protected]> Signed-off-by: Khem Raj <[email protected]> + --- src/basic/missing.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/basic/missing.h b/src/basic/missing.h -index f3d3236..ee7e7ea 100644 +index 651e414..fafa233 100644 --- a/src/basic/missing.h +++ b/src/basic/missing.h -@@ -1169,3 +1169,8 @@ static inline key_serial_t request_key(const char *type, const char *description - #endif +@@ -1013,4 +1013,9 @@ typedef int32_t key_serial_t; #endif -+ + +#ifdef __UCLIBC__ +/* 10^x = 10^(log e^x) = (e^x)^log10 = e^(x * log 10) */ +#define exp10(x) (exp((x) * log(10))) +#endif /* __UCLIBC__ */ ++ + #include "missing_syscall.h" -- -1.8.3.1 +2.8.3
meta/recipes-core/systemd/systemd/0014-Make-root-s-home-directory-configurable.patch +30 -32
151 lines not on this page · raw message
meta/recipes-core/systemd/systemd/0015-systemd-user-avoid-using-system-auth.patch +6 -7
@@ -1,6 +1,3 @@ -From f70a1a9605cd3adac450c49a5a69da6e9acda517 Mon Sep 17 00:00:00 2001 -From: Khem Raj <[email protected]> -Date: Fri, 20 Feb 2015 05:26:25 +0000 Subject: [PATCH 15/36] systemd-user: avoid using system-auth In OE, we don't provide system-auth, instead, we use common-* files.
@@ -10,15 +7,16 @@ Upstream-Status: Inappropriate [oe specific] Signed-off-by: Chen Qi <[email protected]> Signed-off-by: Khem Raj <[email protected]> + --- src/login/systemd-user.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/login/systemd-user.m4 b/src/login/systemd-user.m4 -index 7933508..16b73d2 100644 +index f188a8e..862d8d7 100644 --- a/src/login/systemd-user.m4 +++ b/src/login/systemd-user.m4 -@@ -2,10 +2,10 @@ +@@ -2,11 +2,11 @@ # # Used by systemd --user instances.
@@ -29,8 +27,9 @@ index 7933508..16b73d2 100644 session required pam_selinux.so close session required pam_selinux.so nottys open )m4_dnl + session required pam_loginuid.so -session include system-auth -+session include common-session ++session include common-account -- -1.8.3.1 +2.8.3
meta/recipes-core/systemd/systemd/0017-Revert-udev-remove-userspace-firmware-loading-suppor.patch +29 -39
160 lines not on this page · raw message
meta/recipes-core/systemd/systemd/0018-make-test-dir-configurable.patch +15 -17
@@ -1,6 +1,3 @@ -From 569cd3cf9806a02226d26c4104dbe44262f93d33 Mon Sep 17 00:00:00 2001 -From: Roy Li <[email protected]> -Date: Fri, 22 Jan 2016 16:44:11 +0800 Subject: [PATCH 18/36] make test dir configurable Upstream-Status: Pending
@@ -9,16 +6,17 @@ test maybe be run on target in cross-compile environment, and test dir is not the compilation dir, so make it configurable Signed-off-by: Roy Li <[email protected]> + --- Makefile.am | 2 +- configure.ac | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am -index b5c6ba7..d3cd961 100644 +index a94636a..dbd3386 100644 --- a/Makefile.am +++ b/Makefile.am -@@ -203,7 +203,7 @@ AM_CPPFLAGS = \ +@@ -207,7 +207,7 @@ AM_CPPFLAGS = \ -DROOTLIBDIR=\"$(rootlibdir)\" \ -DROOTLIBEXECDIR=\"$(rootlibexecdir)\" \ -DROOTHOMEDIR=\"$(roothomedir)\" \
@@ -28,10 +26,10 @@ index b5c6ba7..d3cd961 100644 -I $(top_builddir)/src/basic \ -I $(top_srcdir)/src/basic \ diff --git a/configure.ac b/configure.ac -index 36d20b5..d96dc5a 100644 +index 45aae8a..c53fae2 100644 --- a/configure.ac +++ b/configure.ac -@@ -1494,6 +1494,11 @@ AC_ARG_WITH([roothomedir], +@@ -1518,6 +1518,11 @@ AC_ARG_WITH([roothomedir], [], [with_roothomedir=/root])
@@ -43,7 +41,7 @@ index 36d20b5..d96dc5a 100644 AC_ARG_WITH([pamlibdir], AS_HELP_STRING([--with-pamlibdir=DIR], [Directory for PAM modules]), [], -@@ -1578,6 +1583,7 @@ AC_SUBST([pamconfdir], [$with_pamconfdir]) +@@ -1603,6 +1608,7 @@ AC_SUBST([pamconfdir], [$with_pamconfdir]) AC_SUBST([rootprefix], [$with_rootprefix]) AC_SUBST([rootlibdir], [$with_rootlibdir]) AC_SUBST([roothomedir], [$with_roothomedir])
@@ -51,14 +49,14 @@ index 36d20b5..d96dc5a 100644 AC_CONFIG_FILES([ Makefile -@@ -1669,6 +1675,7 @@ AC_MSG_RESULT([ - lib dir: ${libdir} - rootlib dir: ${with_rootlibdir} - root home dir: ${with_roothomedir} -+ test dir: ${with_testdir} - SysV init scripts: ${SYSTEM_SYSVINIT_PATH} - SysV rc?.d directories: ${SYSTEM_SYSVRCND_PATH} - Build Python: ${PYTHON} +@@ -1695,6 +1701,7 @@ AC_MSG_RESULT([ + lib dir: ${libdir} + rootlib dir: ${with_rootlibdir} + root home dir: ${with_roothomedir} ++ test dir: ${with_testdir} + SysV init scripts: ${SYSTEM_SYSVINIT_PATH} + SysV rc?.d directories: ${SYSTEM_SYSVRCND_PATH} + Build Python: ${PYTHON} -- -1.8.3.1 +2.8.3
meta/recipes-core/systemd/systemd/0023-build-sys-fix-build-with-libgrcypt-disabled.patch deleted +0 -122
122 lines not on this page · raw message
meta/recipes-core/systemd/systemd_230.bb renamed from meta/recipes-core/systemd/systemd_229.bb +2 -3
@@ -35,7 +35,6 @@ SRC_URI += " \ file://0020-check-for-uchar.h-in-configure.patch \ file://0021-include-missing.h-for-getting-secure_getenv-definiti.patch \ file://0022-socket-util-don-t-fail-if-libc-doesn-t-support-IDN.patch \ - file://0023-build-sys-fix-build-with-libgrcypt-disabled.patch \ file://udev-re-enable-mount-propagation-for-udevd.patch \ " SRC_URI_append_libc-uclibc = "\
@@ -57,7 +56,6 @@ PACKAGECONFIG ??= "xz \ machined \ backlight \ quotacheck \ - bootchart \ hostnamed \ ${@bb.utils.contains('TCLIBC', 'glibc', 'myhostname sysusers', '', d)} \ hibernate \
@@ -91,7 +89,6 @@ PACKAGECONFIG[networkd] = "--enable-networkd,--disable-networkd" PACKAGECONFIG[machined] = "--enable-machined,--disable-machined" PACKAGECONFIG[backlight] = "--enable-backlight,--disable-backlight" PACKAGECONFIG[quotacheck] = "--enable-quotacheck,--disable-quotacheck" -PACKAGECONFIG[bootchart] = "--enable-bootchart,--disable-bootchart" PACKAGECONFIG[hostnamed] = "--enable-hostnamed,--disable-hostnamed" PACKAGECONFIG[myhostname] = "--enable-myhostname,--disable-myhostname" PACKAGECONFIG[rfkill] = "--enable-rfkill,--disable-rfkill"
@@ -255,6 +252,8 @@ do_install_ptest () { # install data files needed for tests install -d ${D}${PTEST_PATH}/tests/test cp -rfL ${S}/test/* ${D}${PTEST_PATH}/tests/test + # python is disabled for systemd, thus removing these python testing scripts + rm ${D}${PTEST_PATH}/tests/test/*.py sed -i 's/"tree"/"ls"/' ${D}${PTEST_PATH}/tests/test/udev-test.pl install -d ${D}${PTEST_PATH}/tests/catalog
meta/recipes-devtools/systemd-bootchart/systemd-bootchart_230.bb new file +27 -0
@@ -0,0 +1,27 @@ +LICENSE = "LGPLv2.1 & GPLv2" +LIC_FILES_CHKSUM = "file://LICENSE.LGPL2.1;md5=4fbd65380cdd255951079008b364516c \ + file://LICENSE.GPL2;md5=751419260aa954499f7abaabaa882bbe" + +SRC_URI = "git://github.com/systemd/systemd-bootchart.git;protocol=https" + +# Modify these as desired +PV = "230+git${SRCPV}" +SRCREV = "dcb246b46239259ec99b3c6e6ab7d27e1a5a8a84" + +S = "${WORKDIR}/git" + +DEPENDS = "systemd libxslt-native xmlto-native docbook-xml-dtd4-native docbook-xsl-stylesheets-native intltool" + +inherit pkgconfig autotools systemd + +SYSTEMD_SERVICE_${PN} = "systemd-bootchart.service" + +do_configure_prepend() { + # intltool.m4 is a soft link to /usr/share/aclocal/m4, delete it and use the one in our sysroot + rm -f ${S}/m4/intltool.m4 +} + +FILES_${PN} += "${systemd_unitdir}/systemd-bootchart" + +EXTRA_OECONF = " --with-rootprefix=${base_prefix} \ + --with-rootlibdir=${base_libdir}"
Signature · 1 line
1.9.1