diff options
author | Zang Ruochen <zangrc.fnst@cn.fujitsu.com> | 2019-09-09 13:32:00 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-09-16 23:02:43 +0100 |
commit | c4baf598975eae6379ea014afe208bd7307913f5 (patch) | |
tree | 2ccf2ac0fcc64300b6287b886e22992c904a03de /meta/recipes-devtools/btrfs-tools/btrfs-tools_5.2.2.bb | |
parent | 114f2cb80d6b18749bd05ceb203998ed6edcb61e (diff) | |
download | poky-c4baf598975eae6379ea014afe208bd7307913f5.tar.gz |
btrfs-tools:upgrade 5.2.1 -> 5.2.2
(From OE-Core rev: 53a7c9c6da894848cba0c3bf2ed93b7b268497ac)
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/btrfs-tools/btrfs-tools_5.2.2.bb')
-rw-r--r-- | meta/recipes-devtools/btrfs-tools/btrfs-tools_5.2.2.bb | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/meta/recipes-devtools/btrfs-tools/btrfs-tools_5.2.2.bb b/meta/recipes-devtools/btrfs-tools/btrfs-tools_5.2.2.bb new file mode 100644 index 0000000000..6b73c01dcc --- /dev/null +++ b/meta/recipes-devtools/btrfs-tools/btrfs-tools_5.2.2.bb | |||
@@ -0,0 +1,52 @@ | |||
1 | SUMMARY = "Checksumming Copy on Write Filesystem utilities" | ||
2 | DESCRIPTION = "Btrfs is a new copy on write filesystem for Linux aimed at \ | ||
3 | implementing advanced features while focusing on fault tolerance, repair and \ | ||
4 | easy administration. \ | ||
5 | This package contains utilities (mkfs, fsck, btrfsctl) used to work with \ | ||
6 | btrfs and an utility (btrfs-convert) to make a btrfs filesystem from an ext3." | ||
7 | |||
8 | HOMEPAGE = "https://btrfs.wiki.kernel.org" | ||
9 | |||
10 | LICENSE = "GPLv2" | ||
11 | LIC_FILES_CHKSUM = "file://COPYING;md5=fcb02dc552a041dee27e4b85c7396067" | ||
12 | SECTION = "base" | ||
13 | DEPENDS = "util-linux attr e2fsprogs lzo acl" | ||
14 | DEPENDS_append_class-target = " udev" | ||
15 | RDEPENDS_${PN} = "libgcc" | ||
16 | |||
17 | SRCREV = "55a8c9626fb906c20c3206f8fd39b9a8fb259b79" | ||
18 | SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/kdave/btrfs-progs.git \ | ||
19 | file://0001-Add-a-possibility-to-specify-where-python-modules-ar.patch \ | ||
20 | " | ||
21 | |||
22 | PACKAGECONFIG ??= "python" | ||
23 | PACKAGECONFIG[manpages] = "--enable-documentation, --disable-documentation, asciidoc-native xmlto-native" | ||
24 | PACKAGECONFIG[python] = "--enable-python,--disable-python,python3-setuptools-native" | ||
25 | PACKAGECONFIG[zstd] = "--enable-zstd,--disable-zstd,zstd" | ||
26 | |||
27 | inherit autotools-brokensep pkgconfig manpages | ||
28 | inherit ${@bb.utils.contains('PACKAGECONFIG', 'python', 'distutils3-base', '', d)} | ||
29 | |||
30 | CLEANBROKEN = "1" | ||
31 | |||
32 | EXTRA_OECONF_append_libc-musl = " --disable-backtrace " | ||
33 | EXTRA_PYTHON_CFLAGS = "${DEBUG_PREFIX_MAP}" | ||
34 | EXTRA_PYTHON_CFLAGS_class-native = "" | ||
35 | EXTRA_PYTHON_LDFLAGS = "${LDFLAGS}" | ||
36 | EXTRA_OEMAKE = "V=1 'EXTRA_PYTHON_CFLAGS=${EXTRA_PYTHON_CFLAGS}' 'EXTRA_PYTHON_LDFLAGS=${EXTRA_PYTHON_LDFLAGS}'" | ||
37 | |||
38 | do_configure_prepend() { | ||
39 | # Upstream doesn't ship this and autoreconf won't install it as automake isn't used. | ||
40 | mkdir -p ${S}/config | ||
41 | cp -f $(automake --print-libdir)/install-sh ${S}/config/ | ||
42 | } | ||
43 | |||
44 | S = "${WORKDIR}/git" | ||
45 | |||
46 | do_install_append() { | ||
47 | if [ "${@bb.utils.filter('PACKAGECONFIG', 'python', d)}" ]; then | ||
48 | oe_runmake 'DESTDIR=${D}' 'PYTHON_SITEPACKAGES_DIR=${PYTHON_SITEPACKAGES_DIR}' install_python | ||
49 | fi | ||
50 | } | ||
51 | |||
52 | BBCLASSEXTEND = "native" | ||