Skip to contentSkip to conversation

libblockdev: 2.16 -> 2.18

PATCH New [email protected] 2 participants 12 messages Jul 18, 2018 – Jul 25, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libblockdev: 2.16 -> 2.18

From: Changqing Li <[email protected]>

---
 .../0001-fix-configure-and-compile-failures.patch  | 64 ++++++++++++----------
 .../{libblockdev_2.16.bb => libblockdev_2.18.bb}   | 12 ++--
 2 files changed, 41 insertions(+), 35 deletions(-)
 rename meta-oe/recipes-extended/libblockdev/{libblockdev_2.16.bb => libblockdev_2.18.bb} (81%)
meta-oe/recipes-extended/libblockdev/files/0001-fix-configure-and-compile-failures.patch +36 -28
index 745883e..9c050b7 100644
@@ -1,7 +1,7 @@
-From 86686ccbf43c5d9e8c8dc97c66ba09e522050e5e Mon Sep 17 00:00:00 2001
+From 21654e3719e0a289e735918b234f7aae6766e3a1 Mon Sep 17 00:00:00 2001
 From: Hongxu Jia <[email protected]>
-Date: Thu, 27 Jul 2017 10:06:24 +0800
-Subject: [PATCH 1/3] fix configure and compile failures
+Date: Wed, 18 Jul 2018 11:26:28 +0800
+Subject: [PATCH] fix configure and compile failures
 
 1. Fix do_configure failure
 ---------------------------
@@ -9,9 +9,6 @@ Subject: [PATCH 1/3] fix configure and compile failures
 ../tmp/6tvtK.c:1:38: fatal error: volume_key/libvolume_key.h:
 No such file or directory
 | #include <volume_key/libvolume_key.h>
-|Checking header dmraid/dmraid.h existence and usability.../tmp/
-ktVJ6.c:1:27: fatal error: dmraid/dmraid.h: No such file or directory
-| #include <dmraid/dmraid.h>
 ---------------------------
 We explictly add volume_key and dmraid to DEPENDS, do not need
 configure to test.
@@ -28,12 +25,20 @@ autoheader: Use AC_DEFINE([LIBMOUNT_NEW_ERR_API], [], [Description])
 Upstream-Status: Inappropriate [oe specific]
 
 Signed-off-by: Hongxu Jia <[email protected]>
+
+Checking header dmraid/dmraid.h existence and usability.../tmp/
+ktVJ6.c:1:27: fatal error: dmraid/dmraid.h: No such file or directory
+| #include <dmraid/dmraid.h>
+
+fix this by add --disable-dmraid
+
+Signed-off-by: Changqing Li <[email protected]>
 ---
- configure.ac | 10 ++++------
- 1 file changed, 4 insertions(+), 6 deletions(-)
+ configure.ac | 12 +++++++-----
+ 1 file changed, 7 insertions(+), 5 deletions(-)
 
 diff --git a/configure.ac b/configure.ac
-index d41a307..b036e04 100644
+index a37f337..a8cfe2f 100644
 --- a/configure.ac
 +++ b/configure.ac
 @@ -9,6 +9,8 @@ AC_DISABLE_STATIC
@@ -45,35 +50,38 @@ index d41a307..b036e04 100644
  AM_PATH_PYTHON
  
  AM_PROG_AR
-@@ -154,7 +156,6 @@ LIBBLOCKDEV_PKG_CHECK_MODULES([KMOD], [libkmod >= 19])
+@@ -194,10 +196,9 @@ LIBBLOCKDEV_PKG_CHECK_MODULES([KMOD], [libkmod >= 19])
  AS_IF([test "x$with_crypto" != "xno"],
        [LIBBLOCKDEV_PKG_CHECK_MODULES([CRYPTSETUP], [libcryptsetup >= 1.6.7])
-        LIBBLOCKDEV_PKG_CHECK_MODULES([NSS], [nss >= 3.18.0])
--       LIBBLOCKDEV_CHECK_HEADER([volume_key/libvolume_key.h], [$GLIB_CFLAGS $NSS_CFLAGS], [libvolume_key.h not available])
+       AS_IF([$PKG_CONFIG --atleast-version=2.0 libcryptsetup],
+-            [AC_DEFINE([LIBCRYPTSETUP_2])], [])
++            [AC_DEFINE([LIBCRYPTSETUP_2], [1], [new version of libcryptsetup])])
+       AS_IF([test "x$with_escrow" != "xno"],
+-            [LIBBLOCKDEV_PKG_CHECK_MODULES([NSS], [nss >= 3.18.0])
+-             LIBBLOCKDEV_CHECK_HEADER([volume_key/libvolume_key.h], [$GLIB_CFLAGS $NSS_CFLAGS], [libvolume_key.h not available])],
++            [LIBBLOCKDEV_PKG_CHECK_MODULES([NSS], [nss >= 3.18.0])],
+             [])
        ],
        [])
- 
-@@ -162,10 +163,6 @@ AS_IF([test "x$with_dm" != "xno" -o "x$with_lvm" != "xno" -o "x$with_lvm_dbus" !
-       [LIBBLOCKDEV_PKG_CHECK_MODULES([DEVMAPPER], [devmapper >= 1.02.93])],
-       [])
- 
--AS_IF([test "x$with_dm" != "xno"],
--      [LIBBLOCKDEV_CHECK_HEADER([dmraid/dmraid.h], [], [dmraid.h not available])],
--      [])
--
- AS_IF([test "x$with_part" != "xno" -o "x$with_fs" != "xno"],
-       [LIBBLOCKDEV_PKG_CHECK_MODULES([PARTED], [libparted >= 3.1])]
-       [])
-@@ -174,7 +171,8 @@ AS_IF([test "x$with_fs" != "xno"],
+@@ -218,7 +219,8 @@ AS_IF([test "x$with_fs" != "xno"],
        [LIBBLOCKDEV_PKG_CHECK_MODULES([MOUNT], [mount >= 2.23.0])
         # new versions of libmount has some new functions we can use
         AS_IF([$PKG_CONFIG --atleast-version=2.30.0 mount],
 -             [AC_DEFINE([LIBMOUNT_NEW_ERR_API])], [])
-+             [AC_DEFINE([LIBMOUNT_NEW_ERR_API], [1], [new versions of libmount has some new functions we can use])],
-+             [])
++       [AC_DEFINE([LIBMOUNT_NEW_ERR_API], [1], [new versions of libmount has some new functions we can use])],
++       [])
  
         LIBBLOCKDEV_PKG_CHECK_MODULES([BLKID], [blkid >= 2.23.0])
         # older versions of libblkid don't support BLKID_SUBLKS_BADCSUM so let's just
+@@ -243,7 +245,7 @@ AS_IF([test "x$with_nvdimm" != "xno"],
+        LIBBLOCKDEV_PKG_CHECK_MODULES([NDCTL], [libndctl >= 58.4])
+        # new versions of libndctl new modes
+        AS_IF([$PKG_CONFIG --atleast-version=60 libndctl],
+-             [AC_DEFINE([LIBNDCTL_NEW_MODES])], [])]
++             [AC_DEFINE([LIBNDCTL_NEW_MODES], [1], [new version of libndctl new modes])], [])]
+       [])
+ 
+ AS_IF([test "x$with_vdo" != "xno"],
 -- 
-2.14.3
+2.7.4
 
meta-oe/recipes-extended/libblockdev/libblockdev_2.18.bb renamed from meta-oe/recipes-extended/libblockdev/libblockdev_2.16.bb +5 -7
similarity index 81%
rename from meta-oe/recipes-extended/libblockdev/libblockdev_2.16.bb
rename to meta-oe/recipes-extended/libblockdev/libblockdev_2.18.bb
index 0c954aa..4dbd04c 100644
@@ -18,16 +18,10 @@ DEPENDS += " \
     btrfs-tools \
 "
 
-SRCREV = "e2e0899efe8dd3f111ff955fb6c1dc10b0bd2075"
+SRCREV = "0debeb45562ac3d8f6f43f6f942b238abab55be9"
 SRC_URI = " \
     git://github.com/rhinstaller/libblockdev;branch=master \
     file://0001-fix-configure-and-compile-failures.patch \
-    file://0002-remove-python2-support.patch \
-    file://0003-remove-dmraid-while-compiling-with-with-dm.patch \
-    file://0005-fix-a-clang-compiling-issue.patch \
-"
-SRC_URI_append_libc-musl = " \
-    file://0004-fix-compile-failure-against-musl-C-library.patch \
 "
 
 S = "${WORKDIR}/git"
@@ -40,12 +34,16 @@ FILES_${PN} += "${PYTHON_SITEPACKAGES_DIR}"
 
 PACKAGECONFIG ??= "python3 lvm dm kmod parted fs"
 PACKAGECONFIG[python3] = "--with-python3, --without-python3,,python3"
+PACKAGECONFIG[python2] = "--with-python2, --without-python2,,python2"
 PACKAGECONFIG[lvm] = "--with-lvm, --without-lvm, multipath-tools"
 PACKAGECONFIG[dm] = "--with-dm, --without-dm"
+PACKAGECONFIG[dmraid] = "--with-dmraid, --without-dmraid"
 PACKAGECONFIG[kmod] = "--with-kbd, --without-kbd, kmod"
 PACKAGECONFIG[parted] = "--with-part, --without-part, parted"
 PACKAGECONFIG[fs] = "--with-fs, --without-fs, util-linux"
 PACKAGECONFIG[doc] = "--with-gtk-doc, --without-gtk-doc, gtk-doc-native"
+PACKAGECONFIG[nvdimm] = "--with-nvdimm, --without-nvdimm"
+PACKAGECONFIG[vdo] = "--with-vdo, --without-vdo"
 
 export GIR_EXTRA_LIBS_PATH="${B}/src/utils/.libs"
 
Signature · 1 line
2.7.4
#1 lore raw

PATCH 1/1 mm-common: 0.9.11 -> 0.9.12

From: Changqing Li <[email protected]>

---
 meta-oe/recipes-core/mm-common/mm-common_0.9.11.bb | 9 ---------
 meta-oe/recipes-core/mm-common/mm-common_0.9.12.bb | 9 +++++++++
 2 files changed, 9 insertions(+), 9 deletions(-)
 delete mode 100644 meta-oe/recipes-core/mm-common/mm-common_0.9.11.bb
 create mode 100644 meta-oe/recipes-core/mm-common/mm-common_0.9.12.bb
meta-oe/recipes-core/mm-common/mm-common_0.9.11.bb deleted +0 -9
deleted file mode 100644
index 591caa7..0000000
@@ -1,9 +0,0 @@
-inherit gnomebase
-
-SRC_URI[archive.md5sum] = "d6f2a43589480d2315672da0b5839b56"
-SRC_URI[archive.sha256sum] = "20d1e7466ca4c83c92e29f9e8dfcc8e5721fdf1337f53157bed97be3b73b32a8"
-
-LICENSE = "GPLv2"
-LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
-
-BBCLASSEXTEND = "native"
meta-oe/recipes-core/mm-common/mm-common_0.9.12.bb new file +9 -0
new file mode 100644
index 0000000..4f91f31
@@ -0,0 +1,9 @@
+inherit gnomebase
+
+SRC_URI[archive.md5sum] = "be1c61587db989c7677375a729b94672"
+SRC_URI[archive.sha256sum] = "ceffdcce1e5b52742884c233ec604bf6fded12eea9da077ce7a62c02c87e7c0b"
+
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
+
+BBCLASSEXTEND = "native"
Signature · 1 line
2.7.4
#2 lore raw

PATCH 1/1 multipath-tools: upgrade 0.7.1 -> 0.7.7

In reply to [email protected]

From: Changqing Li <[email protected]>

1. Backport patches from fedora:
git://pkgs.fedoraproject.org/rpms/device-mapper-multipath
- 0001 ~ 0028

2. drop obsolute patch and rebase still needed patch rebased patch: 0029~0031

---
 ...0001-kpartx-include-limits.h-for-PATH_MAX.patch |   29 -
 ...ltipath-attempt-at-common-multipath.rules.patch |  107 --
 ...ools-add-RDAC-SUN-ArrayStorage-to-hwtable.patch |   42 +
 .../0002-RH-fixup-udev-rules-for-redhat.patch      |  110 --
 ...ools-remove-c-from-__cpluscplus-misspelle.patch |   33 +
 ...ools-remove-emacs-autoconfig-of-kpartx-gp.patch |   43 +
 ...ools-replace-FSF-address-with-a-www-point.patch |  191 ++++
 ...ools-Remove-trailing-leading-whitespaces-.patch |  156 +++
 ...path-tools-fix-compilation-with-musl-libc.patch |   58 ++
 ...gger-change-uevent-on-new-device-creation.patch |  138 ---
 ...ools-add-x-to-doc-preclean.pl-and-split-m.patch |   27 +
 ...ipath-change-how-RADOS-checker-is-enabled.patch |   56 -
 ...ools-refresh-kernel-doc-from-kernel-sourc.patch |  784 ++++++++++++++
 ...th-set-verbosity-to-default-during-config.patch |   40 -
 ...ools-configure-hitachi-ams2000-and-hus100.patch |   56 +
 ...ath-don-t-reject-maps-with-undefined-prio.patch |   42 +
 ...kip-device-configs-without-vendor-product.patch |   37 -
 .../0011-multipathd-fix-show-maps-json-crash.patch |   38 -
 ...ltipathd-handle-errors-in-uxlsnr-as-fatal.patch |   57 +
 ...h-fix-error-parsing-find_multipaths-stric.patch |   36 +
 ...ools-modify-Makefile.inc-for-cross-compil.patch |   58 --
 ...h-print-correct-default-for-delay_-_check.patch |   40 +
 ...onf.5-clarify-property-whitelist-handling.patch |   31 +
 .../0015-mpathpersist-add-all_tg_pt-option.patch   |  317 ++++++
 .../files/0016-libmultipath-remove-rbd-code.patch  | 1093 ++++++++++++++++++++
 .../0017-mpathpersist-fix-aptpl-support.patch      |  543 ++++++++++
 ...ath-don-t-check-timestamps-without-a-path.patch |   34 +
 ...-libmultipath-fix-detect-alua-corner-case.patch |   35 +
 .../0020-multipath-fix-setting-conf-version.patch  |   39 +
 .../0021-RH-fixup-udev-rules-for-redhat.patch      |   82 ++
 ...the-property-blacklist-exception-builtin.patch} |   31 +-
 ...023-RH-don-t-start-without-a-config-file.patch} |   40 +-
 .../0024-RH-use-rpm-optflags-if-present.patch      |   52 +
 ...mpathconf.patch => 0025-RH-add-mpathconf.patch} |   20 +-
 ...s-from-kernel-cmdline-mpath.wwids-with-A.patch} |   55 +-
 ...-warn-on-invalid-regex-instead-of-failing.patch |  121 +++
 ...reset-default-find_mutipaths-value-to-off.patch |   29 +
 ...ools-modify-Makefile.inc-for-cross-compil.patch |   49 +
 ...apper.patch => 0030-Always-use-devmapper.patch} |   16 +-
 ... => 0031-Always-use-devmapper-for-kpartx.patch} |   15 +-
 ...ath-tools_0.7.1.bb => multipath-tools_0.7.7.bb} |   49 +-
 41 files changed, 4123 insertions(+), 706 deletions(-)
 delete mode 100644 meta-oe/recipes-support/multipath-tools/files/0001-kpartx-include-limits.h-for-PATH_MAX.patch
 delete mode 100644 meta-oe/recipes-support/multipath-tools/files/0001-multipath-attempt-at-common-multipath.rules.patch
 create mode 100644 meta-oe/recipes-support/multipath-tools/files/0001-multipath-tools-add-RDAC-SUN-ArrayStorage-to-hwtable.patch
 delete mode 100644 meta-oe/recipes-support/multipath-tools/files/0002-RH-fixup-udev-rules-for-redhat.patch
 create mode 100644 meta-oe/recipes-support/multipath-tools/files/0002-multipath-tools-remove-c-from-__cpluscplus-misspelle.patch
 create mode 100644 meta-oe/recipes-support/multipath-tools/files/0003-multipath-tools-remove-emacs-autoconfig-of-kpartx-gp.patch
 create mode 100644 meta-oe/recipes-support/multipath-tools/files/0004-multipath-tools-replace-FSF-address-with-a-www-point.patch
 create mode 100644 meta-oe/recipes-support/multipath-tools/files/0005-multipath-tools-Remove-trailing-leading-whitespaces-.patch
 create mode 100644 meta-oe/recipes-support/multipath-tools/files/0006-multipath-tools-fix-compilation-with-musl-libc.patch
 delete mode 100644 meta-oe/recipes-support/multipath-tools/files/0007-RH-trigger-change-uevent-on-new-device-creation.patch
 create mode 100644 meta-oe/recipes-support/multipath-tools/files/0007-multipath-tools-add-x-to-doc-preclean.pl-and-split-m.patch
 delete mode 100644 meta-oe/recipes-support/multipath-tools/files/0008-libmultipath-change-how-RADOS-checker-is-enabled.patch
 create mode 100644 meta-oe/recipes-support/multipath-tools/files/0008-multipath-tools-refresh-kernel-doc-from-kernel-sourc.patch
 delete mode 100644 meta-oe/recipes-support/multipath-tools/files/0009-multipath-set-verbosity-to-default-during-config.patch
 create mode 100644 meta-oe/recipes-support/multipath-tools/files/0009-multipath-tools-configure-hitachi-ams2000-and-hus100.patch
 create mode 100644 meta-oe/recipes-support/multipath-tools/files/0010-libmultipath-don-t-reject-maps-with-undefined-prio.patch
 delete mode 100644 meta-oe/recipes-support/multipath-tools/files/0010-mpath-skip-device-configs-without-vendor-product.patch
 delete mode 100644 meta-oe/recipes-support/multipath-tools/files/0011-multipathd-fix-show-maps-json-crash.patch
 create mode 100644 meta-oe/recipes-support/multipath-tools/files/0011-multipathd-handle-errors-in-uxlsnr-as-fatal.patch
 create mode 100644 meta-oe/recipes-support/multipath-tools/files/0012-libmultipath-fix-error-parsing-find_multipaths-stric.patch
 delete mode 100644 meta-oe/recipes-support/multipath-tools/files/0012-multipath-tools-modify-Makefile.inc-for-cross-compil.patch
 create mode 100644 meta-oe/recipes-support/multipath-tools/files/0013-libmultipath-print-correct-default-for-delay_-_check.patch
 create mode 100644 meta-oe/recipes-support/multipath-tools/files/0014-multipath.conf.5-clarify-property-whitelist-handling.patch
 create mode 100644 meta-oe/recipes-support/multipath-tools/files/0015-mpathpersist-add-all_tg_pt-option.patch
 create mode 100644 meta-oe/recipes-support/multipath-tools/files/0016-libmultipath-remove-rbd-code.patch
 create mode 100644 meta-oe/recipes-support/multipath-tools/files/0017-mpathpersist-fix-aptpl-support.patch
 create mode 100644 meta-oe/recipes-support/multipath-tools/files/0018-multipath-don-t-check-timestamps-without-a-path.patch
 create mode 100644 meta-oe/recipes-support/multipath-tools/files/0019-libmultipath-fix-detect-alua-corner-case.patch
 create mode 100644 meta-oe/recipes-support/multipath-tools/files/0020-multipath-fix-setting-conf-version.patch
 create mode 100644 meta-oe/recipes-support/multipath-tools/files/0021-RH-fixup-udev-rules-for-redhat.patch
 rename meta-oe/recipes-support/multipath-tools/files/{0003-RH-Remove-the-property-blacklist-exception-builtin.patch => 0022-RH-Remove-the-property-blacklist-exception-builtin.patch} (59%)
 rename meta-oe/recipes-support/multipath-tools/files/{0004-RH-don-t-start-without-a-config-file.patch => 0023-RH-don-t-start-without-a-config-file.patch} (77%)
 create mode 100644 meta-oe/recipes-support/multipath-tools/files/0024-RH-use-rpm-optflags-if-present.patch
 rename meta-oe/recipes-support/multipath-tools/files/{0005-RH-add-mpathconf.patch => 0025-RH-add-mpathconf.patch} (97%)
 rename meta-oe/recipes-support/multipath-tools/files/{0006-RH-add-wwids-from-kernel-cmdline-mpath.wwids-with-A.patch => 0026-RH-add-wwids-from-kernel-cmdline-mpath.wwids-with-A.patch} (76%)
 create mode 100644 meta-oe/recipes-support/multipath-tools/files/0027-RH-warn-on-invalid-regex-instead-of-failing.patch
 create mode 100644 meta-oe/recipes-support/multipath-tools/files/0028-RH-reset-default-find_mutipaths-value-to-off.patch
 create mode 100644 meta-oe/recipes-support/multipath-tools/files/0029-multipath-tools-modify-Makefile.inc-for-cross-compil.patch
 rename meta-oe/recipes-support/multipath-tools/files/{0013-Always-use-devmapper.patch => 0030-Always-use-devmapper.patch} (81%)
 rename meta-oe/recipes-support/multipath-tools/files/{0014-Always-use-devmapper-for-kpartx.patch => 0031-Always-use-devmapper-for-kpartx.patch} (73%)
 rename meta-oe/recipes-support/multipath-tools/{multipath-tools_0.7.1.bb => multipath-tools_0.7.7.bb} (60%)
meta-oe/recipes-support/multipath-tools/files/0001-kpartx-include-limits.h-for-PATH_MAX.patch deleted +0 -29
deleted file mode 100644
index 46dd8e2..0000000
@@ -1,29 +0,0 @@
-From 330028a5a904a0da3788141030e614569dc5aaa7 Mon Sep 17 00:00:00 2001
-From: Khem Raj <[email protected]>
-Date: Fri, 14 Jul 2017 23:28:12 -0700
-Subject: [PATCH] kpartx: include limits.h for PATH_MAX
-
-lopart.c:76:12: error: 'PATH_MAX' undeclared (first use in this function); did you mean 'INT8_MAX'?
-  char path[PATH_MAX];
-            ^~~~~~~~
-
-Signed-off-by: Khem Raj <[email protected]>
----
- kpartx/lopart.c | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/kpartx/lopart.c b/kpartx/lopart.c
-index 7005445..5efe5dc 100644
---- a/kpartx/lopart.c
-+++ b/kpartx/lopart.c
-@@ -22,6 +22,7 @@
- #include <errno.h>
- #include <stdlib.h>
- #include <unistd.h>
-+#include <limits.h>
- #include <sys/ioctl.h>
- #include <sys/stat.h>
- #include <sys/mman.h>
--- 
-2.13.3
-
meta-oe/recipes-support/multipath-tools/files/0001-multipath-attempt-at-common-multipath.rules.patch deleted +0 -107

107 lines not on this page · raw message

meta-oe/recipes-support/multipath-tools/files/0001-multipath-tools-add-RDAC-SUN-ArrayStorage-to-hwtable.patch new file +42 -0

42 lines not on this page · raw message

meta-oe/recipes-support/multipath-tools/files/0002-RH-fixup-udev-rules-for-redhat.patch deleted +0 -110

110 lines not on this page · raw message

meta-oe/recipes-support/multipath-tools/files/0002-multipath-tools-remove-c-from-__cpluscplus-misspelle.patch new file +33 -0
new file mode 100644
index 0000000..73f000a
@@ -0,0 +1,33 @@
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
+From: Xose Vazquez Perez <[email protected]>
+Date: Tue, 24 Apr 2018 15:03:40 +0200
+Subject: [PATCH] multipath-tools: remove "c" from __cpluscplus, misspelled
+
+found by cppcheck(http://cppcheck.sf.net/):
+[libmpathcmd/mpath_cmd.h:24]: (error) Invalid number of character '{' when these macros are defined: '__cpluscplus'.
+
+Cc: Benjamin Marzinski <[email protected]>
+Cc: Christophe Varoqui <[email protected]>
+Cc: DM ML <[email protected]>
+Signed-off-by: Xose Vazquez Perez <[email protected]>
+Signed-off-by: Benjamin Marzinski <[email protected]>
+---
+ libmpathcmd/mpath_cmd.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/libmpathcmd/mpath_cmd.h b/libmpathcmd/mpath_cmd.h
+index aaa8da9..df9d938 100644
+--- a/libmpathcmd/mpath_cmd.h
++++ b/libmpathcmd/mpath_cmd.h
+@@ -20,7 +20,7 @@
+ #ifndef LIB_MPATH_CMD_H
+ #define LIB_MPATH_CMD_H
+ 
+-#ifdef __cpluscplus
++#ifdef __cplusplus
+ extern "C" {
+ #endif
+ 
+-- 
+2.7.4
+
meta-oe/recipes-support/multipath-tools/files/0003-multipath-tools-remove-emacs-autoconfig-of-kpartx-gp.patch new file +43 -0

43 lines not on this page · raw message

meta-oe/recipes-support/multipath-tools/files/0004-multipath-tools-replace-FSF-address-with-a-www-point.patch new file +191 -0

191 lines not on this page · raw message

meta-oe/recipes-support/multipath-tools/files/0005-multipath-tools-Remove-trailing-leading-whitespaces-.patch new file +156 -0

156 lines not on this page · raw message

meta-oe/recipes-support/multipath-tools/files/0006-multipath-tools-fix-compilation-with-musl-libc.patch new file +58 -0

58 lines not on this page · raw message

meta-oe/recipes-support/multipath-tools/files/0007-RH-trigger-change-uevent-on-new-device-creation.patch deleted +0 -138

138 lines not on this page · raw message

meta-oe/recipes-support/multipath-tools/files/0007-multipath-tools-add-x-to-doc-preclean.pl-and-split-m.patch new file +27 -0
new file mode 100644
index 0000000..9e608e1
@@ -0,0 +1,27 @@
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
+From: Xose Vazquez Perez <[email protected]>
+Date: Sun, 13 May 2018 00:39:41 +0200
+Subject: [PATCH] multipath-tools: add +x to doc-preclean.pl and split-man.pl
+
+It is not strictly necessary, but it helps identify bin files.
+
+Cc: Christophe Varoqui <[email protected]>
+Cc: DM ML <[email protected]>
+Signed-off-by: Xose Vazquez Perez <[email protected]>
+Signed-off-by: Benjamin Marzinski <[email protected]>
+---
+ libdmmp/docs/doc-preclean.pl | 0
+ libdmmp/docs/split-man.pl    | 0
+ 2 files changed, 0 insertions(+), 0 deletions(-)
+ mode change 100644 => 100755 libdmmp/docs/doc-preclean.pl
+ mode change 100644 => 100755 libdmmp/docs/split-man.pl
+
+diff --git a/libdmmp/docs/doc-preclean.pl b/libdmmp/docs/doc-preclean.pl
+old mode 100644
+new mode 100755
+diff --git a/libdmmp/docs/split-man.pl b/libdmmp/docs/split-man.pl
+old mode 100644
+new mode 100755
+-- 
+2.7.4
+
meta-oe/recipes-support/multipath-tools/files/0008-libmultipath-change-how-RADOS-checker-is-enabled.patch deleted +0 -56

56 lines not on this page · raw message

meta-oe/recipes-support/multipath-tools/files/0008-multipath-tools-refresh-kernel-doc-from-kernel-sourc.patch new file +784 -0

784 lines not on this page · raw message

meta-oe/recipes-support/multipath-tools/files/0009-multipath-set-verbosity-to-default-during-config.patch deleted +0 -40
deleted file mode 100644
index 17d2d91..0000000
@@ -1,40 +0,0 @@
-From 526e539628e051128abf46a60ec22e18c9b5d84f Mon Sep 17 00:00:00 2001
-From: Benjamin Marzinski <[email protected]>
-Date: Wed, 31 May 2017 15:03:02 -0500
-Subject: [PATCH 09/14] multipath: set verbosity to default during config
-
-condlog was setting the verbosity to 0 if there was no configuration.
-This keeps multipath from printing warning messages about config file
-problems that are found while loading the configuration. Instead, it
-should use the default config level until it loads the configuration
-to find the current value.
-
-Signed-off-by: Benjamin Marzinski <[email protected]>
----
- libmultipath/debug.c | 3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
-diff --git a/libmultipath/debug.c b/libmultipath/debug.c
-index fbe171a..f89b264 100644
---- a/libmultipath/debug.c
-+++ b/libmultipath/debug.c
-@@ -11,6 +11,7 @@
- #include "../third-party/valgrind/drd.h"
- #include "vector.h"
- #include "config.h"
-+#include "defaults.h"
- 
- void dlog (int sink, int prio, const char * fmt, ...)
- {
-@@ -21,7 +22,7 @@ void dlog (int sink, int prio, const char * fmt, ...)
- 	va_start(ap, fmt);
- 	conf = get_multipath_config();
- 	ANNOTATE_IGNORE_READS_BEGIN();
--	thres = (conf) ? conf->verbosity : 0;
-+	thres = (conf) ? conf->verbosity : DEFAULT_VERBOSITY;
- 	ANNOTATE_IGNORE_READS_END();
- 	put_multipath_config(conf);
- 
--- 
-2.8.1
-
meta-oe/recipes-support/multipath-tools/files/0009-multipath-tools-configure-hitachi-ams2000-and-hus100.patch new file +56 -0

56 lines not on this page · raw message

meta-oe/recipes-support/multipath-tools/files/0010-libmultipath-don-t-reject-maps-with-undefined-prio.patch new file +42 -0

42 lines not on this page · raw message

meta-oe/recipes-support/multipath-tools/files/0010-mpath-skip-device-configs-without-vendor-product.patch deleted +0 -37
deleted file mode 100644
index 396b6d3..0000000
@@ -1,37 +0,0 @@
-From f88d60a93e98d86ae294f2317a122c4efde276f0 Mon Sep 17 00:00:00 2001
-From: Benjamin Marzinski <[email protected]>
-Date: Wed, 31 May 2017 17:58:59 -0500
-Subject: [PATCH 10/14] mpath: skip device configs without vendor/product
-
-Right now if multipath.conf includes a device configuration without a
-vendor or product string, it will automatically be applied to all
-devices, skipping all other configs entirely.  This is clearly wrong.
-This patch makes sure that user added configs include vendor and
-product strings
-
-Signed-off-by: Benjamin Marzinski <[email protected]>
----
- libmultipath/config.c | 7 +++++++
- 1 file changed, 7 insertions(+)
-
-diff --git a/libmultipath/config.c b/libmultipath/config.c
-index c485748..bdde113 100644
---- a/libmultipath/config.c
-+++ b/libmultipath/config.c
-@@ -452,6 +452,13 @@ restart:
- 			break;
- 		j = n;
- 		vector_foreach_slot_after(hw, hwe2, j) {
-+			/* drop invalid device configs */
-+			if (!hwe2->vendor || !hwe2->product) {
-+				condlog(0, "device config missing vendor or product parameter");
-+				vector_del_slot(hw, j--);
-+				free_hwe(hwe2);
-+				continue;
-+			}
- 			if (hwe_regmatch(hwe1, hwe2))
- 				continue;
- 			/* dup */
--- 
-2.8.1
-
meta-oe/recipes-support/multipath-tools/files/0011-multipathd-fix-show-maps-json-crash.patch deleted +0 -38
deleted file mode 100644
index 12d6d38..0000000
@@ -1,38 +0,0 @@
-From bc3ceda747104afdc24386df5dc45ca86f6c2936 Mon Sep 17 00:00:00 2001
-From: Benjamin Marzinski <[email protected]>
-Date: Thu, 1 Jun 2017 17:52:28 -0500
-Subject: [PATCH 11/14] multipathd: fix "show maps json" crash
-
-If there are no multipath devices, show_maps_json sets the maximum size
-of the reply buffer to 0. Having a size of 0 causes the calls to calloc
-and realloc to behave in ways that the code isn't designed to handle,
-leading to a double-free crash. Instead, show_maps_json should just
-use the INITIAL_REPLY_LEN if there are no multipath devices.
-
-Signed-off-by: Benjamin Marzinski <[email protected]>
----
- multipathd/cli_handlers.c | 6 ++++--
- 1 file changed, 4 insertions(+), 2 deletions(-)
-
-diff --git a/multipathd/cli_handlers.c b/multipathd/cli_handlers.c
-index 04c7386..7b0d00c 100644
---- a/multipathd/cli_handlers.c
-+++ b/multipathd/cli_handlers.c
-@@ -162,10 +162,12 @@ show_maps_json (char ** r, int * len, struct vectors * vecs)
- 	struct multipath * mpp;
- 	char * c;
- 	char * reply;
--	unsigned int maxlen = INITIAL_REPLY_LEN *
--			PRINT_JSON_MULTIPLIER * VECTOR_SIZE(vecs->mpvec);
-+	unsigned int maxlen = INITIAL_REPLY_LEN;
- 	int again = 1;
- 
-+	if (VECTOR_SIZE(vecs->mpvec) > 0)
-+		maxlen *= PRINT_JSON_MULTIPLIER * VECTOR_SIZE(vecs->mpvec);
-+
- 	vector_foreach_slot(vecs->mpvec, mpp, i) {
- 		if (update_multipath(vecs, mpp->alias, 0)) {
- 			return 1;
--- 
-2.8.1
-
meta-oe/recipes-support/multipath-tools/files/0011-multipathd-handle-errors-in-uxlsnr-as-fatal.patch new file +57 -0

57 lines not on this page · raw message

meta-oe/recipes-support/multipath-tools/files/0012-libmultipath-fix-error-parsing-find_multipaths-stric.patch new file +36 -0
new file mode 100644
index 0000000..8ce2431
@@ -0,0 +1,36 @@
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
+From: Martin Wilck <[email protected]>
+Date: Tue, 15 May 2018 14:32:44 +0200
+Subject: [PATCH] libmultipath: fix error parsing "find_multipaths strict"
+
+If "find_multipaths strict" is set in multipath.conf, the error message
+"illegal value for find_multipaths: strict" is printed. This causes no
+functional problem, as "strict" happens to be the default, fallback
+value. It should be fixed nonetheless. FIND_MULTIPATHS_STRICT, having
+the highest numeric value, must be last in the enum.
+
+Fixes: c36f2f42 "libmultipath: change find_multipaths option to multi-value"
+Signed-off-by: Martin Wilck <[email protected]>
+Signed-off-by: Benjamin Marzinski <[email protected]>
+---
+ libmultipath/structs.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/libmultipath/structs.h b/libmultipath/structs.h
+index eb6a178..e424b15 100644
+--- a/libmultipath/structs.h
++++ b/libmultipath/structs.h
+@@ -122,9 +122,9 @@ enum find_multipaths_states {
+ 	FIND_MULTIPATHS_UNDEF = YNU_UNDEF,
+ 	FIND_MULTIPATHS_OFF = YNU_NO,
+ 	FIND_MULTIPATHS_ON = _FIND_MULTIPATHS_F,
+-	FIND_MULTIPATHS_STRICT = _FIND_MULTIPATHS_F|_FIND_MULTIPATHS_N,
+ 	FIND_MULTIPATHS_GREEDY = _FIND_MULTIPATHS_I,
+ 	FIND_MULTIPATHS_SMART = _FIND_MULTIPATHS_F|_FIND_MULTIPATHS_I,
++	FIND_MULTIPATHS_STRICT = _FIND_MULTIPATHS_F|_FIND_MULTIPATHS_N,
+ 	__FIND_MULTIPATHS_LAST,
+ };
+ 
+-- 
+2.7.4
+
meta-oe/recipes-support/multipath-tools/files/0012-multipath-tools-modify-Makefile.inc-for-cross-compil.patch deleted +0 -58

58 lines not on this page · raw message

meta-oe/recipes-support/multipath-tools/files/0013-libmultipath-print-correct-default-for-delay_-_check.patch new file +40 -0
new file mode 100644
index 0000000..c767804
@@ -0,0 +1,40 @@
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
+From: Benjamin Marzinski <[email protected]>
+Date: Mon, 7 May 2018 17:16:05 -0500
+Subject: [PATCH] libmultipath: print correct default for delay_*_checks
+
+These options default to "no", so they should display that when the
+config is printed.
+
+Signed-off-by: Benjamin Marzinski <[email protected]>
+---
+ libmultipath/dict.c | 6 ++++--
+ 1 file changed, 4 insertions(+), 2 deletions(-)
+
+diff --git a/libmultipath/dict.c b/libmultipath/dict.c
+index 4040611..3e7c5d6 100644
+--- a/libmultipath/dict.c
++++ b/libmultipath/dict.c
+@@ -1115,7 +1115,8 @@ print_off_int_undef(char * buff, int len, long v)
+ }
+ 
+ declare_def_handler(delay_watch_checks, set_off_int_undef)
+-declare_def_snprint(delay_watch_checks, print_off_int_undef)
++declare_def_snprint_defint(delay_watch_checks, print_off_int_undef,
++			   DEFAULT_DELAY_CHECKS)
+ declare_ovr_handler(delay_watch_checks, set_off_int_undef)
+ declare_ovr_snprint(delay_watch_checks, print_off_int_undef)
+ declare_hw_handler(delay_watch_checks, set_off_int_undef)
+@@ -1123,7 +1124,8 @@ declare_hw_snprint(delay_watch_checks, print_off_int_undef)
+ declare_mp_handler(delay_watch_checks, set_off_int_undef)
+ declare_mp_snprint(delay_watch_checks, print_off_int_undef)
+ declare_def_handler(delay_wait_checks, set_off_int_undef)
+-declare_def_snprint(delay_wait_checks, print_off_int_undef)
++declare_def_snprint_defint(delay_wait_checks, print_off_int_undef,
++			   DEFAULT_DELAY_CHECKS)
+ declare_ovr_handler(delay_wait_checks, set_off_int_undef)
+ declare_ovr_snprint(delay_wait_checks, print_off_int_undef)
+ declare_hw_handler(delay_wait_checks, set_off_int_undef)
+-- 
+2.7.4
+
meta-oe/recipes-support/multipath-tools/files/0014-multipath.conf.5-clarify-property-whitelist-handling.patch new file +31 -0
new file mode 100644
index 0000000..0ab4e06
@@ -0,0 +1,31 @@
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
+From: Benjamin Marzinski <[email protected]>
+Date: Wed, 9 May 2018 14:32:59 -0500
+Subject: [PATCH] multipath.conf.5: clarify property whitelist handling
+
+Signed-off-by: Benjamin Marzinski <[email protected]>
+---
+ multipath/multipath.conf.5 | 7 +++----
+ 1 file changed, 3 insertions(+), 4 deletions(-)
+
+diff --git a/multipath/multipath.conf.5 b/multipath/multipath.conf.5
+index f689795..96d1b66 100644
+--- a/multipath/multipath.conf.5
++++ b/multipath/multipath.conf.5
+@@ -1181,10 +1181,9 @@ and
+ keywords. For a full description of these keywords please see the \fIdevices\fR
+ section description.
+ .LP
+-The \fIproperty\fR blacklist and whitelist handling is different from the usual
+-handling in the sense that the whitelist \fIhas\fR to be set, otherwise the
+-device will be blacklisted. In these cases the message \fIblacklisted, udev
+-property missing\fR will be displayed.
++The \fIproperty\fR whitelist handling is different from the usual
++handling in the sense that the device \fIhas\fR to have a udev property that
++matches the whitelist, otherwise the device will be blacklisted. In these cases the message \fIblacklisted, udev property missing\fR will be displayed.
+ .
+ .
+ .\" ----------------------------------------------------------------------------
+-- 
+2.7.4
+
meta-oe/recipes-support/multipath-tools/files/0015-mpathpersist-add-all_tg_pt-option.patch new file +317 -0

317 lines not on this page · raw message

meta-oe/recipes-support/multipath-tools/files/0016-libmultipath-remove-rbd-code.patch new file +1093 -0

474 lines not on this page · raw message

meta-oe/recipes-support/multipath-tools/files/0017-mpathpersist-fix-aptpl-support.patch new file +543 -0

543 lines not on this page · raw message

meta-oe/recipes-support/multipath-tools/files/0018-multipath-don-t-check-timestamps-without-a-path.patch new file +34 -0
new file mode 100644
index 0000000..5a3fd83

Lines of this file are not shown. View the raw message.

meta-oe/recipes-support/multipath-tools/files/0019-libmultipath-fix-detect-alua-corner-case.patch new file +35 -0
new file mode 100644
index 0000000..23908fa

Lines of this file are not shown. View the raw message.

meta-oe/recipes-support/multipath-tools/files/0020-multipath-fix-setting-conf-version.patch new file +39 -0
new file mode 100644
index 0000000..624f45e

Lines of this file are not shown. View the raw message.

meta-oe/recipes-support/multipath-tools/files/0021-RH-fixup-udev-rules-for-redhat.patch new file +82 -0

82 lines not on this page · raw message

meta-oe/recipes-support/multipath-tools/files/0022-RH-Remove-the-property-blacklist-exception-builtin.patch renamed from meta-oe/recipes-support/multipath-tools/files/0003-RH-Remove-the-property-blacklist-exception-builtin.patch +24 -7
similarity index 59%
rename from meta-oe/recipes-support/multipath-tools/files/0003-RH-Remove-the-property-blacklist-exception-builtin.patch
rename to meta-oe/recipes-support/multipath-tools/files/0022-RH-Remove-the-property-blacklist-exception-builtin.patch
index 684e959..451c524 100644

Lines of this file are not shown. View the raw message.

meta-oe/recipes-support/multipath-tools/files/0023-RH-don-t-start-without-a-config-file.patch renamed from meta-oe/recipes-support/multipath-tools/files/0004-RH-don-t-start-without-a-config-file.patch +19 -21
similarity index 77%
rename from meta-oe/recipes-support/multipath-tools/files/0004-RH-don-t-start-without-a-config-file.patch
rename to meta-oe/recipes-support/multipath-tools/files/0023-RH-don-t-start-without-a-config-file.patch
index 87a6d3f..886f1c8 100644

Lines of this file are not shown. View the raw message.

meta-oe/recipes-support/multipath-tools/files/0024-RH-use-rpm-optflags-if-present.patch new file +52 -0

52 lines not on this page · raw message

meta-oe/recipes-support/multipath-tools/files/0025-RH-add-mpathconf.patch renamed from meta-oe/recipes-support/multipath-tools/files/0005-RH-add-mpathconf.patch +10 -10
similarity index 97%
rename from meta-oe/recipes-support/multipath-tools/files/0005-RH-add-mpathconf.patch
rename to meta-oe/recipes-support/multipath-tools/files/0025-RH-add-mpathconf.patch
index acef410..5cad22b 100644

Lines of this file are not shown. View the raw message.

meta-oe/recipes-support/multipath-tools/files/0026-RH-add-wwids-from-kernel-cmdline-mpath.wwids-with-A.patch renamed from meta-oe/recipes-support/multipath-tools/files/0006-RH-add-wwids-from-kernel-cmdline-mpath.wwids-with-A.patch +28 -27

55 lines not on this page · raw message

meta-oe/recipes-support/multipath-tools/files/0027-RH-warn-on-invalid-regex-instead-of-failing.patch new file +121 -0

121 lines not on this page · raw message

meta-oe/recipes-support/multipath-tools/files/0028-RH-reset-default-find_mutipaths-value-to-off.patch new file +29 -0
new file mode 100644
index 0000000..05e6864

Lines of this file are not shown. View the raw message.

meta-oe/recipes-support/multipath-tools/files/0029-multipath-tools-modify-Makefile.inc-for-cross-compil.patch new file +49 -0

49 lines not on this page · raw message

meta-oe/recipes-support/multipath-tools/files/0030-Always-use-devmapper.patch renamed from meta-oe/recipes-support/multipath-tools/files/0013-Always-use-devmapper.patch +10 -6
similarity index 81%
rename from meta-oe/recipes-support/multipath-tools/files/0013-Always-use-devmapper.patch
rename to meta-oe/recipes-support/multipath-tools/files/0030-Always-use-devmapper.patch
index 52240f6..1281180 100644

Lines of this file are not shown. View the raw message.

meta-oe/recipes-support/multipath-tools/files/0031-Always-use-devmapper-for-kpartx.patch renamed from meta-oe/recipes-support/multipath-tools/files/0014-Always-use-devmapper-for-kpartx.patch +9 -6
similarity index 73%
rename from meta-oe/recipes-support/multipath-tools/files/0014-Always-use-devmapper-for-kpartx.patch
rename to meta-oe/recipes-support/multipath-tools/files/0031-Always-use-devmapper-for-kpartx.patch
index f951213..88a758d 100644

Lines of this file are not shown. View the raw message.

meta-oe/recipes-support/multipath-tools/multipath-tools_0.7.7.bb renamed from meta-oe/recipes-support/multipath-tools/multipath-tools_0.7.1.bb +33 -16

49 lines not on this page · raw message

The rest of this diff is not shown. View the raw message.

Signature · 1 line
2.7.4

Part of the diff is not shown here. View the raw message.

#3 lore raw

PATCH 1/1 numactl: 2.0.11 -> 2.0.12

In reply to [email protected]

From: Changqing Li <[email protected]>

License-Update: license file name updated
format changed, but most content is remain add mail of related person.

---
 .../numactl/0001-fix-NULL-pointer-problem.patch    | 35 ++++++++++++++++++++++
 .../numactl/numactl/fix-null-pointer.patch         | 28 -----------------
 meta-oe/recipes-support/numactl/numactl_git.bb     |  8 ++---
 3 files changed, 39 insertions(+), 32 deletions(-)
 create mode 100644 meta-oe/recipes-support/numactl/numactl/0001-fix-NULL-pointer-problem.patch
 delete mode 100644 meta-oe/recipes-support/numactl/numactl/fix-null-pointer.patch
meta-oe/recipes-support/numactl/numactl/0001-fix-NULL-pointer-problem.patch new file +35 -0
new file mode 100644
index 0000000..0497613
@@ -0,0 +1,35 @@
+From 5c16beff9909b28f55f25f48ed7ddbf98d8b1d5c Mon Sep 17 00:00:00 2001
+From: Roy Li <[email protected]>
+Date: Wed, 18 Jul 2018 09:43:55 +0800
+Subject: [PATCH] fix NULL pointer problem
+
+return 0 if distance_table is NULL
+
+Upstream-Status: Pending
+
+read_distance_table() maybe return 0, but distance_table is not set,
+if distance_table is used, and will lead to SEGFAULT
+
+Signed-off-by: Roy Li <[email protected]>
+
+Signed-off-by: Changqing Li <[email protected]>
+---
+ distance.c | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/distance.c b/distance.c
+index 8d472af..6a6e886 100644
+--- a/distance.c
++++ b/distance.c
+@@ -113,6 +113,8 @@ int numa_distance(int a, int b)
+ 		int err = read_distance_table();
+ 		if (err < 0)
+ 			return 0;
++		if(!distance_table)
++			return 0;
+ 	}
+ 	if ((unsigned)a >= distance_numnodes || (unsigned)b >= distance_numnodes)
+ 		return 0;
+-- 
+2.7.4
+
meta-oe/recipes-support/numactl/numactl/fix-null-pointer.patch deleted +0 -28
deleted file mode 100644
index 53952ae..0000000
@@ -1,28 +0,0 @@
-[PATCH] return 0 if distance_table is NULL
-
-Upstream-Status: Pending
-
-read_distance_table() maybe return 0, but distance_table is not set,
-if distance_table is used, and will lead to SEGFAULT
-
-Signed-off-by: Roy Li <[email protected]>
----
- distance.c |    2 ++
- 1 file changed, 2 insertions(+)
-
-diff --git a/distance.c b/distance.c
-index 4a26972..c6ca021 100755
---- a/distance.c
-+++ b/distance.c
-@@ -113,6 +113,8 @@ int numa_distance(int a, int b)
- 		int err = read_distance_table();
- 		if (err < 0)
- 			return 0;
-+		if (!distance_table)
-+			return 0;
- 	}
- 	return distance_table[a * distance_numnodes + b];
- }
--- 
-1.7.10.4
-
meta-oe/recipes-support/numactl/numactl_git.bb +4 -4
index b9cbcf0..c1c3879 100644
@@ -9,13 +9,13 @@ RDEPENDS_${PN} = "perl"
 
 inherit autotools-brokensep ptest
 
-LIC_FILES_CHKSUM = "file://README;beginline=19;endline=32;md5=5644cc3851cb2499f6c48e52fe198bd9"
+LIC_FILES_CHKSUM = "file://README.md;beginline=19;endline=32;md5=f8ff2391624f28e481299f3f677b21bb"
 
-SRCREV = "ea3a70681c2f523fe58e1d44527f478ca76db74e"
-PV = "2.0.11+git${SRCPV}"
+SRCREV = "841253d1313b01a968c380cae4f498f20c46e5aa"
+PV = "2.0.12+git${SRCPV}"
 
 SRC_URI = "git://github.com/numactl/numactl \
-    file://fix-null-pointer.patch \
+    file://0001-fix-NULL-pointer-problem.patch \
     file://Fix-the-test-output-format.patch \
     file://Makefile \
     file://run-ptest \
Signature · 1 line
2.7.4
#4 lore raw

PATCH 1/1 oprofile: 1.1.0 -> 1.1.2

In reply to [email protected]

From: Changqing Li <[email protected]>

---
 meta-oe/recipes-kernel/oprofile/oprofile.inc       |  5 ++-
 .../0001-Fix-FTBFS-problem-with-GCC-6.patch        | 51 ----------------------
 .../0001-fix-musl-libc-compile-error.patch         | 30 +++++++++++++
 meta-oe/recipes-kernel/oprofile/oprofile_1.1.0.bb  | 10 -----
 meta-oe/recipes-kernel/oprofile/oprofile_1.2.0.bb  | 10 +++++
 5 files changed, 43 insertions(+), 63 deletions(-)
 delete mode 100644 meta-oe/recipes-kernel/oprofile/oprofile/0001-Fix-FTBFS-problem-with-GCC-6.patch
 create mode 100644 meta-oe/recipes-kernel/oprofile/oprofile/0001-fix-musl-libc-compile-error.patch
 delete mode 100644 meta-oe/recipes-kernel/oprofile/oprofile_1.1.0.bb
 create mode 100644 meta-oe/recipes-kernel/oprofile/oprofile_1.2.0.bb
meta-oe/recipes-kernel/oprofile/oprofile.inc +3 -2
index 4b01654..dabc30b 100644
@@ -25,12 +25,13 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}-${PV}.tar.gz \
            file://run-ptest \
            file://root-home-dir.patch \
            file://0001-Add-rmb-definition-for-NIOS2-architecture.patch \
-           file://0001-Fix-FTBFS-problem-with-GCC-6.patch \
 "
 UPSTREAM_CHECK_REGEX = "oprofile-(?P<pver>\d+(\.\d+)+)/"
 UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/oprofile/files/oprofile/"
 
-SRC_URI_append_libc-musl = " file://musl.patch"
+SRC_URI_append_libc-musl = " file://musl.patch \
+                             file://0001-fix-musl-libc-compile-error.patch \
+"
 
 inherit autotools pkgconfig ptest
 
meta-oe/recipes-kernel/oprofile/oprofile/0001-Fix-FTBFS-problem-with-GCC-6.patch deleted +0 -51

51 lines not on this page · raw message

meta-oe/recipes-kernel/oprofile/oprofile/0001-fix-musl-libc-compile-error.patch new file +30 -0
new file mode 100644
index 0000000..c21a105
@@ -0,0 +1,30 @@
+From 512f1b3a4727a3a18f8fa55f196eedcacdd4a872 Mon Sep 17 00:00:00 2001
+From: Changqing Li <[email protected]>
+Date: Wed, 18 Jul 2018 13:01:03 +0800
+Subject: [PATCH] fix musl libc compile error
+
+use op_basename instead of basename to fix below error:
+../../oprofile-1.2.0/pp/oparchive.cpp:264:20: error: 'basename'
+was not declared in this scope
+
+Signed-off-by: Changqing Li <[email protected]>
+---
+ pp/oparchive.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/pp/oparchive.cpp b/pp/oparchive.cpp
+index 6221e14..274152b 100644
+--- a/pp/oparchive.cpp
++++ b/pp/oparchive.cpp
+@@ -261,7 +261,7 @@ int oparchive(options::spec const & spec)
+ 		/* determine the session name of sample file */
+ 		int offset = sample_name.find('{');
+ 		string base_samples_dir = sample_name.substr(0, offset-1);
+-		string session = basename(base_samples_dir.c_str());
++		string session = op_basename(base_samples_dir.c_str());
+ 		/* Get rid of the the archive_path from the name */
+ 		string sample_base = sample_name.substr(offset);
+ 		string sample_archive_file = dest_samples_dir + "/" + session + "/" + sample_base;
+-- 
+2.7.4
+
meta-oe/recipes-kernel/oprofile/oprofile_1.1.0.bb deleted +0 -10
deleted file mode 100644
index 92a94ad..0000000
@@ -1,10 +0,0 @@
-require oprofile.inc
-
-DEPENDS += "virtual/kernel"
-DEPENDS_append_powerpc64 = " libpfm4"
-
-SRC_URI[md5sum] = "248c4c069f9476f427fa7195563f9867"
-SRC_URI[sha256sum] = "cf759a6de1a6033d5dfc93bda129a9f2e128aecc4238cc657feb0801d1b0366c"
-
-S = "${WORKDIR}/oprofile-${PV}"
-
meta-oe/recipes-kernel/oprofile/oprofile_1.2.0.bb new file +10 -0
new file mode 100644
index 0000000..e85e805
@@ -0,0 +1,10 @@
+require oprofile.inc
+
+DEPENDS += "virtual/kernel"
+DEPENDS_append_powerpc64 = " libpfm4"
+
+SRC_URI[md5sum] = "4fcd3920984dcb607314b2e225086c3a"
+SRC_URI[sha256sum] = "eb95f98c40b7d0ee29b45fba3565d9f8381747528aa6b6159e37d4fa0c8ca57d"
+
+S = "${WORKDIR}/oprofile-${PV}"
+
Signature · 1 line
2.7.4
#5 lore raw

PATCH 1/1 pps-tools: 0.0.0+gitX -> 1.0.2

In reply to [email protected]

From: Changqing Li <[email protected]>

---
 .../pps-tools/{pps-tools_git.bb => pps-tools_1.0.2.bb}               | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
 rename meta-oe/recipes-support/pps-tools/{pps-tools_git.bb => pps-tools_1.0.2.bb} (82%)
meta-oe/recipes-support/pps-tools/pps-tools_1.0.2.bb renamed from meta-oe/recipes-support/pps-tools/pps-tools_git.bb +3 -2
similarity index 82%
rename from meta-oe/recipes-support/pps-tools/pps-tools_git.bb
rename to meta-oe/recipes-support/pps-tools/pps-tools_1.0.2.bb
index 8bf9036..106be35 100644
@@ -4,12 +4,13 @@ HOMEPAGE = "http://linuxpps.org"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
 
-PV = "0.0.0+git${SRCPV}"
-SRCREV = "0deb9c7e135e9380a6d09e9d2e938a146bb698c8"
+SRCREV = "cb48b7ecf7079ceba7081c78d4e61e507b0e8d2d"
 SRC_URI = "git://github.com/ago/pps-tools.git"
 
 S = "${WORKDIR}/git"
 
+RDEPENDS_pps-tools = "bash"
+
 do_install() {
         install -d ${D}${bindir} ${D}${includedir} \
                    ${D}${includedir}/sys
Signature · 1 line
2.7.4
#6 lore raw

Re: [PATCH][meta-oe] pps-tools: 0.0.0+gitX -> 1.0.2

Why not use RDEPENDS_${PN} instead of RDEPENDS_pps-tools? It's now broken with multilib.

Also meta-oe is using 4 spaces for indentation, would be nice to fix the do_install.

Quoted 43 lines · On Wed, Jul 18, 2018 at 9:32 AM <[email protected]> wrote:

From: Changqing Li <[email protected]>

---
 .../pps-tools/{pps-tools_git.bb => pps-tools_1.0.2.bb}               | 5
+++--
 1 file changed, 3 insertions(+), 2 deletions(-)
 rename meta-oe/recipes-support/pps-tools/{pps-tools_git.bb =>

pps-tools_1.0.2.bb} (82%)

meta-oe/recipes-support/pps-tools/pps-tools_1.0.2.bb renamed from meta-oe/recipes-support/pps-tools/pps-tools_git.bb +3 -3
similarity index 82%
rename from meta-oe/recipes-support/pps-tools/pps-tools_git.bb
rename to meta-oe/recipes-support/pps-tools/pps-tools_1.0.2.bb
index 8bf9036..106be35 100644
@@ -4,12 +4,13 @@ HOMEPAGE = "http://linuxpps.org"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
 
-PV = "0.0.0+git${SRCPV}"
-SRCREV = "0deb9c7e135e9380a6d09e9d2e938a146bb698c8"
+SRCREV = "cb48b7ecf7079ceba7081c78d4e61e507b0e8d2d"
 SRC_URI = "git://github.com/ago/pps-tools.git"
 
 S = "${WORKDIR}/git"
 
+RDEPENDS_pps-tools = "bash"
+
 do_install() {
         install -d ${D}${bindir} ${D}${includedir} \
                    ${D}${includedir}/sys
--

2.7.4

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

#7 lore raw

Re: [PATCH][meta-oe] pps-tools: 0.0.0+gitX -> 1.0.2

Quoted 3 lines · Martin Jansa

Why not use RDEPENDS_${PN} instead of RDEPENDS_pps-tools? It's now broken with multilib.

Also meta-oe is using 4 spaces for indentation, would be nice to fix the do_install.

Thanks,  I will send a patch to fix this.

//Sandy

Quoted 58 lines · On Wed, Jul 18, 2018 at 9:32 AM <[email protected]…
    From: Changqing Li <[email protected]
    <mailto:[email protected]>>

    Signed-off-by: Changqing Li <[email protected]
    <mailto:[email protected]>>
    ---
     .../pps-tools/{pps-tools_git.bb <http://pps-tools_git.bb> =>
    pps-tools_1.0.2.bb <http://pps-tools_1.0.2.bb>}              | 5 +++--
     1 file changed, 3 insertions(+), 2 deletions(-)
     rename meta-oe/recipes-support/pps-tools/{pps-tools_git.bb
    <http://pps-tools_git.bb> => pps-tools_1.0.2.bb
    <http://pps-tools_1.0.2.bb>} (82%)

    diff --git a/meta-oe/recipes-support/pps-tools/pps-tools_git.bb
    <http://pps-tools_git.bb>
    b/meta-oe/recipes-support/pps-tools/pps-tools_1.0.2.bb
    <http://pps-tools_1.0.2.bb>
    similarity index 82%
    rename from meta-oe/recipes-support/pps-tools/pps-tools_git.bb
    <http://pps-tools_git.bb>
    rename to meta-oe/recipes-support/pps-tools/pps-tools_1.0.2.bb
    <http://pps-tools_1.0.2.bb>
    index 8bf9036..106be35 100644
    --- a/meta-oe/recipes-support/pps-tools/pps-tools_git.bb
    <http://pps-tools_git.bb>
    +++ b/meta-oe/recipes-support/pps-tools/pps-tools_1.0.2.bb
    <http://pps-tools_1.0.2.bb>
    @@ -4,12 +4,13 @@ HOMEPAGE = "http://linuxpps.org"
     LICENSE = "GPLv2"
     LIC_FILES_CHKSUM =
    "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"

    -PV = "0.0.0+git${SRCPV}"
    -SRCREV = "0deb9c7e135e9380a6d09e9d2e938a146bb698c8"
    +SRCREV = "cb48b7ecf7079ceba7081c78d4e61e507b0e8d2d"
     SRC_URI = "git://github.com/ago/pps-tools.git
    <http://github.com/ago/pps-tools.git>"

     S = "${WORKDIR}/git"

    +RDEPENDS_pps-tools = "bash"
    +
     do_install() {
             install -d ${D}${bindir} ${D}${includedir} \
                        ${D}${includedir}/sys
    -- 
    2.7.4

    -- 
    _______________________________________________
    Openembedded-devel mailing list
    [email protected]
    <mailto:[email protected]>
    http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 4 lines
BRs

Sandy(Li Changqing)
+861084778653
#8 lore raw

PATCH 1/1 python-pygobject: 3.28.0 -> 3.28.3

In reply to [email protected]

From: Changqing Li <[email protected]>

---
 .../python/{python-pygobject_3.28.0.bb => python-pygobject_3.28.3.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-oe/recipes-devtools/python/{python-pygobject_3.28.0.bb => python-pygobject_3.28.3.bb} (87%)
meta-oe/recipes-devtools/python/python-pygobject_3.28.3.bb renamed from meta-oe/recipes-devtools/python/python-pygobject_3.28.0.bb +2 -2
similarity index 87%
rename from meta-oe/recipes-devtools/python/python-pygobject_3.28.0.bb
rename to meta-oe/recipes-devtools/python/python-pygobject_3.28.3.bb
index ab65ba1..c444fbf 100644
@@ -17,8 +17,8 @@ SRC_URI = " \
     file://0001-configure.ac-add-sysroot-path-to-GI_DATADIR-don-t-se.patch \
 "
 
-SRC_URI[md5sum] = "b29d69edb63ae1f555afeb19f90b9996"
-SRC_URI[sha256sum] = "42b47b261b45aedfc77e02e3c90a01cd74d6f86c3273c1860a054d531d606e5a"
+SRC_URI[md5sum] = "3bac63c86bb963aa401f97859464aa90"
+SRC_URI[sha256sum] = "3dd3e21015d06e00482ea665fc1733b77e754a6ab656a5db5d7f7bfaf31ad0b0"
 
 S = "${WORKDIR}/${SRCNAME}-${PV}"
 
Signature · 1 line
2.7.4
#9 lore raw

PATCH 1/1 tclap: upgrade 1.2.1 -> 1.2.2

In reply to [email protected]

From: Changqing Li <[email protected]>

License-Update: copyright year and owner update

---
 meta-oe/recipes-devtools/tclap/{tclap_1.2.1.bb => tclap_1.2.2.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-oe/recipes-devtools/tclap/{tclap_1.2.1.bb => tclap_1.2.2.bb} (70%)
meta-oe/recipes-devtools/tclap/tclap_1.2.2.bb renamed from meta-oe/recipes-devtools/tclap/tclap_1.2.1.bb +2 -2
similarity index 70%
rename from meta-oe/recipes-devtools/tclap/tclap_1.2.1.bb
rename to meta-oe/recipes-devtools/tclap/tclap_1.2.2.bb
index 3eadbe4..46a9408 100644
@@ -1,9 +1,9 @@
 SUMMARY = "Templatized C++ Command Line Parser"
 HOMEPAGE = "http://tclap.sourceforge.net/"
 LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://COPYING;md5=c8ab0ff134bcc584d0e6b5b9f8732453"
+LIC_FILES_CHKSUM = "file://COPYING;md5=0ca8b9c5c5445cfa7af7e78fd27e60ed"
 
-SRCREV = "3627d9402e529770df9b0edf2aa8c0e0d6c6bb41"
+SRCREV = "75f440bcac1276c847f5351e14216f6e91def44d"
 SRC_URI = "git://git.code.sf.net/p/tclap/code \
     file://Makefile.am-disable-docs.patch \
 "
Signature · 1 line
2.7.4
#10 lore raw

PATCH 1/1 udisks2: 2.7.6 -> 2.7.7

In reply to [email protected]

From: Changqing Li <[email protected]>

---
 .../udisks2/0001-data-fix-out-of-tree-build.patch  | 35 ----------------------
 .../udisks/{udisks2_2.7.6.bb => udisks2_2.7.7.bb}  |  3 +-
 2 files changed, 1 insertion(+), 37 deletions(-)
 delete mode 100644 meta-oe/recipes-support/udisks/udisks2/0001-data-fix-out-of-tree-build.patch
 rename meta-oe/recipes-support/udisks/{udisks2_2.7.6.bb => udisks2_2.7.7.bb} (91%)
meta-oe/recipes-support/udisks/udisks2/0001-data-fix-out-of-tree-build.patch deleted +0 -35
deleted file mode 100644
index 1cbd877..0000000
@@ -1,35 +0,0 @@
-From 7fdd4acdf6daf95c5cc74e968f4710513c8ddaea Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Andreas=20M=C3=BCller?= <[email protected]>
-Date: Fri, 23 Mar 2018 18:33:52 +0100
-Subject: [PATCH] data: fix out of tree build
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-| sed: can't read udisks2.service.in: No such file or directory
-
-Upstream-Status: Submitted [1]
-
-[1] https://github.com/storaged-project/udisks/pull/510
-
-Signed-off-by: Andreas Müller <[email protected]>
----
- data/Makefile.am | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/data/Makefile.am b/data/Makefile.am
-index ddf9e3d6..b38928c8 100644
---- a/data/Makefile.am
-+++ b/data/Makefile.am
-@@ -22,7 +22,7 @@ systemdservicedir       = $(systemdsystemunitdir)
- systemdservice_DATA     = $(systemdservice_in_files:.service.in=.service)
- 
- $(systemdservice_DATA): udisks2.service.in Makefile
--	@sed -e "s|\@udisksdprivdir\@|$(libexecdir)/udisks2|" udisks2.service.in > udisks2.service
-+	@sed -e "s|\@udisksdprivdir\@|$(libexecdir)/udisks2|" $(srcdir)/udisks2.service.in > udisks2.service
- endif
- 
- udevrulesdir = $(udevdir)/rules.d
--- 
-2.14.3
-
meta-oe/recipes-support/udisks/udisks2_2.7.7.bb renamed from meta-oe/recipes-support/udisks/udisks2_2.7.6.bb +1 -2
similarity index 91%
rename from meta-oe/recipes-support/udisks/udisks2_2.7.6.bb
rename to meta-oe/recipes-support/udisks/udisks2_2.7.7.bb
index 4d22afd..ac86a69 100644
@@ -20,10 +20,9 @@ RDEPENDS_${PN} = "acl"
 
 SRC_URI = " \
     git://github.com/storaged-project/udisks.git \
-    file://0001-data-fix-out-of-tree-build.patch \
     file://non-gnu-libc.patch \
 "
-SRCREV = "b6471f2e99f6aa1133af0de658f1fa05c748932c"
+SRCREV = "fcf888ca00980f75ce0c47041629b3d77e9f352e"
 S = "${WORKDIR}/git"
 
 CVE_PRODUCT = "udisks"
Signature · 1 line
2.7.4
#11 lore raw

PATCH 1/1 xf86-video-ati: 7.8.0 -> 18.0.1

In reply to [email protected]

From: Changqing Li <[email protected]>

---
 .../{xf86-video-ati_7.8.0.bb => xf86-video-ati_18.0.1.bb}           | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
 rename meta-oe/recipes-graphics/xorg-driver/{xf86-video-ati_7.8.0.bb => xf86-video-ati_18.0.1.bb} (77%)
meta-oe/recipes-graphics/xorg-driver/xf86-video-ati_18.0.1.bb renamed from meta-oe/recipes-graphics/xorg-driver/xf86-video-ati_7.8.0.bb +4 -2
similarity index 77%
rename from meta-oe/recipes-graphics/xorg-driver/xf86-video-ati_7.8.0.bb
rename to meta-oe/recipes-graphics/xorg-driver/xf86-video-ati_18.0.1.bb
index fb81e53..969c1a0 100644
@@ -14,10 +14,12 @@ REQUIRED_DISTRO_FEATURES += "opengl"
 
 COMPATIBLE_HOST = '(i.86|x86_64).*-linux'
 
-SRC_URI[md5sum] = "f34d04a755e761e03b459155fa3ddcbb"
-SRC_URI[sha256sum] = "401f5de772928f3dc4ce43a885adb0a47a2f61aa4a9e45d2ab3d184136a9d6fa"
+SRC_URI[md5sum] = "40e7c0a5a69aba3d84e0958f58705ea7"
+SRC_URI[sha256sum] = "72ea3b8127d4550b64f797457f5a7851a541fa4ee2cc3f345b6c1886b81714a0"
 
 EXTRA_OECONF += "--disable-glamor"
 
 RDEPENDS_${PN} += "xserver-xorg-module-exa"
 RRECOMMENDS_${PN} += "linux-firmware-radeon"
+
+FILES_${PN} += "${datadir}/X11"
Signature · 1 line
2.7.4