All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/12] Upgrade 12 recipes
@ 2018-11-27  8:32 Hongxu Jia
  2018-11-27  8:32 ` [meta-gnome][PATCH 01/12] dconf: 0.28.0 -> 0.30.1 Hongxu Jia
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: Hongxu Jia @ 2018-11-27  8:32 UTC (permalink / raw)
  To: raj.khem; +Cc: openembedded-devel

The following changes since commit c26b10b155cf7873ffc8e966f95fd4abed8230c6:

  opensc: 0.18.0 version fix fetch error (2018-11-16 14:46:44 -0800)

are available in the git repository at:

  git://git.openembedded.org/openembedded-core-contrib hongxu/upgrade-20181127
  http://cgit.openembedded.org/openembedded-core-contrib/log/?h=hongxu/upgrade-20181127

Hongxu Jia (12):
  dconf: 0.28.0 -> 0.30.1
  python3-pykickstart: 3.15 -> 3.18
  python3-blivetgui: 2.1.8 -> 2.1.9
  python3-blivet: 3.0.1 -> 3.1.1
  libreport: 2.9.5 -> 2.9.6
  volume-key: 0.3.11 -> 0.3.12
  efibootmgr: 0.16 -> 17
  libbytesize: 1.3 -> 1.4
  efivar: correct version number 0.36 -> 36
  lvm2/libdevmapper: 2.02.180 -> 2.03.01
  libblockdev: 2.18 -> 2.20
  ndctl: v62 -> v63

 .../0001-meson.build-do-not-compile-docs.patch     |  27 ++++
 .../dconf/{dconf_0.28.0.bb => dconf_0.30.1.bb}     |   7 +-
 .../{efibootmgr_0.16.bb => efibootmgr_17.bb}       |   2 +-
 .../efivar/{efivar_0.36.bb => efivar_36.bb}        |   0
 .../ndctl/{ndctl_git.bb => ndctl_v63.bb}           |   9 +-
 .../{libblockdev_2.18.bb => libblockdev_2.20.bb}   |   6 +-
 .../{libreport_2.9.5.bb => libreport_2.9.6.bb}     |   2 +-
 .../{volume-key_0.3.11.bb => volume-key_0.3.12.bb} |   8 +-
 .../{libbytesize_1.3.bb => libbytesize_1.4.bb}     |   3 +-
 .../0001-Avoid-bashisms-in-init-scripts.patch      | 136 ++++++---------------
 .../lvm2/files/0005-do-not-build-manual.patch      |  30 ++---
 ...vmapper_2.02.180.bb => libdevmapper_2.03.01.bb} |   4 +-
 meta-oe/recipes-support/lvm2/lvm2.inc              |   8 +-
 .../0001-explicitly-do-not-install-libdm.patch     |  33 ++---
 .../lvm2/{lvm2_2.02.180.bb => lvm2_2.03.01.bb}     |   4 +-
 .../python3-blivet/0001-comment-out-selinux.patch  |  12 +-
 .../0002-run_program-support-timeout.patch         |  21 ++--
 .../0003-support-infinit-timeout.patch             |  14 +--
 ...0004-fix-new.roots-object-is-not-iterable.patch |   6 +-
 ...correct-timeout-while-system-time-changed.patch |   6 +-
 .../python3-blivet/0006-tweak-btrfs-packages.patch |   2 +-
 ...0007-invoking-mount-with-infinite-timeout.patch |  18 +--
 ...-use-oe-variable-to-replace-hardcoded-dir.patch |   4 +-
 .../0009-invoking-fsck-with-infinite-timeout.patch |   2 +-
 .../0010-invoking-mkfs-with-infinite-timeout.patch |   2 +-
 .../0011-invoking-dd-with-infinite-timeout.patch   |   6 +-
 .../0012-remove-dmraid-dependency-check.patch      |  31 -----
 .../0013-add-Z-y-and-y-to-lvm.pvcreate.patch       |  41 -------
 ...on3-blivet_3.0.1.bb => python3-blivet_3.1.1.bb} |   4 +-
 ...ivetgui_2.1.8.bb => python3-blivetgui_2.1.9.bb} |   2 +-
 ...ckstart_3.15.bb => python3-pykickstart_3.18.bb} |   2 +-
 31 files changed, 173 insertions(+), 279 deletions(-)
 create mode 100644 meta-gnome/recipes-gnome/dconf/dconf/0001-meson.build-do-not-compile-docs.patch
 rename meta-gnome/recipes-gnome/dconf/{dconf_0.28.0.bb => dconf_0.30.1.bb} (60%)
 rename meta-oe/recipes-bsp/efibootmgr/{efibootmgr_0.16.bb => efibootmgr_17.bb} (93%)
 rename meta-oe/recipes-bsp/efivar/{efivar_0.36.bb => efivar_36.bb} (100%)
 rename meta-oe/recipes-core/ndctl/{ndctl_git.bb => ndctl_v63.bb} (81%)
 rename meta-oe/recipes-extended/libblockdev/{libblockdev_2.18.bb => libblockdev_2.20.bb} (92%)
 rename meta-oe/recipes-extended/libreport/{libreport_2.9.5.bb => libreport_2.9.6.bb} (96%)
 rename meta-oe/recipes-extended/volume_key/{volume-key_0.3.11.bb => volume-key_0.3.12.bb} (71%)
 rename meta-oe/recipes-support/libbytesize/{libbytesize_1.3.bb => libbytesize_1.4.bb} (91%)
 rename meta-oe/recipes-support/lvm2/{libdevmapper_2.02.180.bb => libdevmapper_2.03.01.bb} (55%)
 rename meta-oe/recipes-support/lvm2/{lvm2_2.02.180.bb => lvm2_2.03.01.bb} (88%)
 delete mode 100644 meta-python/recipes-extended/python-blivet/python3-blivet/0012-remove-dmraid-dependency-check.patch
 delete mode 100644 meta-python/recipes-extended/python-blivet/python3-blivet/0013-add-Z-y-and-y-to-lvm.pvcreate.patch
 rename meta-python/recipes-extended/python-blivet/{python3-blivet_3.0.1.bb => python3-blivet_3.1.1.bb} (89%)
 rename meta-python/recipes-extended/python-blivet/{python3-blivetgui_2.1.8.bb => python3-blivetgui_2.1.9.bb} (92%)
 rename meta-python/recipes-extended/python-pykickstart/{python3-pykickstart_3.15.bb => python3-pykickstart_3.18.bb} (94%)

-- 
2.7.4



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

* [meta-gnome][PATCH 01/12] dconf: 0.28.0 -> 0.30.1
  2018-11-27  8:32 [PATCH 00/12] Upgrade 12 recipes Hongxu Jia
@ 2018-11-27  8:32 ` Hongxu Jia
  2018-11-27  8:32 ` [meta-python][PATCH 02/12] python3-pykickstart: 3.15 -> 3.18 Hongxu Jia
                   ` (10 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: Hongxu Jia @ 2018-11-27  8:32 UTC (permalink / raw)
  To: raj.khem; +Cc: openembedded-devel

- Do not compile docs to workaround build failure

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
---
 .../0001-meson.build-do-not-compile-docs.patch     | 27 ++++++++++++++++++++++
 .../dconf/{dconf_0.28.0.bb => dconf_0.30.1.bb}     |  7 ++++--
 2 files changed, 32 insertions(+), 2 deletions(-)
 create mode 100644 meta-gnome/recipes-gnome/dconf/dconf/0001-meson.build-do-not-compile-docs.patch
 rename meta-gnome/recipes-gnome/dconf/{dconf_0.28.0.bb => dconf_0.30.1.bb} (60%)

diff --git a/meta-gnome/recipes-gnome/dconf/dconf/0001-meson.build-do-not-compile-docs.patch b/meta-gnome/recipes-gnome/dconf/dconf/0001-meson.build-do-not-compile-docs.patch
new file mode 100644
index 0000000..2f42835
--- /dev/null
+++ b/meta-gnome/recipes-gnome/dconf/dconf/0001-meson.build-do-not-compile-docs.patch
@@ -0,0 +1,27 @@
+From 50a9133e0b13798640da0b7cd11b5a85e35b2038 Mon Sep 17 00:00:00 2001
+From: Hongxu Jia <hongxu.jia@windriver.com>
+Date: Fri, 23 Nov 2018 16:27:32 +0800
+Subject: [PATCH] meson.build: do not compile docs
+
+Upstream-Status: Inappropriate [oe specific]
+
+Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
+---
+ meson.build | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/meson.build b/meson.build
+index 04b6d47..46fdbc8 100644
+--- a/meson.build
++++ b/meson.build
+@@ -81,7 +81,6 @@ subdir('gdbus')
+ subdir('gsettings')
+ subdir('client')
+ subdir('bin')
+-subdir('docs')
+ subdir('tests')
+ 
+ meson.add_install_script('meson_post_install.py', gio_module_dir)
+-- 
+2.7.4
+
diff --git a/meta-gnome/recipes-gnome/dconf/dconf_0.28.0.bb b/meta-gnome/recipes-gnome/dconf/dconf_0.30.1.bb
similarity index 60%
rename from meta-gnome/recipes-gnome/dconf/dconf_0.28.0.bb
rename to meta-gnome/recipes-gnome/dconf/dconf_0.30.1.bb
index 99292a8..38d3ec9 100644
--- a/meta-gnome/recipes-gnome/dconf/dconf_0.28.0.bb
+++ b/meta-gnome/recipes-gnome/dconf/dconf_0.30.1.bb
@@ -3,8 +3,8 @@ LICENSE = "LGPLv2.1"
 LIC_FILES_CHKSUM = "file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1"
 SECTION = "x11/gnome"
 
-SRC_URI[archive.md5sum] = "81faa8e68e5ea71ff0ee75050fc0759c"
-SRC_URI[archive.sha256sum] = "61d3b3865ef58b729c3b39aa0979f886c014aa8362f93dcfc74bf5648ed9c742"
+SRC_URI[archive.md5sum] = "a959eef51c917b3c57cfbef1448a375e"
+SRC_URI[archive.sha256sum] = "549a3a7cc3881318107dc48a7b02ee8f88c9127acaf2d47f7724f78a8f6d02b7"
 
 DEPENDS = "dbus glib-2.0 intltool-native"
 
@@ -12,6 +12,9 @@ GNOMEBASEBUILDCLASS = "meson"
 
 inherit gnomebase gsettings bash-completion vala
 
+SRC_URI += "file://0001-meson.build-do-not-compile-docs.patch \
+           "
+
 FILES_${PN} += " \
     ${datadir}/dbus-1 \
     ${libdir}/gio/modules/*.so \
-- 
2.7.4



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

* [meta-python][PATCH 02/12] python3-pykickstart: 3.15 -> 3.18
  2018-11-27  8:32 [PATCH 00/12] Upgrade 12 recipes Hongxu Jia
  2018-11-27  8:32 ` [meta-gnome][PATCH 01/12] dconf: 0.28.0 -> 0.30.1 Hongxu Jia
@ 2018-11-27  8:32 ` Hongxu Jia
  2018-11-27  8:32 ` [meta-python][PATCH 03/12] python3-blivetgui: 2.1.8 -> 2.1.9 Hongxu Jia
                   ` (9 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: Hongxu Jia @ 2018-11-27  8:32 UTC (permalink / raw)
  To: raj.khem; +Cc: openembedded-devel

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
---
 .../{python3-pykickstart_3.15.bb => python3-pykickstart_3.18.bb}        | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-python/recipes-extended/python-pykickstart/{python3-pykickstart_3.15.bb => python3-pykickstart_3.18.bb} (94%)

diff --git a/meta-python/recipes-extended/python-pykickstart/python3-pykickstart_3.15.bb b/meta-python/recipes-extended/python-pykickstart/python3-pykickstart_3.18.bb
similarity index 94%
rename from meta-python/recipes-extended/python-pykickstart/python3-pykickstart_3.15.bb
rename to meta-python/recipes-extended/python-pykickstart/python3-pykickstart_3.18.bb
index 07876a9..1a03884 100644
--- a/meta-python/recipes-extended/python-pykickstart/python3-pykickstart_3.15.bb
+++ b/meta-python/recipes-extended/python-pykickstart/python3-pykickstart_3.18.bb
@@ -18,7 +18,7 @@ SRC_URI = "git://github.com/rhinstaller/pykickstart.git;protocol=https;branch=ma
            file://0003-comment-out-sections-shutdown-and-environment-in-gen.patch \
            file://0004-load.py-retry-to-invoke-request-with-timeout.patch \
            "
-SRCREV = "07c4d89129fa6b460acc86daf58eb5ff64cdc832"
+SRCREV = "ad942f2644337c4672c7a22bd24a5b7268c1f5e9"
 
 UPSTREAM_CHECK_GITTAGREGEX = "r(?P<pver>\d+(\.\d+)+(-\d+)*)"
 
-- 
2.7.4



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

* [meta-python][PATCH 03/12] python3-blivetgui: 2.1.8 -> 2.1.9
  2018-11-27  8:32 [PATCH 00/12] Upgrade 12 recipes Hongxu Jia
  2018-11-27  8:32 ` [meta-gnome][PATCH 01/12] dconf: 0.28.0 -> 0.30.1 Hongxu Jia
  2018-11-27  8:32 ` [meta-python][PATCH 02/12] python3-pykickstart: 3.15 -> 3.18 Hongxu Jia
@ 2018-11-27  8:32 ` Hongxu Jia
  2018-11-27  8:32 ` [meta-python][PATCH 04/12] python3-blivet: 3.0.1 -> 3.1.1 Hongxu Jia
                   ` (8 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: Hongxu Jia @ 2018-11-27  8:32 UTC (permalink / raw)
  To: raj.khem; +Cc: openembedded-devel

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
---
 .../{python3-blivetgui_2.1.8.bb => python3-blivetgui_2.1.9.bb}          | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-python/recipes-extended/python-blivet/{python3-blivetgui_2.1.8.bb => python3-blivetgui_2.1.9.bb} (92%)

diff --git a/meta-python/recipes-extended/python-blivet/python3-blivetgui_2.1.8.bb b/meta-python/recipes-extended/python-blivet/python3-blivetgui_2.1.9.bb
similarity index 92%
rename from meta-python/recipes-extended/python-blivet/python3-blivetgui_2.1.8.bb
rename to meta-python/recipes-extended/python-blivet/python3-blivetgui_2.1.9.bb
index 91f0dff..1c61182 100644
--- a/meta-python/recipes-extended/python-blivet/python3-blivetgui_2.1.8.bb
+++ b/meta-python/recipes-extended/python-blivet/python3-blivetgui_2.1.9.bb
@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
 S = "${WORKDIR}/git"
 B = "${S}"
 
-SRCREV = "a4fd427ee2acc5a8f5fb030bf7816917cee63bd8"
+SRCREV = "393c139c09dc44167b64f47771650ce9aa9d469f"
 SRC_URI = "git://github.com/rhinstaller/blivet-gui;branch=master \
 "
 
-- 
2.7.4



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

* [meta-python][PATCH 04/12] python3-blivet: 3.0.1 -> 3.1.1
  2018-11-27  8:32 [PATCH 00/12] Upgrade 12 recipes Hongxu Jia
                   ` (2 preceding siblings ...)
  2018-11-27  8:32 ` [meta-python][PATCH 03/12] python3-blivetgui: 2.1.8 -> 2.1.9 Hongxu Jia
@ 2018-11-27  8:32 ` Hongxu Jia
  2018-11-27  8:32 ` [meta-oe][PATCH 05/12] libreport: 2.9.5 -> 2.9.6 Hongxu Jia
                   ` (7 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: Hongxu Jia @ 2018-11-27  8:32 UTC (permalink / raw)
  To: raj.khem; +Cc: openembedded-devel

Drop 0012-remove-dmraid-dependency-check.patch and
0013-add-Z-y-and-y-to-lvm.pvcreate.patch which the
new version has fixed the issues

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
---
 .../python3-blivet/0001-comment-out-selinux.patch  | 12 +++----
 .../0002-run_program-support-timeout.patch         | 21 +++++------
 .../0003-support-infinit-timeout.patch             | 14 ++++----
 ...0004-fix-new.roots-object-is-not-iterable.patch |  6 ++--
 ...correct-timeout-while-system-time-changed.patch |  6 ++--
 .../python3-blivet/0006-tweak-btrfs-packages.patch |  2 +-
 ...0007-invoking-mount-with-infinite-timeout.patch | 18 +++++-----
 ...-use-oe-variable-to-replace-hardcoded-dir.patch |  4 +--
 .../0009-invoking-fsck-with-infinite-timeout.patch |  2 +-
 .../0010-invoking-mkfs-with-infinite-timeout.patch |  2 +-
 .../0011-invoking-dd-with-infinite-timeout.patch   |  6 ++--
 .../0012-remove-dmraid-dependency-check.patch      | 31 ----------------
 .../0013-add-Z-y-and-y-to-lvm.pvcreate.patch       | 41 ----------------------
 ...on3-blivet_3.0.1.bb => python3-blivet_3.1.1.bb} |  4 +--
 14 files changed, 48 insertions(+), 121 deletions(-)
 delete mode 100644 meta-python/recipes-extended/python-blivet/python3-blivet/0012-remove-dmraid-dependency-check.patch
 delete mode 100644 meta-python/recipes-extended/python-blivet/python3-blivet/0013-add-Z-y-and-y-to-lvm.pvcreate.patch
 rename meta-python/recipes-extended/python-blivet/{python3-blivet_3.0.1.bb => python3-blivet_3.1.1.bb} (89%)

diff --git a/meta-python/recipes-extended/python-blivet/python3-blivet/0001-comment-out-selinux.patch b/meta-python/recipes-extended/python-blivet/python3-blivet/0001-comment-out-selinux.patch
index c77b86a..90fa387 100644
--- a/meta-python/recipes-extended/python-blivet/python3-blivet/0001-comment-out-selinux.patch
+++ b/meta-python/recipes-extended/python-blivet/python3-blivet/0001-comment-out-selinux.patch
@@ -1,6 +1,6 @@
-From 648a18bfc447f076d48ae4147d984b8ef56e37aa Mon Sep 17 00:00:00 2001
+From fc8e93530ba017ecfe111e53d3cbdc3a5b3ac286 Mon Sep 17 00:00:00 2001
 From: Hongxu Jia <hongxu.jia@windriver.com>
-Date: Mon, 30 Jul 2018 16:13:40 +0800
+Date: Fri, 23 Nov 2018 16:58:38 +0800
 Subject: [PATCH 01/11] comment out selinux
 
 Upstream-Status: Inappropriate [oe specific]
@@ -12,7 +12,7 @@ Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
  2 files changed, 8 insertions(+), 3 deletions(-)
 
 diff --git a/blivet/flags.py b/blivet/flags.py
-index 1840121..8789390 100644
+index 4e26d82..94324ff 100644
 --- a/blivet/flags.py
 +++ b/blivet/flags.py
 @@ -20,7 +20,7 @@
@@ -35,7 +35,7 @@ index 1840121..8789390 100644
          self.dmraid = True
          self.ibft = True
 diff --git a/blivet/util.py b/blivet/util.py
-index 7334ff6..0f2a995 100644
+index 9daf151..4eac8b9 100644
 --- a/blivet/util.py
 +++ b/blivet/util.py
 @@ -3,7 +3,7 @@ import functools
@@ -47,7 +47,7 @@ index 7334ff6..0f2a995 100644
  import subprocess
  import re
  import sys
-@@ -430,6 +430,8 @@ def get_cow_sysfs_path(dev_path, dev_sysfsPath):
+@@ -444,6 +444,8 @@ def get_cow_sysfs_path(dev_path, dev_sysfsPath):
  def match_path_context(path):
      """ Return the default SELinux context for the given path. """
      context = None
@@ -56,7 +56,7 @@ index 7334ff6..0f2a995 100644
      try:
          context = selinux.matchpathcon(os.path.normpath(path), 0)[1]
      except OSError as e:
-@@ -454,6 +456,8 @@ def set_file_context(path, context, root=None):
+@@ -468,6 +470,8 @@ def set_file_context(path, context, root=None):
  
              True if successful, False if not.
      """
diff --git a/meta-python/recipes-extended/python-blivet/python3-blivet/0002-run_program-support-timeout.patch b/meta-python/recipes-extended/python-blivet/python3-blivet/0002-run_program-support-timeout.patch
index fea2254..5b38859 100644
--- a/meta-python/recipes-extended/python-blivet/python3-blivet/0002-run_program-support-timeout.patch
+++ b/meta-python/recipes-extended/python-blivet/python3-blivet/0002-run_program-support-timeout.patch
@@ -1,20 +1,20 @@
-From 596979ed58109141a7fee680ab95b27296c022b1 Mon Sep 17 00:00:00 2001
+From 713cf821ebe17f9e1771502a85e0905ea04dafae Mon Sep 17 00:00:00 2001
 From: Hongxu Jia <hongxu.jia@windriver.com>
-Date: Mon, 8 May 2017 14:39:56 +0800
+Date: Fri, 23 Nov 2018 17:03:58 +0800
 Subject: [PATCH 02/11] run_program support timeout
 
 Upstream-Status: Pending
 
 Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
 ---
- blivet/util.py | 68 +++++++++++++++++++++++++++++++++-------------------------
- 1 file changed, 39 insertions(+), 29 deletions(-)
+ blivet/util.py | 70 ++++++++++++++++++++++++++++++++++------------------------
+ 1 file changed, 41 insertions(+), 29 deletions(-)
 
 diff --git a/blivet/util.py b/blivet/util.py
-index 0f2a995..05a253c 100644
+index 4eac8b9..4f05076 100644
 --- a/blivet/util.py
 +++ b/blivet/util.py
-@@ -157,6 +157,30 @@ class Path(str):
+@@ -158,6 +158,30 @@ class Path(str):
      def __hash__(self):
          return self._path.__hash__()
  
@@ -45,12 +45,12 @@ index 0f2a995..05a253c 100644
  
  def _run_program(argv, root='/', stdin=None, env_prune=None, stderr_to_stdout=False, binary_output=False):
      if env_prune is None:
-@@ -179,36 +203,22 @@ def _run_program(argv, root='/', stdin=None, env_prune=None, stderr_to_stdout=Fa
+@@ -180,35 +204,23 @@ def _run_program(argv, root='/', stdin=None, env_prune=None, stderr_to_stdout=Fa
              stderr_dir = subprocess.STDOUT
          else:
              stderr_dir = subprocess.PIPE
 -        try:
--            proc = subprocess.Popen(argv,
+-            proc = subprocess.Popen(argv,  # pylint: disable=subprocess-popen-preexec-fn
 -                                    stdin=stdin,
 -                                    stdout=subprocess.PIPE,
 -                                    stderr=stderr_dir,
@@ -78,7 +78,7 @@ index 0f2a995..05a253c 100644
 -        program_log.debug("Return code: %d", proc.returncode)
 -
 -    return (proc.returncode, out)
- 
++
 +        res, out = timeout_command(argv, 10,
 +                                   stdin=stdin,
 +                                   stdout=subprocess.PIPE,
@@ -94,9 +94,10 @@ index 0f2a995..05a253c 100644
 +                program_log.info("%s", line)
 +
 +    return (res, out)
++
+ 
  
  def run_program(*args, **kwargs):
-     return _run_program(*args, **kwargs)[0]
 -- 
 2.7.4
 
diff --git a/meta-python/recipes-extended/python-blivet/python3-blivet/0003-support-infinit-timeout.patch b/meta-python/recipes-extended/python-blivet/python3-blivet/0003-support-infinit-timeout.patch
index 38f061e..861b2cd 100644
--- a/meta-python/recipes-extended/python-blivet/python3-blivet/0003-support-infinit-timeout.patch
+++ b/meta-python/recipes-extended/python-blivet/python3-blivet/0003-support-infinit-timeout.patch
@@ -1,4 +1,4 @@
-From 325898f3f2951bbde07da47888175c427b11ddc3 Mon Sep 17 00:00:00 2001
+From 5d5436dfa3bdde7b4e87ce5a40cbc724199847d6 Mon Sep 17 00:00:00 2001
 From: Hongxu Jia <hongxu.jia@windriver.com>
 Date: Mon, 8 May 2017 16:18:02 +0800
 Subject: [PATCH 03/11] support infinit timeout
@@ -11,10 +11,10 @@ Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
  1 file changed, 8 insertions(+), 4 deletions(-)
 
 diff --git a/blivet/util.py b/blivet/util.py
-index 05a253c..d6804be 100644
+index 4f05076..7e89949 100644
 --- a/blivet/util.py
 +++ b/blivet/util.py
-@@ -157,6 +157,7 @@ class Path(str):
+@@ -158,6 +158,7 @@ class Path(str):
      def __hash__(self):
          return self._path.__hash__()
  
@@ -22,7 +22,7 @@ index 05a253c..d6804be 100644
  def timeout_command(argv, timeout, *args, **kwargs):
      """call shell-command and either return its output or kill it
      if it doesn't normally exit within timeout seconds and return None"""
-@@ -168,7 +169,7 @@ def timeout_command(argv, timeout, *args, **kwargs):
+@@ -169,7 +170,7 @@ def timeout_command(argv, timeout, *args, **kwargs):
          while proc.poll() is None:
              time.sleep(0.1)
              now = datetime.datetime.now()
@@ -31,7 +31,7 @@ index 05a253c..d6804be 100644
                  os.kill(proc.pid, signal.SIGKILL)
                  os.waitpid(-1, os.WNOHANG)
                  program_log.debug("%d seconds timeout" % timeout)
-@@ -182,7 +183,7 @@ def timeout_command(argv, timeout, *args, **kwargs):
+@@ -183,7 +184,7 @@ def timeout_command(argv, timeout, *args, **kwargs):
      program_log.debug("Return code: %d", proc.returncode)
      return (proc.returncode, proc.stdout.read())
  
@@ -40,7 +40,7 @@ index 05a253c..d6804be 100644
      if env_prune is None:
          env_prune = []
  
-@@ -191,7 +192,10 @@ def _run_program(argv, root='/', stdin=None, env_prune=None, stderr_to_stdout=Fa
+@@ -192,7 +193,10 @@ def _run_program(argv, root='/', stdin=None, env_prune=None, stderr_to_stdout=Fa
              os.chroot(root)
  
      with program_log_lock:  # pylint: disable=not-context-manager
@@ -52,7 +52,7 @@ index 05a253c..d6804be 100644
  
          env = os.environ.copy()
          env.update({"LC_ALL": "C",
-@@ -204,7 +208,7 @@ def _run_program(argv, root='/', stdin=None, env_prune=None, stderr_to_stdout=Fa
+@@ -205,7 +209,7 @@ def _run_program(argv, root='/', stdin=None, env_prune=None, stderr_to_stdout=Fa
          else:
              stderr_dir = subprocess.PIPE
  
diff --git a/meta-python/recipes-extended/python-blivet/python3-blivet/0004-fix-new.roots-object-is-not-iterable.patch b/meta-python/recipes-extended/python-blivet/python3-blivet/0004-fix-new.roots-object-is-not-iterable.patch
index be997ac..526a3b1 100644
--- a/meta-python/recipes-extended/python-blivet/python3-blivet/0004-fix-new.roots-object-is-not-iterable.patch
+++ b/meta-python/recipes-extended/python-blivet/python3-blivet/0004-fix-new.roots-object-is-not-iterable.patch
@@ -1,4 +1,4 @@
-From c31df1c0f5323ddc70e0d1c6d11db2fbf7a024ad Mon Sep 17 00:00:00 2001
+From 3bb8d08bdec2f79bb13c0a44b81718d26e5bdabc Mon Sep 17 00:00:00 2001
 From: Hongxu Jia <hongxu.jia@windriver.com>
 Date: Mon, 8 May 2017 16:30:20 +0800
 Subject: [PATCH 04/11] fix new.roots object is not iterable
@@ -11,10 +11,10 @@ Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
  1 file changed, 1 insertion(+), 1 deletion(-)
 
 diff --git a/blivet/blivet.py b/blivet/blivet.py
-index 3405810..f42b73b 100644
+index ea08837..91c92b2 100644
 --- a/blivet/blivet.py
 +++ b/blivet/blivet.py
-@@ -1198,7 +1198,7 @@ class Blivet(object):
+@@ -1206,7 +1206,7 @@ class Blivet(object):
              p = partition.disk.format.parted_disk.getPartitionByPath(partition.path)
              partition.parted_partition = p
  
diff --git a/meta-python/recipes-extended/python-blivet/python3-blivet/0005-fix-incorrect-timeout-while-system-time-changed.patch b/meta-python/recipes-extended/python-blivet/python3-blivet/0005-fix-incorrect-timeout-while-system-time-changed.patch
index ecb9503..9c5d53b 100644
--- a/meta-python/recipes-extended/python-blivet/python3-blivet/0005-fix-incorrect-timeout-while-system-time-changed.patch
+++ b/meta-python/recipes-extended/python-blivet/python3-blivet/0005-fix-incorrect-timeout-while-system-time-changed.patch
@@ -1,4 +1,4 @@
-From b30a74671ca603e6bfd514f72d4fd7fd6fceef54 Mon Sep 17 00:00:00 2001
+From f783b9b00da5df176fcd7927b752f574ca6db319 Mon Sep 17 00:00:00 2001
 From: Hongxu Jia <hongxu.jia@windriver.com>
 Date: Fri, 26 Aug 2016 02:02:49 -0400
 Subject: [PATCH 05/11] fix incorrect timeout while system time changed
@@ -22,10 +22,10 @@ Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
  1 file changed, 3 insertions(+), 3 deletions(-)
 
 diff --git a/blivet/util.py b/blivet/util.py
-index d6804be..bc08af5 100644
+index 7e89949..5571e73 100644
 --- a/blivet/util.py
 +++ b/blivet/util.py
-@@ -162,14 +162,14 @@ def timeout_command(argv, timeout, *args, **kwargs):
+@@ -163,14 +163,14 @@ def timeout_command(argv, timeout, *args, **kwargs):
      """call shell-command and either return its output or kill it
      if it doesn't normally exit within timeout seconds and return None"""
      import subprocess, datetime, os, time, signal
diff --git a/meta-python/recipes-extended/python-blivet/python3-blivet/0006-tweak-btrfs-packages.patch b/meta-python/recipes-extended/python-blivet/python3-blivet/0006-tweak-btrfs-packages.patch
index da568a4..2e53a64 100644
--- a/meta-python/recipes-extended/python-blivet/python3-blivet/0006-tweak-btrfs-packages.patch
+++ b/meta-python/recipes-extended/python-blivet/python3-blivet/0006-tweak-btrfs-packages.patch
@@ -1,4 +1,4 @@
-From 0659d8a85bcdd76c0b23b8b5af6958783d35ac65 Mon Sep 17 00:00:00 2001
+From 8932ae933f2b6acf5e98c9956beff69ae430eed2 Mon Sep 17 00:00:00 2001
 From: Hongxu Jia <hongxu.jia@windriver.com>
 Date: Mon, 8 May 2017 16:33:15 +0800
 Subject: [PATCH 06/11] tweak btrfs packages
diff --git a/meta-python/recipes-extended/python-blivet/python3-blivet/0007-invoking-mount-with-infinite-timeout.patch b/meta-python/recipes-extended/python-blivet/python3-blivet/0007-invoking-mount-with-infinite-timeout.patch
index e301219..b2606d7 100644
--- a/meta-python/recipes-extended/python-blivet/python3-blivet/0007-invoking-mount-with-infinite-timeout.patch
+++ b/meta-python/recipes-extended/python-blivet/python3-blivet/0007-invoking-mount-with-infinite-timeout.patch
@@ -1,6 +1,6 @@
-From 9c7a15312259854f12137a30229e52c30fb7c770 Mon Sep 17 00:00:00 2001
+From f53481dc4a56b8a996628733553e080bb0aafdd7 Mon Sep 17 00:00:00 2001
 From: Hongxu Jia <hongxu.jia@windriver.com>
-Date: Wed, 31 Aug 2016 21:30:32 -0400
+Date: Fri, 23 Nov 2018 17:07:22 +0800
 Subject: [PATCH 07/11] invoking mount with infinite timeout
 
 This large timeout is needed when running on machines with
@@ -14,18 +14,18 @@ Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
  1 file changed, 1 insertion(+), 1 deletion(-)
 
 diff --git a/blivet/util.py b/blivet/util.py
-index bc08af5..b672787 100644
+index 5571e73..02c8033 100644
 --- a/blivet/util.py
 +++ b/blivet/util.py
-@@ -256,7 +256,7 @@ def mount(device, mountpoint, fstype, options=None):
+@@ -258,7 +258,7 @@ def mount(device, mountpoint, fstype, options=None):
+         makedirs(mountpoint)
  
      argv = ["mount", "-t", fstype, "-o", options, device, mountpoint]
-     try:
--        rc = run_program(argv)
-+        rc = run_program(argv, timeout=-1)
-     except OSError:
-         raise
+-    return run_program(argv)
++    return run_program(argv, timeout=-1)
  
+ 
+ def umount(mountpoint):
 -- 
 2.7.4
 
diff --git a/meta-python/recipes-extended/python-blivet/python3-blivet/0008-use-oe-variable-to-replace-hardcoded-dir.patch b/meta-python/recipes-extended/python-blivet/python3-blivet/0008-use-oe-variable-to-replace-hardcoded-dir.patch
index feb5647..ade1862 100644
--- a/meta-python/recipes-extended/python-blivet/python3-blivet/0008-use-oe-variable-to-replace-hardcoded-dir.patch
+++ b/meta-python/recipes-extended/python-blivet/python3-blivet/0008-use-oe-variable-to-replace-hardcoded-dir.patch
@@ -1,4 +1,4 @@
-From 7f57b2cd145d67c20beb02d5495b502f7af012cd Mon Sep 17 00:00:00 2001
+From 12e2579333258d1a690f8718e91b0f217078e886 Mon Sep 17 00:00:00 2001
 From: Hongxu Jia <hongxu.jia@windriver.com>
 Date: Mon, 8 May 2017 03:54:12 -0400
 Subject: [PATCH 08/11] use oe variable to replace hardcoded dir
@@ -11,7 +11,7 @@ Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
  1 file changed, 4 insertions(+), 4 deletions(-)
 
 diff --git a/setup.py b/setup.py
-index 7edab2c..9be3187 100644
+index b745a79..b5b4258 100644
 --- a/setup.py
 +++ b/setup.py
 @@ -61,10 +61,10 @@ class blivet_sdist(sdist):
diff --git a/meta-python/recipes-extended/python-blivet/python3-blivet/0009-invoking-fsck-with-infinite-timeout.patch b/meta-python/recipes-extended/python-blivet/python3-blivet/0009-invoking-fsck-with-infinite-timeout.patch
index 30d2d3e..f477877 100644
--- a/meta-python/recipes-extended/python-blivet/python3-blivet/0009-invoking-fsck-with-infinite-timeout.patch
+++ b/meta-python/recipes-extended/python-blivet/python3-blivet/0009-invoking-fsck-with-infinite-timeout.patch
@@ -1,4 +1,4 @@
-From c757666f42f543baeed5df61269798c085665d9b Mon Sep 17 00:00:00 2001
+From 9624b6d0dda40aaecbaf9530be819943575a2ec6 Mon Sep 17 00:00:00 2001
 From: Hongxu Jia <hongxu.jia@windriver.com>
 Date: Thu, 1 Jun 2017 16:05:27 +0800
 Subject: [PATCH 09/11] invoking fsck with infinite timeout
diff --git a/meta-python/recipes-extended/python-blivet/python3-blivet/0010-invoking-mkfs-with-infinite-timeout.patch b/meta-python/recipes-extended/python-blivet/python3-blivet/0010-invoking-mkfs-with-infinite-timeout.patch
index b2f4501..f128490 100644
--- a/meta-python/recipes-extended/python-blivet/python3-blivet/0010-invoking-mkfs-with-infinite-timeout.patch
+++ b/meta-python/recipes-extended/python-blivet/python3-blivet/0010-invoking-mkfs-with-infinite-timeout.patch
@@ -1,4 +1,4 @@
-From 42d8e57c748951098534bf7f52c4ebc790ef66e9 Mon Sep 17 00:00:00 2001
+From 33844f6773a676bd57240954e402ae9a843663a4 Mon Sep 17 00:00:00 2001
 From: Hongxu Jia <hongxu.jia@windriver.com>
 Date: Fri, 16 Jun 2017 15:43:00 +0800
 Subject: [PATCH 10/11] invoking mkfs with infinite timeout
diff --git a/meta-python/recipes-extended/python-blivet/python3-blivet/0011-invoking-dd-with-infinite-timeout.patch b/meta-python/recipes-extended/python-blivet/python3-blivet/0011-invoking-dd-with-infinite-timeout.patch
index f24ce0a..13c2933 100644
--- a/meta-python/recipes-extended/python-blivet/python3-blivet/0011-invoking-dd-with-infinite-timeout.patch
+++ b/meta-python/recipes-extended/python-blivet/python3-blivet/0011-invoking-dd-with-infinite-timeout.patch
@@ -1,4 +1,4 @@
-From a4753b3cbbd5aee59dc53eb16564cafd9862763e Mon Sep 17 00:00:00 2001
+From 21ca2b859a49e96a230d55a7866dfc7ed5d1366c Mon Sep 17 00:00:00 2001
 From: Hongxu Jia <hongxu.jia@windriver.com>
 Date: Tue, 6 Mar 2018 17:28:56 +0800
 Subject: [PATCH 11/11] invoking dd with infinite timeout
@@ -14,10 +14,10 @@ Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
  1 file changed, 1 insertion(+), 1 deletion(-)
 
 diff --git a/blivet/devices/partition.py b/blivet/devices/partition.py
-index 47ff547..0cd1614 100644
+index 623e1c9..141d8ad 100644
 --- a/blivet/devices/partition.py
 +++ b/blivet/devices/partition.py
-@@ -621,7 +621,7 @@ class PartitionDevice(StorageDevice):
+@@ -618,7 +618,7 @@ class PartitionDevice(StorageDevice):
          cmd = ["dd", "if=/dev/zero", "of=%s" % device, "bs=%d" % bs,
                 "seek=%d" % start, "count=%d" % count]
          try:
diff --git a/meta-python/recipes-extended/python-blivet/python3-blivet/0012-remove-dmraid-dependency-check.patch b/meta-python/recipes-extended/python-blivet/python3-blivet/0012-remove-dmraid-dependency-check.patch
deleted file mode 100644
index 886e3ff..0000000
--- a/meta-python/recipes-extended/python-blivet/python3-blivet/0012-remove-dmraid-dependency-check.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-From 4476e846a1e64dde17df2e2370c803ce695514f9 Mon Sep 17 00:00:00 2001
-From: Hongxu Jia <hongxu.jia@windriver.com>
-Date: Mon, 6 Aug 2018 17:18:27 +0800
-Subject: [PATCH] remove dmraid dependency check
-
-OE does not support dmraid, remove it from dependency check
-
-Upstream-Status: Inappropriate [oe specific]
-
-Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
----
- blivet/tasks/availability.py | 3 +--
- 1 file changed, 1 insertion(+), 2 deletions(-)
-
-diff --git a/blivet/tasks/availability.py b/blivet/tasks/availability.py
-index 9a87cfd..843cf6a 100644
---- a/blivet/tasks/availability.py
-+++ b/blivet/tasks/availability.py
-@@ -316,8 +316,7 @@ BLOCKDEV_DM_ALL_MODES = (blockdev.DMTechMode.CREATE_ACTIVATE |
-                          blockdev.DMTechMode.QUERY)
- BLOCKDEV_DM = BlockDevTechInfo(plugin_name="dm",
-                                check_fn=blockdev.dm_is_tech_avail,
--                               technologies={blockdev.DMTech.MAP: BLOCKDEV_DM_ALL_MODES,
--                                             blockdev.DMTech.RAID: BLOCKDEV_DM_ALL_MODES})
-+                               technologies={blockdev.DMTech.MAP: BLOCKDEV_DM_ALL_MODES})
- BLOCKDEV_DM_TECH = BlockDevMethod(BLOCKDEV_DM)
- 
- # libblockdev loop plugin required technologies and modes
--- 
-2.7.4
-
diff --git a/meta-python/recipes-extended/python-blivet/python3-blivet/0013-add-Z-y-and-y-to-lvm.pvcreate.patch b/meta-python/recipes-extended/python-blivet/python3-blivet/0013-add-Z-y-and-y-to-lvm.pvcreate.patch
deleted file mode 100644
index 33b5f51..0000000
--- a/meta-python/recipes-extended/python-blivet/python3-blivet/0013-add-Z-y-and-y-to-lvm.pvcreate.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-From bddbfa499df16b108f2d892ee48d65617523c33d Mon Sep 17 00:00:00 2001
-From: Hongxu Jia <hongxu.jia@windriver.com>
-Date: Thu, 9 Aug 2018 11:00:39 +0800
-Subject: [PATCH] add `-Z y' and `-y' to lvm.pvcreate
-
-While reinstall a crypt fs, it occasionally failed
-[snip]
-|gi.overrides.BlockDev.LVMError: Process reported exit code 5:
-WARNING: atari signature detected on /dev/mapper/luks-0e5f891c
--7701-48bc-a41e-8d626b6ef953 at offset 466. Wipe it? [y/n]:
-[snip]
-
-Add `-Z y' and `-y' to lvm.pvcreate
-
-Upstream-Status: Submitted [https://github.com/storaged-project/blivet/pull/714]
-
-Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
----
- blivet/formats/lvmpv.py | 6 +++---
- 1 file changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/blivet/formats/lvmpv.py b/blivet/formats/lvmpv.py
-index 260cc0b..4bbb46f 100644
---- a/blivet/formats/lvmpv.py
-+++ b/blivet/formats/lvmpv.py
-@@ -120,9 +120,9 @@ class LVMPhysicalVolume(DeviceFormat):
-         log_method_call(self, device=self.device,
-                         type=self.type, status=self.status)
- 
--        # Consider use of -Z|--zero
--        # -f|--force or -y|--yes may be required
--        blockdev.lvm.pvcreate(self.device, data_alignment=self.data_alignment)
-+        ea_zero = blockdev.ExtraArg.new("-Z", "y")
-+        ea_yes = blockdev.ExtraArg.new("-y", "")
-+        blockdev.lvm.pvcreate(self.device, data_alignment=self.data_alignment, extra=[ea_zero, ea_yes])
- 
-     def _destroy(self, **kwargs):
-         log_method_call(self, device=self.device,
--- 
-2.7.4
-
diff --git a/meta-python/recipes-extended/python-blivet/python3-blivet_3.0.1.bb b/meta-python/recipes-extended/python-blivet/python3-blivet_3.1.1.bb
similarity index 89%
rename from meta-python/recipes-extended/python-blivet/python3-blivet_3.0.1.bb
rename to meta-python/recipes-extended/python-blivet/python3-blivet_3.1.1.bb
index 75f02f1..df8cc07 100644
--- a/meta-python/recipes-extended/python-blivet/python3-blivet_3.0.1.bb
+++ b/meta-python/recipes-extended/python-blivet/python3-blivet_3.1.1.bb
@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
 S = "${WORKDIR}/git"
 B = "${S}"
 
-SRCREV = "ddc24c71bad10208b11ea0c45853898fadd7030b"
+SRCREV = "0a1f8374197f5a5fb368de90a7f1c1258b7cd2b9"
 SRC_URI = "git://github.com/rhinstaller/blivet;branch=3.1-release \
            file://0001-comment-out-selinux.patch \
            file://0002-run_program-support-timeout.patch \
@@ -21,8 +21,6 @@ SRC_URI = "git://github.com/rhinstaller/blivet;branch=3.1-release \
            file://0009-invoking-fsck-with-infinite-timeout.patch \
            file://0010-invoking-mkfs-with-infinite-timeout.patch \
            file://0011-invoking-dd-with-infinite-timeout.patch \
-           file://0012-remove-dmraid-dependency-check.patch \
-           file://0013-add-Z-y-and-y-to-lvm.pvcreate.patch \
 "
 
 UPSTREAM_CHECK_GITTAGREGEX = "blivet-(?P<pver>\d+(\.\d+)+)$"
-- 
2.7.4



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

* [meta-oe][PATCH 05/12] libreport: 2.9.5 -> 2.9.6
  2018-11-27  8:32 [PATCH 00/12] Upgrade 12 recipes Hongxu Jia
                   ` (3 preceding siblings ...)
  2018-11-27  8:32 ` [meta-python][PATCH 04/12] python3-blivet: 3.0.1 -> 3.1.1 Hongxu Jia
@ 2018-11-27  8:32 ` Hongxu Jia
  2018-11-27  8:32 ` [meta-oe][PATCH 06/12] volume-key: 0.3.11 -> 0.3.12 Hongxu Jia
                   ` (6 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: Hongxu Jia @ 2018-11-27  8:32 UTC (permalink / raw)
  To: raj.khem; +Cc: openembedded-devel

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
---
 .../libreport/{libreport_2.9.5.bb => libreport_2.9.6.bb}                | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-oe/recipes-extended/libreport/{libreport_2.9.5.bb => libreport_2.9.6.bb} (96%)

diff --git a/meta-oe/recipes-extended/libreport/libreport_2.9.5.bb b/meta-oe/recipes-extended/libreport/libreport_2.9.6.bb
similarity index 96%
rename from meta-oe/recipes-extended/libreport/libreport_2.9.5.bb
rename to meta-oe/recipes-extended/libreport/libreport_2.9.6.bb
index 542956c..ce3d2db 100644
--- a/meta-oe/recipes-extended/libreport/libreport_2.9.5.bb
+++ b/meta-oe/recipes-extended/libreport/libreport_2.9.6.bb
@@ -17,7 +17,7 @@ SRC_URI += "file://0001-Makefile.am-remove-doc-and-apidoc.patch \
             file://0003-without-build-plugins.patch \
             file://0004-configure.ac-remove-prog-test-of-augparse.patch \
 "
-SRCREV = "15f92bcaf73e5eb8958fbde655a57dcd111757a7"
+SRCREV = "e43eb0b747f58ef9be7e2d8fc9f3fafc93fa63c6"
 
 UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+(\.\d+)+)"
 
-- 
2.7.4



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

* [meta-oe][PATCH 06/12] volume-key: 0.3.11 -> 0.3.12
  2018-11-27  8:32 [PATCH 00/12] Upgrade 12 recipes Hongxu Jia
                   ` (4 preceding siblings ...)
  2018-11-27  8:32 ` [meta-oe][PATCH 05/12] libreport: 2.9.5 -> 2.9.6 Hongxu Jia
@ 2018-11-27  8:32 ` Hongxu Jia
  2018-11-27  8:32 ` [meta-oe][PATCH 07/12] efibootmgr: 0.16 -> 17 Hongxu Jia
                   ` (5 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: Hongxu Jia @ 2018-11-27  8:32 UTC (permalink / raw)
  To: raj.khem; +Cc: openembedded-devel

Add PACKAGECONFIG to build with python3 rather than python2.

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
---
 .../volume_key/{volume-key_0.3.11.bb => volume-key_0.3.12.bb}     | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
 rename meta-oe/recipes-extended/volume_key/{volume-key_0.3.11.bb => volume-key_0.3.12.bb} (71%)

diff --git a/meta-oe/recipes-extended/volume_key/volume-key_0.3.11.bb b/meta-oe/recipes-extended/volume_key/volume-key_0.3.12.bb
similarity index 71%
rename from meta-oe/recipes-extended/volume_key/volume-key_0.3.11.bb
rename to meta-oe/recipes-extended/volume_key/volume-key_0.3.12.bb
index c41b20c..398ca5c 100644
--- a/meta-oe/recipes-extended/volume_key/volume-key_0.3.11.bb
+++ b/meta-oe/recipes-extended/volume_key/volume-key_0.3.12.bb
@@ -10,8 +10,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
 
 SRC_URI = "https://releases.pagure.org/volume_key/volume_key-${PV}.tar.xz \
 "
-SRC_URI[md5sum] = "30df56c7743eb7c965293b3d61194232"
-SRC_URI[sha256sum] = "e6b279c25ae477b555f938db2e41818f90c8cde942b0eec92f70b6c772095f6d"
+SRC_URI[md5sum] = "200591290173c3ea71528411838f9080"
+SRC_URI[sha256sum] = "6ca3748fc1dad22c450bbf6601d4e706cb11c5e662d11bb4aeb473a9cd77309b"
 
 SRCNAME = "volume_key"
 S = "${WORKDIR}/${SRCNAME}-${PV}"
@@ -27,6 +27,10 @@ DEPENDS += " \
     swig-native \
 "
 
+PACKAGECONFIG ??= "python3"
+PACKAGECONFIG[python] = "--with-python,--without-python,python,python"
+PACKAGECONFIG[python3] = "--with-python3,--without-python3,python3,python3"
+
 RDEPENDS_python3-${PN} += "${PN}"
 
 PACKAGES += "python3-${PN}"
-- 
2.7.4



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

* [meta-oe][PATCH 07/12] efibootmgr: 0.16 -> 17
  2018-11-27  8:32 [PATCH 00/12] Upgrade 12 recipes Hongxu Jia
                   ` (5 preceding siblings ...)
  2018-11-27  8:32 ` [meta-oe][PATCH 06/12] volume-key: 0.3.11 -> 0.3.12 Hongxu Jia
@ 2018-11-27  8:32 ` Hongxu Jia
  2018-11-27  8:32 ` [meta-oe][PATCH 08/12] libbytesize: 1.3 -> 1.4 Hongxu Jia
                   ` (4 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: Hongxu Jia @ 2018-11-27  8:32 UTC (permalink / raw)
  To: raj.khem; +Cc: openembedded-devel

- Correct version number format, remove `0.'

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
---
 meta-oe/recipes-bsp/efibootmgr/{efibootmgr_0.16.bb => efibootmgr_17.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-oe/recipes-bsp/efibootmgr/{efibootmgr_0.16.bb => efibootmgr_17.bb} (93%)

diff --git a/meta-oe/recipes-bsp/efibootmgr/efibootmgr_0.16.bb b/meta-oe/recipes-bsp/efibootmgr/efibootmgr_17.bb
similarity index 93%
rename from meta-oe/recipes-bsp/efibootmgr/efibootmgr_0.16.bb
rename to meta-oe/recipes-bsp/efibootmgr/efibootmgr_17.bb
index 6497e09..8fdfedb 100644
--- a/meta-oe/recipes-bsp/efibootmgr/efibootmgr_0.16.bb
+++ b/meta-oe/recipes-bsp/efibootmgr/efibootmgr_17.bb
@@ -10,7 +10,7 @@ DEPENDS = "pciutils zlib efivar"
 
 COMPATIBLE_HOST = "(i.86|x86_64|arm|aarch64).*-linux"
 
-SRCREV = "a5103251a11663adddc85c86e0b8d3d3b73cbb4a"
+SRCREV = "e067160ecef8208e1944002e5d50b275733211fb"
 SRC_URI = "git://github.com/rhinstaller/efibootmgr.git;protocol=https \
           "
 S = "${WORKDIR}/git"
-- 
2.7.4



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

* [meta-oe][PATCH 08/12] libbytesize: 1.3 -> 1.4
  2018-11-27  8:32 [PATCH 00/12] Upgrade 12 recipes Hongxu Jia
                   ` (6 preceding siblings ...)
  2018-11-27  8:32 ` [meta-oe][PATCH 07/12] efibootmgr: 0.16 -> 17 Hongxu Jia
@ 2018-11-27  8:32 ` Hongxu Jia
  2018-11-27  8:32 ` [meta-oe][PATCH 09/12] efivar: correct version number 0.36 -> 36 Hongxu Jia
                   ` (3 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: Hongxu Jia @ 2018-11-27  8:32 UTC (permalink / raw)
  To: raj.khem; +Cc: openembedded-devel

Remove redundant PV assignment

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
---
 .../libbytesize/{libbytesize_1.3.bb => libbytesize_1.4.bb}             | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
 rename meta-oe/recipes-support/libbytesize/{libbytesize_1.3.bb => libbytesize_1.4.bb} (91%)

diff --git a/meta-oe/recipes-support/libbytesize/libbytesize_1.3.bb b/meta-oe/recipes-support/libbytesize/libbytesize_1.4.bb
similarity index 91%
rename from meta-oe/recipes-support/libbytesize/libbytesize_1.3.bb
rename to meta-oe/recipes-support/libbytesize/libbytesize_1.4.bb
index caf84de..863ce42 100644
--- a/meta-oe/recipes-support/libbytesize/libbytesize_1.3.bb
+++ b/meta-oe/recipes-support/libbytesize/libbytesize_1.4.bb
@@ -9,8 +9,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=c07cb499d259452f324bb90c3067d85c"
 S = "${WORKDIR}/git"
 B = "${S}"
 
-SRCREV = "b0dcf6f457d700127b43c0e0a198253c266b78ae"
-PV = "1.3+git${SRCPV}"
+SRCREV = "ebbda2217d177d2a17f917d7a3e3d132a26db791"
 SRC_URI = "git://github.com/rhinstaller/libbytesize;branch=master \
 "
 
-- 
2.7.4



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

* [meta-oe][PATCH 09/12] efivar: correct version number 0.36 -> 36
  2018-11-27  8:32 [PATCH 00/12] Upgrade 12 recipes Hongxu Jia
                   ` (7 preceding siblings ...)
  2018-11-27  8:32 ` [meta-oe][PATCH 08/12] libbytesize: 1.3 -> 1.4 Hongxu Jia
@ 2018-11-27  8:32 ` Hongxu Jia
  2018-11-27  8:32 ` [meta-oe][PATCH 10/12] lvm2/libdevmapper: 2.02.180 -> 2.03.01 Hongxu Jia
                   ` (2 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: Hongxu Jia @ 2018-11-27  8:32 UTC (permalink / raw)
  To: raj.khem; +Cc: openembedded-devel

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
---
 meta-oe/recipes-bsp/efivar/{efivar_0.36.bb => efivar_36.bb} | 0
 1 file changed, 0 insertions(+), 0 deletions(-)
 rename meta-oe/recipes-bsp/efivar/{efivar_0.36.bb => efivar_36.bb} (100%)

diff --git a/meta-oe/recipes-bsp/efivar/efivar_0.36.bb b/meta-oe/recipes-bsp/efivar/efivar_36.bb
similarity index 100%
rename from meta-oe/recipes-bsp/efivar/efivar_0.36.bb
rename to meta-oe/recipes-bsp/efivar/efivar_36.bb
-- 
2.7.4



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

* [meta-oe][PATCH 10/12] lvm2/libdevmapper: 2.02.180 -> 2.03.01
  2018-11-27  8:32 [PATCH 00/12] Upgrade 12 recipes Hongxu Jia
                   ` (8 preceding siblings ...)
  2018-11-27  8:32 ` [meta-oe][PATCH 09/12] efivar: correct version number 0.36 -> 36 Hongxu Jia
@ 2018-11-27  8:32 ` Hongxu Jia
  2018-11-27  8:32 ` [meta-oe][PATCH 11/12] libblockdev: 2.18 -> 2.20 Hongxu Jia
  2018-11-27  8:32 ` [meta-oe][PATCH 12/12] ndctl: v62 -> v63 Hongxu Jia
  11 siblings, 0 replies; 13+ messages in thread
From: Hongxu Jia @ 2018-11-27  8:32 UTC (permalink / raw)
  To: raj.khem; +Cc: openembedded-devel

- Upddate upstream SRC_URI, use github to replace tarball

- Rebase 0001-Avoid-bashisms-in-init-scripts.patch,
         0005-do-not-build-manual.patch,
         0001-explicitly-do-not-install-libdm.patch

- Remove `--enable-applib' since upstream [0d22b58 liblvm: remove lvmapi]

- Remove `lvmetad' since upstream [117160b Remove lvmetad]

- Remove  `oe_runmake ... -C tools install_device-mapper' since upstream
  [0524829 dmsetup: move to libdm/dm-tools/dmsetup]

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
---
 .../0001-Avoid-bashisms-in-init-scripts.patch      | 136 ++++++---------------
 .../lvm2/files/0005-do-not-build-manual.patch      |  30 ++---
 ...vmapper_2.02.180.bb => libdevmapper_2.03.01.bb} |   4 +-
 meta-oe/recipes-support/lvm2/lvm2.inc              |   8 +-
 .../0001-explicitly-do-not-install-libdm.patch     |  33 ++---
 .../lvm2/{lvm2_2.02.180.bb => lvm2_2.03.01.bb}     |   4 +-
 6 files changed, 75 insertions(+), 140 deletions(-)
 rename meta-oe/recipes-support/lvm2/{libdevmapper_2.02.180.bb => libdevmapper_2.03.01.bb} (55%)
 rename meta-oe/recipes-support/lvm2/{lvm2_2.02.180.bb => lvm2_2.03.01.bb} (88%)

diff --git a/meta-oe/recipes-support/lvm2/files/0001-Avoid-bashisms-in-init-scripts.patch b/meta-oe/recipes-support/lvm2/files/0001-Avoid-bashisms-in-init-scripts.patch
index 5b55111..3c4a3a1 100644
--- a/meta-oe/recipes-support/lvm2/files/0001-Avoid-bashisms-in-init-scripts.patch
+++ b/meta-oe/recipes-support/lvm2/files/0001-Avoid-bashisms-in-init-scripts.patch
@@ -1,26 +1,27 @@
-From 916ea0c70fd063ab7b81f16fd917a75dc02edf4f Mon Sep 17 00:00:00 2001
-From: Peter Kjellerstedt <pkj@axis.com>
-Date: Fri, 17 Mar 2017 03:18:28 +0100
-Subject: [PATCH] Avoid bashisms in init scripts
+From ea66faf68c93735edb1f2691cd7364b8cab83fef Mon Sep 17 00:00:00 2001
+From: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
+Date: Mon, 26 Nov 2018 14:53:09 +0800
+Subject: [PATCH 1/3] Avoid bashisms in init scripts
 
 Upstream-Status: Inappropriate
 
 Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
+
+Rebase to 2.03.01
+
+Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
 ---
- scripts/blk_availability_init_red_hat.in      | 4 ++--
- scripts/clvmd_init_red_hat.in                 | 6 +++---
- scripts/cmirrord_init_red_hat.in              | 4 ++--
- scripts/lvm2_cluster_activation_red_hat.sh.in | 4 ++--
- scripts/lvm2_lvmetad_init_red_hat.in          | 4 ++--
- scripts/lvm2_lvmpolld_init_red_hat.in         | 4 ++--
- scripts/lvm2_monitoring_init_red_hat.in       | 4 ++--
- scripts/lvm2_monitoring_init_rhel4            | 4 ++--
- 8 files changed, 17 insertions(+), 17 deletions(-)
+ scripts/blk_availability_init_red_hat.in | 4 ++--
+ scripts/cmirrord_init_red_hat.in         | 4 ++--
+ scripts/lvm2_lvmpolld_init_red_hat.in    | 4 ++--
+ scripts/lvm2_monitoring_init_red_hat.in  | 4 ++--
+ scripts/lvm2_monitoring_init_rhel4       | 4 ++--
+ 5 files changed, 10 insertions(+), 10 deletions(-)
 
-Index: LVM2.2.02.177/scripts/blk_availability_init_red_hat.in
-===================================================================
---- LVM2.2.02.177.orig/scripts/blk_availability_init_red_hat.in
-+++ LVM2.2.02.177/scripts/blk_availability_init_red_hat.in
+diff --git a/scripts/blk_availability_init_red_hat.in b/scripts/blk_availability_init_red_hat.in
+index 347c395..b2e9cf9 100644
+--- a/scripts/blk_availability_init_red_hat.in
++++ b/scripts/blk_availability_init_red_hat.in
 @@ -1,4 +1,4 @@
 -#!/bin/bash
 +#!/bin/sh
@@ -35,38 +36,10 @@ Index: LVM2.2.02.177/scripts/blk_availability_init_red_hat.in
 +	echo "Usage: $0 {start|stop|status}"
  	;;
  esac
-Index: LVM2.2.02.177/scripts/clvmd_init_red_hat.in
-===================================================================
---- LVM2.2.02.177.orig/scripts/clvmd_init_red_hat.in
-+++ LVM2.2.02.177/scripts/clvmd_init_red_hat.in
-@@ -1,4 +1,4 @@
--#!/bin/bash
-+#!/bin/sh
- #
- # clvmd - Clustered LVM Daemon init script
- #
-@@ -161,7 +161,7 @@ restart() {
- 	fi
- }
- 
--[ "$EUID" != "0" ] && {
-+[ "$(id -u)" != "0" ] && {
- 	echo "clvmd init script can only be executed as root user"
- 	exit 4
- }
-@@ -206,7 +206,7 @@ case "$1" in
- 	;;
- 
-   *)
--	echo $"Usage: $0 {start|stop|status|restart|condrestart|try-restart|reload|force-reload}"
-+	echo "Usage: $0 {start|stop|status|restart|condrestart|try-restart|reload|force-reload}"
- 	rtrn=2
- 	;;
- esac
-Index: LVM2.2.02.177/scripts/cmirrord_init_red_hat.in
-===================================================================
---- LVM2.2.02.177.orig/scripts/cmirrord_init_red_hat.in
-+++ LVM2.2.02.177/scripts/cmirrord_init_red_hat.in
+diff --git a/scripts/cmirrord_init_red_hat.in b/scripts/cmirrord_init_red_hat.in
+index c82f8f5..a3a321d 100755
+--- a/scripts/cmirrord_init_red_hat.in
++++ b/scripts/cmirrord_init_red_hat.in
 @@ -1,4 +1,4 @@
 -#!/bin/bash
 +#!/bin/sh
@@ -82,48 +55,10 @@ Index: LVM2.2.02.177/scripts/cmirrord_init_red_hat.in
  		;;
  esac
  
-Index: LVM2.2.02.177/scripts/lvm2_cluster_activation_red_hat.sh.in
-===================================================================
---- LVM2.2.02.177.orig/scripts/lvm2_cluster_activation_red_hat.sh.in
-+++ LVM2.2.02.177/scripts/lvm2_cluster_activation_red_hat.sh.in
-@@ -1,4 +1,4 @@
--#!/bin/bash
-+#!/bin/sh
- 
- sbindir="@SBINDIR@"
- 
-@@ -54,7 +54,7 @@ case "$1" in
- 	rtrn=$?
- 	;;
-   *)
--	echo $"Usage: $0 {activate|deactivate}"
-+	echo "Usage: $0 {activate|deactivate}"
- 	rtrn=3
- 	;;
- esac
-Index: LVM2.2.02.177/scripts/lvm2_lvmetad_init_red_hat.in
-===================================================================
---- LVM2.2.02.177.orig/scripts/lvm2_lvmetad_init_red_hat.in
-+++ LVM2.2.02.177/scripts/lvm2_lvmetad_init_red_hat.in
-@@ -1,4 +1,4 @@
--#!/bin/bash
-+#!/bin/sh
- #
- # Copyright (C) 2012-2017 Red Hat, Inc. All rights reserved.
- #
-@@ -103,7 +103,7 @@ case "$1" in
- 	;;
- 
-   *)
--	echo $"Usage: $0 {start|stop|force-stop|restart|condrestart|try-restart|status}"
-+	echo "Usage: $0 {start|stop|force-stop|restart|condrestart|try-restart|status}"
- 	;;
- esac
- 
-Index: LVM2.2.02.177/scripts/lvm2_lvmpolld_init_red_hat.in
-===================================================================
---- LVM2.2.02.177.orig/scripts/lvm2_lvmpolld_init_red_hat.in
-+++ LVM2.2.02.177/scripts/lvm2_lvmpolld_init_red_hat.in
+diff --git a/scripts/lvm2_lvmpolld_init_red_hat.in b/scripts/lvm2_lvmpolld_init_red_hat.in
+index 176ff5d..825f6ad 100644
+--- a/scripts/lvm2_lvmpolld_init_red_hat.in
++++ b/scripts/lvm2_lvmpolld_init_red_hat.in
 @@ -1,4 +1,4 @@
 -#!/bin/bash
 +#!/bin/sh
@@ -139,10 +74,10 @@ Index: LVM2.2.02.177/scripts/lvm2_lvmpolld_init_red_hat.in
  	;;
  esac
  
-Index: LVM2.2.02.177/scripts/lvm2_monitoring_init_red_hat.in
-===================================================================
---- LVM2.2.02.177.orig/scripts/lvm2_monitoring_init_red_hat.in
-+++ LVM2.2.02.177/scripts/lvm2_monitoring_init_red_hat.in
+diff --git a/scripts/lvm2_monitoring_init_red_hat.in b/scripts/lvm2_monitoring_init_red_hat.in
+index 95e4125..dff89cd 100644
+--- a/scripts/lvm2_monitoring_init_red_hat.in
++++ b/scripts/lvm2_monitoring_init_red_hat.in
 @@ -1,4 +1,4 @@
 -#!/bin/bash
 +#!/bin/sh
@@ -158,10 +93,10 @@ Index: LVM2.2.02.177/scripts/lvm2_monitoring_init_red_hat.in
  	;;
  esac
  
-Index: LVM2.2.02.177/scripts/lvm2_monitoring_init_rhel4
-===================================================================
---- LVM2.2.02.177.orig/scripts/lvm2_monitoring_init_rhel4
-+++ LVM2.2.02.177/scripts/lvm2_monitoring_init_rhel4
+diff --git a/scripts/lvm2_monitoring_init_rhel4 b/scripts/lvm2_monitoring_init_rhel4
+index 8eb06c5..2e8d0f7 100644
+--- a/scripts/lvm2_monitoring_init_rhel4
++++ b/scripts/lvm2_monitoring_init_rhel4
 @@ -1,4 +1,4 @@
 -#!/bin/bash
 +#!/bin/sh
@@ -177,3 +112,6 @@ Index: LVM2.2.02.177/scripts/lvm2_monitoring_init_rhel4
  	;;
  esac
  
+-- 
+2.7.4
+
diff --git a/meta-oe/recipes-support/lvm2/files/0005-do-not-build-manual.patch b/meta-oe/recipes-support/lvm2/files/0005-do-not-build-manual.patch
index e3ce4c8..2124eba 100644
--- a/meta-oe/recipes-support/lvm2/files/0005-do-not-build-manual.patch
+++ b/meta-oe/recipes-support/lvm2/files/0005-do-not-build-manual.patch
@@ -1,7 +1,7 @@
-From 51d661ff33bb254d7b335a9c87acf5c6e7a94192 Mon Sep 17 00:00:00 2001
+From 103ac1c1200df8190372d973e004776cffe8e659 Mon Sep 17 00:00:00 2001
 From: Hongxu Jia <hongxu.jia@windriver.com>
-Date: Tue, 31 Jul 2018 15:08:34 +0800
-Subject: [PATCH] do not build manual
+Date: Mon, 26 Nov 2018 14:59:55 +0800
+Subject: [PATCH 2/3] do not build manual
 
 On some host (ubuntu 1404), build manual failed.
 ...
@@ -20,28 +20,28 @@ Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
  2 files changed, 3 insertions(+), 4 deletions(-)
 
 diff --git a/Makefile.in b/Makefile.in
-index e2f5a84..acf31e5 100644
+index 6a1a990..80cba91 100644
 --- a/Makefile.in
 +++ b/Makefile.in
 @@ -18,7 +18,7 @@ top_builddir = @top_builddir@
  abs_top_builddir = @abs_top_builddir@
  abs_top_srcdir = @abs_top_srcdir@
  
--SUBDIRS = conf daemons include lib libdaemon libdm man scripts device_mapper tools
-+SUBDIRS = conf daemons include lib libdaemon libdm scripts device_mapper tools
+-SUBDIRS = conf daemons include lib libdaemon libdm man scripts tools
++SUBDIRS = conf daemons include lib libdaemon libdm scripts tools
  
  ifeq ("@UDEV_RULES@", "yes")
    SUBDIRS += udev
-@@ -41,7 +41,7 @@ ifeq ($(MAKECMDGOALS),clean)
+@@ -33,7 +33,7 @@ ifeq ($(MAKECMDGOALS),clean)
  endif
  # FIXME Should use intermediate Makefiles here!
  ifeq ($(MAKECMDGOALS),distclean)
 -  SUBDIRS = conf include man test scripts \
 +  SUBDIRS = conf include test scripts \
      libdaemon lib tools daemons libdm \
-     udev po liblvm python device_mapper
+     udev po
  tools.distclean: test.distclean
-@@ -71,7 +71,7 @@ liblvm.device-mapper: include.device-mapper
+@@ -59,7 +59,7 @@ libdm.device-mapper: include.device-mapper
  daemons.device-mapper: libdm.device-mapper
  tools.device-mapper: libdm.device-mapper
  scripts.device-mapper: include.device-mapper
@@ -51,17 +51,17 @@ index e2f5a84..acf31e5 100644
  ifeq ("@INTL@", "yes")
  lib.pofile: include.pofile
 diff --git a/configure.ac b/configure.ac
-index aa374ea..5a92cba 100644
+index 9c45745..8fee4c4 100644
 --- a/configure.ac
 +++ b/configure.ac
-@@ -2124,7 +2124,6 @@ libdm/Makefile
+@@ -1806,7 +1806,6 @@ libdaemon/server/Makefile
+ libdm/Makefile
+ libdm/dm-tools/Makefile
  libdm/libdevmapper.pc
- liblvm/Makefile
- liblvm/liblvm2app.pc
 -man/Makefile
  po/Makefile
- python/Makefile
- python/setup.py
+ scripts/blkdeactivate.sh
+ scripts/blk_availability_init_red_hat
 -- 
 2.7.4
 
diff --git a/meta-oe/recipes-support/lvm2/libdevmapper_2.02.180.bb b/meta-oe/recipes-support/lvm2/libdevmapper_2.03.01.bb
similarity index 55%
rename from meta-oe/recipes-support/lvm2/libdevmapper_2.02.180.bb
rename to meta-oe/recipes-support/lvm2/libdevmapper_2.03.01.bb
index 26af327..2c4febb 100644
--- a/meta-oe/recipes-support/lvm2/libdevmapper_2.02.180.bb
+++ b/meta-oe/recipes-support/lvm2/libdevmapper_2.03.01.bb
@@ -1,7 +1,6 @@
 require lvm2.inc
 
-SRC_URI[md5sum] = "bc26da66e96727babbd288bb0f050339"
-SRC_URI[sha256sum] = "24997e26dfc916151707c9da504d38d0473bec3481a8230b676bc079041bead6"
+SRCREV = "913c28917e62577a2ef67152b2e5159237503dda"
 
 DEPENDS += "autoconf-archive-native"
 
@@ -9,7 +8,6 @@ TARGET_CC_ARCH += "${LDFLAGS}"
 
 do_install() {
     oe_runmake 'DESTDIR=${D}' -C libdm install
-    oe_runmake 'DESTDIR=${D}' -C tools install_device-mapper
 }
 
 RRECOMMENDS_${PN}_append_class-target = " lvm2-udevrules"
diff --git a/meta-oe/recipes-support/lvm2/lvm2.inc b/meta-oe/recipes-support/lvm2/lvm2.inc
index 26a887e..66b0828 100644
--- a/meta-oe/recipes-support/lvm2/lvm2.inc
+++ b/meta-oe/recipes-support/lvm2/lvm2.inc
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=12713b4d9386533feeb07d6e4831765a \
 
 DEPENDS += "util-linux libaio"
 
-SRC_URI = "ftp://sources.redhat.com/pub/lvm2/old/LVM2.${PV}.tgz \
+SRC_URI = "git://github.com/lvmteam/lvm2.git;protocol=https;branch=master \
            file://lvm.conf \
            file://0001-implement-libc-specific-reopen_stream.patch \
            file://0002-Guard-use-of-mallinfo-with-__GLIBC__.patch \
@@ -21,11 +21,11 @@ SRC_URI = "ftp://sources.redhat.com/pub/lvm2/old/LVM2.${PV}.tgz \
 UPSTREAM_CHECK_URI = "ftp://sources.redhat.com/pub/lvm2/"
 UPSTREAM_CHECK_REGEX = "LVM2\.(?P<pver>\d+(\.\d+)+)"
 
-S = "${WORKDIR}/LVM2.${PV}"
+S = "${WORKDIR}/git"
 
 inherit autotools-brokensep pkgconfig systemd license
 
-LVM2_PACKAGECONFIG = "dmeventd lvmetad"
+LVM2_PACKAGECONFIG = "dmeventd"
 LVM2_PACKAGECONFIG_append_class-target = " \
     ${@bb.utils.filter('DISTRO_FEATURES', 'selinux', d)} \
     ${@incompatible_license_contains('GPLv3', '', 'thin-provisioning-tools', d)} \
@@ -39,7 +39,6 @@ LVM2_PACKAGECONFIG_append_class-target = " \
 PACKAGECONFIG ??= "odirect ${LVM2_PACKAGECONFIG}"
 
 PACKAGECONFIG[dmeventd] = "--enable-dmeventd,--disable-dmeventd"
-PACKAGECONFIG[lvmetad] = "--enable-lvmetad,--disable-lvmetad"
 PACKAGECONFIG[odirect] = "--enable-o_direct,--disable-o_direct"
 PACKAGECONFIG[readline] = "--enable-readline,--disable-readline,readline"
 PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux,libselinux"
@@ -50,7 +49,6 @@ PACKAGECONFIG[udev] = "--enable-udev_sync --enable-udev_rules --with-udevdir=${n
 EXTRA_OECONF = "--with-user= \
                 --with-group= \
                 --enable-realtime \
-                --enable-applib \
                 --enable-cmdlib \
                 --enable-pkgconfig \
                 --with-usrlibdir=${libdir} \
diff --git a/meta-oe/recipes-support/lvm2/lvm2/0001-explicitly-do-not-install-libdm.patch b/meta-oe/recipes-support/lvm2/lvm2/0001-explicitly-do-not-install-libdm.patch
index 7f5dd93..8b805fc 100644
--- a/meta-oe/recipes-support/lvm2/lvm2/0001-explicitly-do-not-install-libdm.patch
+++ b/meta-oe/recipes-support/lvm2/lvm2/0001-explicitly-do-not-install-libdm.patch
@@ -1,6 +1,6 @@
-From 5a3e13ae94318c2bed60f875bb3852c45ce0113c Mon Sep 17 00:00:00 2001
+From 3c16d9aaa46602e7594d717d86e7f02066d21134 Mon Sep 17 00:00:00 2001
 From: Hongxu Jia <hongxu.jia@windriver.com>
-Date: Thu, 25 May 2017 05:27:11 -0400
+Date: Mon, 26 Nov 2018 17:20:20 +0800
 Subject: [PATCH] explicitly do not install libdm
 
 Already have package libdevmapper which split from lvm2,
@@ -9,17 +9,16 @@ explicitly do not do the installation here.
 Upstream-Status: Inappropriate [meta-oe specific]
 
 Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
-Signed-off-by: Andrew Bresticker <abrestic@waymo.com>
 ---
- libdm/Makefile.in | 6 ++++--
- tools/Makefile.in | 3 ++-
- 2 files changed, 6 insertions(+), 3 deletions(-)
+ libdm/Makefile.in          | 6 ++++--
+ libdm/dm-tools/Makefile.in | 6 ++++--
+ 2 files changed, 8 insertions(+), 4 deletions(-)
 
 diff --git a/libdm/Makefile.in b/libdm/Makefile.in
-index 66ec39513..c779c9d86 100644
+index 8c8334a..effcf25 100644
 --- a/libdm/Makefile.in
 +++ b/libdm/Makefile.in
-@@ -77,9 +77,11 @@ ifeq ("@PKGCONFIG@", "yes")
+@@ -81,9 +81,11 @@ ifeq ("@PKGCONFIG@", "yes")
    INSTALL_TYPE += install_pkgconfig
  endif
  
@@ -33,11 +32,11 @@ index 66ec39513..c779c9d86 100644
  
  install_include: $(srcdir)/libdevmapper.h
  	$(INSTALL_DATA) -D $< $(includedir)/$(<F)
-diff --git a/tools/Makefile.in b/tools/Makefile.in
-index 103b76732..63ba7fc04 100644
---- a/tools/Makefile.in
-+++ b/tools/Makefile.in
-@@ -267,7 +267,8 @@ install_dmsetup_static: dmsetup.static
+diff --git a/libdm/dm-tools/Makefile.in b/libdm/dm-tools/Makefile.in
+index 39d411d..4a0f61a 100644
+--- a/libdm/dm-tools/Makefile.in
++++ b/libdm/dm-tools/Makefile.in
+@@ -60,9 +60,11 @@ install_dmsetup_static: dmsetup.static
  	$(Q) $(INSTALL_PROGRAM) -D $< $(staticdir)/$(<F)
  	$(Q) $(LN_S) -f $(<F) $(staticdir)/dmstats
  
@@ -45,8 +44,12 @@ index 103b76732..63ba7fc04 100644
 +install_device-mapper:
 +	echo "Do not install device mapper in lvm2"
  
- install_lvm2: $(INSTALL_LVM_TARGETS)
+-install: install_device-mapper
++install:
++	echo "Do not install device mapper in lvm2"
  
+ # dmfilemapd support
+ ifeq ("@BUILD_DMFILEMAPD@", "yes")
 -- 
-2.19.0.397.gdd90340f6a-goog
+2.7.4
 
diff --git a/meta-oe/recipes-support/lvm2/lvm2_2.02.180.bb b/meta-oe/recipes-support/lvm2/lvm2_2.03.01.bb
similarity index 88%
rename from meta-oe/recipes-support/lvm2/lvm2_2.02.180.bb
rename to meta-oe/recipes-support/lvm2/lvm2_2.03.01.bb
index 7bd7b09..b28acf1 100644
--- a/meta-oe/recipes-support/lvm2/lvm2_2.02.180.bb
+++ b/meta-oe/recipes-support/lvm2/lvm2_2.03.01.bb
@@ -1,7 +1,6 @@
 require lvm2.inc
 
-SRC_URI[md5sum] = "bc26da66e96727babbd288bb0f050339"
-SRC_URI[sha256sum] = "24997e26dfc916151707c9da504d38d0473bec3481a8230b676bc079041bead6"
+SRCREV = "913c28917e62577a2ef67152b2e5159237503dda"
 
 SRC_URI += "file://0001-explicitly-do-not-install-libdm.patch"
 
@@ -32,7 +31,6 @@ PACKAGE_BEFORE_PN = "${PN}-scripts ${PN}-udevrules"
 
 SYSTEMD_PACKAGES = "${PN}"
 SYSTEMD_SERVICE_${PN} = "${@bb.utils.contains('PACKAGECONFIG', 'dmeventd', 'lvm2-monitor.service dm-event.socket dm-event.service', '', d)} \
-                         ${@bb.utils.contains('PACKAGECONFIG', 'lvmetad', 'lvm2-lvmetad.socket lvm2-pvscan@.service', '', d)} \
                          blk-availability.service"
 SYSTEMD_AUTO_ENABLE = "disable"
 
-- 
2.7.4



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

* [meta-oe][PATCH 11/12] libblockdev: 2.18 -> 2.20
  2018-11-27  8:32 [PATCH 00/12] Upgrade 12 recipes Hongxu Jia
                   ` (9 preceding siblings ...)
  2018-11-27  8:32 ` [meta-oe][PATCH 10/12] lvm2/libdevmapper: 2.02.180 -> 2.03.01 Hongxu Jia
@ 2018-11-27  8:32 ` Hongxu Jia
  2018-11-27  8:32 ` [meta-oe][PATCH 12/12] ndctl: v62 -> v63 Hongxu Jia
  11 siblings, 0 replies; 13+ messages in thread
From: Hongxu Jia @ 2018-11-27  8:32 UTC (permalink / raw)
  To: raj.khem; +Cc: openembedded-devel

Add nvdimm support since upstream python3-blivet [20ae5ea Re-add
nvdimm plugin Recommends on 3.1+.]

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
---
 .../libblockdev/{libblockdev_2.18.bb => libblockdev_2.20.bb}        | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
 rename meta-oe/recipes-extended/libblockdev/{libblockdev_2.18.bb => libblockdev_2.20.bb} (92%)

diff --git a/meta-oe/recipes-extended/libblockdev/libblockdev_2.18.bb b/meta-oe/recipes-extended/libblockdev/libblockdev_2.20.bb
similarity index 92%
rename from meta-oe/recipes-extended/libblockdev/libblockdev_2.18.bb
rename to meta-oe/recipes-extended/libblockdev/libblockdev_2.20.bb
index 35f0cc0..54a188d 100644
--- a/meta-oe/recipes-extended/libblockdev/libblockdev_2.18.bb
+++ b/meta-oe/recipes-extended/libblockdev/libblockdev_2.20.bb
@@ -10,7 +10,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=c07cb499d259452f324bb90c3067d85c"
 
 inherit autotools python3native gobject-introspection
 
-SRCREV = "0debeb45562ac3d8f6f43f6f942b238abab55be9"
+SRCREV = "cb308566c3c5222b8422f78997a1742713b265a9"
 SRC_URI = " \
     git://github.com/rhinstaller/libblockdev;branch=master \
 "
@@ -19,7 +19,7 @@ S = "${WORKDIR}/git"
 
 FILES_${PN} += "${PYTHON_SITEPACKAGES_DIR}"
 
-PACKAGECONFIG ??= "python3 lvm dm kmod parted fs escrow btrfs crypto mdraid kbd mpath"
+PACKAGECONFIG ??= "python3 lvm dm kmod parted fs escrow btrfs crypto mdraid kbd mpath nvdimm"
 PACKAGECONFIG[python3] = "--with-python3, --without-python3,,python3"
 PACKAGECONFIG[python2] = "--with-python2, --without-python2,,python2"
 PACKAGECONFIG[lvm] = "--with-lvm, --without-lvm, multipath-tools, lvm2"
@@ -30,7 +30,7 @@ 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[nvdimm] = "--with-nvdimm, --without-nvdimm, ndctl util-linux"
 PACKAGECONFIG[vdo] = "--with-vdo, --without-vdo"
 PACKAGECONFIG[escrow] = "--with-escrow, --without-escrow, nss volume-key"
 PACKAGECONFIG[btrfs] = "--with-btrfs,--without-btrfs,libbytesize btrfs-tools"
-- 
2.7.4



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

* [meta-oe][PATCH 12/12] ndctl: v62 -> v63
  2018-11-27  8:32 [PATCH 00/12] Upgrade 12 recipes Hongxu Jia
                   ` (10 preceding siblings ...)
  2018-11-27  8:32 ` [meta-oe][PATCH 11/12] libblockdev: 2.18 -> 2.20 Hongxu Jia
@ 2018-11-27  8:32 ` Hongxu Jia
  11 siblings, 0 replies; 13+ messages in thread
From: Hongxu Jia @ 2018-11-27  8:32 UTC (permalink / raw)
  To: raj.khem; +Cc: openembedded-devel

- Upstream introduce --with-systemd to replace --with-systemd-unit-dir
  [86ab28b ndctl, build: Introduce --with-{bash,systemd}]
  It fixed previously "No package 'systemd' found" failure

- Remove COMPATIBLE_HOST to build on more machines.

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
---
 meta-oe/recipes-core/ndctl/{ndctl_git.bb => ndctl_v63.bb} | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)
 rename meta-oe/recipes-core/ndctl/{ndctl_git.bb => ndctl_v63.bb} (81%)

diff --git a/meta-oe/recipes-core/ndctl/ndctl_git.bb b/meta-oe/recipes-core/ndctl/ndctl_v63.bb
similarity index 81%
rename from meta-oe/recipes-core/ndctl/ndctl_git.bb
rename to meta-oe/recipes-core/ndctl/ndctl_v63.bb
index b20915f..17f3405 100644
--- a/meta-oe/recipes-core/ndctl/ndctl_git.bb
+++ b/meta-oe/recipes-core/ndctl/ndctl_v63.bb
@@ -10,21 +10,20 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=e66651809cac5da60c8b80e9e4e79e08"
 
 inherit autotools-brokensep pkgconfig module-base bash-completion systemd
 
-# v62
-SRCREV = "11f560f4048c1d38b7011a49566871a1e8a07c94"
+SRCREV = "cb2d678dd6d286dd96d31548c32449a8b883ae32"
 SRC_URI = "git://github.com/pmem/ndctl.git"
 
 DEPENDS = "virtual/kernel kmod udev json-c"
 
-PV = "v62+git${SRCPV}"
 S = "${WORKDIR}/git"
 
 EXTRA_OECONF += "--enable-test --enable-destructive --disable-docs"
 
+PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES','systemd','systemd','',d)}"
+PACKAGECONFIG[systemd] = "--with-systemd, --without-systemd, systemd"
+
 do_configure_prepend() {
     ${S}/autogen.sh
 }
 
 SYSTEMD_SERVICE_${PN} = "ndctl-monitor.service"
-
-COMPATIBLE_HOST='(x86_64).*'
-- 
2.7.4



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

end of thread, other threads:[~2018-11-27  8:17 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-27  8:32 [PATCH 00/12] Upgrade 12 recipes Hongxu Jia
2018-11-27  8:32 ` [meta-gnome][PATCH 01/12] dconf: 0.28.0 -> 0.30.1 Hongxu Jia
2018-11-27  8:32 ` [meta-python][PATCH 02/12] python3-pykickstart: 3.15 -> 3.18 Hongxu Jia
2018-11-27  8:32 ` [meta-python][PATCH 03/12] python3-blivetgui: 2.1.8 -> 2.1.9 Hongxu Jia
2018-11-27  8:32 ` [meta-python][PATCH 04/12] python3-blivet: 3.0.1 -> 3.1.1 Hongxu Jia
2018-11-27  8:32 ` [meta-oe][PATCH 05/12] libreport: 2.9.5 -> 2.9.6 Hongxu Jia
2018-11-27  8:32 ` [meta-oe][PATCH 06/12] volume-key: 0.3.11 -> 0.3.12 Hongxu Jia
2018-11-27  8:32 ` [meta-oe][PATCH 07/12] efibootmgr: 0.16 -> 17 Hongxu Jia
2018-11-27  8:32 ` [meta-oe][PATCH 08/12] libbytesize: 1.3 -> 1.4 Hongxu Jia
2018-11-27  8:32 ` [meta-oe][PATCH 09/12] efivar: correct version number 0.36 -> 36 Hongxu Jia
2018-11-27  8:32 ` [meta-oe][PATCH 10/12] lvm2/libdevmapper: 2.02.180 -> 2.03.01 Hongxu Jia
2018-11-27  8:32 ` [meta-oe][PATCH 11/12] libblockdev: 2.18 -> 2.20 Hongxu Jia
2018-11-27  8:32 ` [meta-oe][PATCH 12/12] ndctl: v62 -> v63 Hongxu Jia

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.