Re: [OE-core] [PATCH] btrfs-tools: Update to 4.16

2018-05-03 Thread Alexander Kanavin

On 05/03/2018 12:09 PM, Hong Liu wrote:

-DEPENDS = "util-linux attr e2fsprogs lzo acl"
+DEPENDS = "util-linux attr e2fsprogs lzo acl python3"
+EXTRA_OECONF = "--disable-zstd --disable-python"
+INSANE_SKIP_${PN} = "ldflags"


You need to explain all of these changes in the commit message. 
Particularly the combination of adding a python dependency and then 
passing --disable-python looks odd.


Alex

--
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH] btrfs-tools: Update to 4.16

2018-05-03 Thread Hong Liu
From: Lei Maohui 

* 0001-Fix-build-with-musl-missing-header-include-for-dev_t.patch was deleted 
because it has been fixed in upstream.

Signed-off-by: Lei Maohui 
Signed-off-by: Hong Liu 
---
 ...ith-musl-missing-header-include-for-dev_t.patch | 26 --
 .../{btrfs-tools_4.13.3.bb => btrfs-tools_4.16.bb} | 10 +
 2 files changed, 6 insertions(+), 30 deletions(-)
 delete mode 100644 
meta/recipes-devtools/btrfs-tools/btrfs-tools/0001-Fix-build-with-musl-missing-header-include-for-dev_t.patch
 rename meta/recipes-devtools/btrfs-tools/{btrfs-tools_4.13.3.bb => 
btrfs-tools_4.16.bb} (81%)

diff --git 
a/meta/recipes-devtools/btrfs-tools/btrfs-tools/0001-Fix-build-with-musl-missing-header-include-for-dev_t.patch
 
b/meta/recipes-devtools/btrfs-tools/btrfs-tools/0001-Fix-build-with-musl-missing-header-include-for-dev_t.patch
deleted file mode 100644
index 790676b..000
--- 
a/meta/recipes-devtools/btrfs-tools/btrfs-tools/0001-Fix-build-with-musl-missing-header-include-for-dev_t.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-From bc35c4caebb57cc8b96c30c25432b12ca8dc18d5 Mon Sep 17 00:00:00 2001
-From: Alexander Kanavin 
-Date: Fri, 6 Oct 2017 15:03:49 +0300
-Subject: [PATCH] Fix build with musl (missing header include for dev_t).
-
-Upstream-Status: Pending
-Signed-off-by: Alexander Kanavin 

- convert/source-fs.h | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/convert/source-fs.h b/convert/source-fs.h
-index 23f3356..6fd770f 100644
 a/convert/source-fs.h
-+++ b/convert/source-fs.h
-@@ -20,6 +20,7 @@
- #include "kerncompat.h"
- #include 
- #include 
-+#include 
- 
- #define CONV_IMAGE_SUBVOL_OBJECTID BTRFS_FIRST_FREE_OBJECTID
- 
--- 
-2.14.1
-
diff --git a/meta/recipes-devtools/btrfs-tools/btrfs-tools_4.13.3.bb 
b/meta/recipes-devtools/btrfs-tools/btrfs-tools_4.16.bb
similarity index 81%
rename from meta/recipes-devtools/btrfs-tools/btrfs-tools_4.13.3.bb
rename to meta/recipes-devtools/btrfs-tools/btrfs-tools_4.16.bb
index bc157e2..28fd2c5 100644
--- a/meta/recipes-devtools/btrfs-tools/btrfs-tools_4.13.3.bb
+++ b/meta/recipes-devtools/btrfs-tools/btrfs-tools_4.16.bb
@@ -10,21 +10,22 @@ HOMEPAGE = "https://btrfs.wiki.kernel.org;
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=fcb02dc552a041dee27e4b85c7396067"
 SECTION = "base"
-DEPENDS = "util-linux attr e2fsprogs lzo acl"
+DEPENDS = "util-linux attr e2fsprogs lzo acl python3"
 DEPENDS_append_class-target = " udev"
 RDEPENDS_${PN} = "libgcc"
 
-SRCREV = "a7a1ea0f4f2a1d6eeeb3d106e062c7f1034f16d4"
+SRCREV = "23df5de0d07028f31f017a0f80091ba158980742"
 SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/kdave/btrfs-progs.git 
\
file://0001-Makefile-build-mktables-using-native-gcc.patch \
-   
file://0001-Fix-build-with-musl-missing-header-include-for-dev_t.patch \
"
 
-RECIPE_NO_UPDATE_REASON = "Waiting for resolution of 
https://github.com/kdave/btrfs-progs/issues/109;
 inherit autotools-brokensep pkgconfig manpages
 
 CLEANBROKEN = "1"
 
+EXTRA_OECONF = "--disable-zstd --disable-python"
+
+
 PACKAGECONFIG[manpages] = "--enable-documentation, --disable-documentation, 
asciidoc-native xmlto-native"
 EXTRA_OECONF_append_libc-musl = " --disable-backtrace "
 
@@ -36,4 +37,5 @@ do_configure_prepend() {
 
 S = "${WORKDIR}/git"
 
+INSANE_SKIP_${PN} = "ldflags"
 BBCLASSEXTEND = "native"
-- 
2.7.4



-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core