diff options
Diffstat (limited to 'meta/recipes-devtools/btrfs-tools/btrfs-tools_6.13.bb')
| -rw-r--r-- | meta/recipes-devtools/btrfs-tools/btrfs-tools_6.13.bb | 73 |
1 files changed, 73 insertions, 0 deletions
diff --git a/meta/recipes-devtools/btrfs-tools/btrfs-tools_6.13.bb b/meta/recipes-devtools/btrfs-tools/btrfs-tools_6.13.bb new file mode 100644 index 0000000000..d73d86ba8a --- /dev/null +++ b/meta/recipes-devtools/btrfs-tools/btrfs-tools_6.13.bb | |||
| @@ -0,0 +1,73 @@ | |||
| 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 = "GPL-2.0-only & LGPL-2.1-or-later" | ||
| 11 | LIC_FILES_CHKSUM = " \ | ||
| 12 | file://COPYING;md5=fcb02dc552a041dee27e4b85c7396067 \ | ||
| 13 | file://libbtrfsutil/COPYING;md5=4fbd65380cdd255951079008b364516c \ | ||
| 14 | " | ||
| 15 | SECTION = "base" | ||
| 16 | DEPENDS = "util-linux zlib" | ||
| 17 | |||
| 18 | SRC_URI = "git://github.com/kdave/btrfs-progs.git;branch=master;protocol=https \ | ||
| 19 | file://0001-Add-a-possibility-to-specify-where-python-modules-ar.patch \ | ||
| 20 | file://0001-mkfs-add-break-to-case-BTRFS_COMPRESS_NONE.patch \ | ||
| 21 | " | ||
| 22 | SRCREV = "26e4d9174c70aac0e53c3b5de55cf159f8d9397f" | ||
| 23 | S = "${WORKDIR}/git" | ||
| 24 | |||
| 25 | PACKAGECONFIG ??= " \ | ||
| 26 | programs \ | ||
| 27 | convert \ | ||
| 28 | python \ | ||
| 29 | crypto-builtin \ | ||
| 30 | " | ||
| 31 | PACKAGECONFIG[manpages] = "--enable-documentation, --disable-documentation, python3-sphinx-native python3-sphinx-rtd-theme-native" | ||
| 32 | PACKAGECONFIG[programs] = "--enable-programs,--disable-programs" | ||
| 33 | PACKAGECONFIG[convert] = "--enable-convert --with-convert=ext2,--disable-convert --without-convert,e2fsprogs" | ||
| 34 | PACKAGECONFIG[zoned] = "--enable-zoned,--disable-zoned" | ||
| 35 | PACKAGECONFIG[python] = "--enable-python,--disable-python,python3-setuptools-native" | ||
| 36 | PACKAGECONFIG[lzo] = "--enable-lzo,--disable-lzo,lzo" | ||
| 37 | PACKAGECONFIG[zstd] = "--enable-zstd,--disable-zstd,zstd" | ||
| 38 | PACKAGECONFIG[udev] = "--enable-libudev,--disable-libudev,udev" | ||
| 39 | |||
| 40 | # Pick only one crypto provider | ||
| 41 | PACKAGECONFIG[crypto-builtin] = "--with-crypto=builtin" | ||
| 42 | PACKAGECONFIG[crypto-libgcrypt] = "--with-crypto=libgcrypt,,libgcrypt" | ||
| 43 | PACKAGECONFIG[crypto-libsodium] = "--with-crypto=libsodium,,libsodium" | ||
| 44 | PACKAGECONFIG[crypto-libkcapi] = "--with-crypto=libkcapi,,libkcapi" | ||
| 45 | |||
| 46 | inherit autotools-brokensep pkgconfig manpages | ||
| 47 | inherit_defer ${@bb.utils.contains('PACKAGECONFIG', 'python', 'setuptools3-base', '', d)} | ||
| 48 | |||
| 49 | CLEANBROKEN = "1" | ||
| 50 | |||
| 51 | EXTRA_OECONF = "--enable-largefile" | ||
| 52 | EXTRA_OECONF:append:libc-musl = " --disable-backtrace " | ||
| 53 | EXTRA_PYTHON_CFLAGS = "${DEBUG_PREFIX_MAP}" | ||
| 54 | EXTRA_PYTHON_CFLAGS:class-native = "" | ||
| 55 | EXTRA_PYTHON_LDFLAGS = "${LDFLAGS}" | ||
| 56 | EXTRA_OEMAKE = "V=1 'EXTRA_PYTHON_CFLAGS=${EXTRA_PYTHON_CFLAGS}' 'EXTRA_PYTHON_LDFLAGS=${EXTRA_PYTHON_LDFLAGS}'" | ||
| 57 | |||
| 58 | do_configure:prepend() { | ||
| 59 | # Upstream doesn't ship this and autoreconf won't install it as automake isn't used. | ||
| 60 | mkdir -p ${S}/config | ||
| 61 | cp -f $(automake --print-libdir)/install-sh ${S}/config/ | ||
| 62 | } | ||
| 63 | |||
| 64 | |||
| 65 | do_install:append() { | ||
| 66 | if [ "${@bb.utils.filter('PACKAGECONFIG', 'python', d)}" ]; then | ||
| 67 | oe_runmake 'DESTDIR=${D}' 'PYTHON_SITEPACKAGES_DIR=${PYTHON_SITEPACKAGES_DIR}' install_python | ||
| 68 | fi | ||
| 69 | } | ||
| 70 | |||
| 71 | RDEPENDS:${PN} = "libgcc" | ||
| 72 | |||
| 73 | BBCLASSEXTEND = "native nativesdk" | ||
