diff options
| author | Wang Mingyu <wangmy@fujitsu.com> | 2024-09-10 17:03:09 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2024-09-10 07:20:42 -0700 |
| commit | 2b071a777b16eec99e448edb1c5b71f4264bcf56 (patch) | |
| tree | d39ea9a0f537937030516b33541b4b97ed975cc4 /meta-filesystems/recipes-utils/xfsdump/xfsdump_3.2.0.bb | |
| parent | 3b24cb382171682ceb65fe84ed9eb0f7be8b77ab (diff) | |
| download | meta-openembedded-2b071a777b16eec99e448edb1c5b71f4264bcf56.tar.gz | |
xfsdump: upgrade 3.1.12 -> 3.2.0
Changelog:
===========
- don't use O_DIRECT on the RT device
- Fix memory leak
- suggest -x rather than assert for false roots in restore
- fix rootdir due to xfsdump bulkstat misuse
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-filesystems/recipes-utils/xfsdump/xfsdump_3.2.0.bb')
| -rw-r--r-- | meta-filesystems/recipes-utils/xfsdump/xfsdump_3.2.0.bb | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/meta-filesystems/recipes-utils/xfsdump/xfsdump_3.2.0.bb b/meta-filesystems/recipes-utils/xfsdump/xfsdump_3.2.0.bb new file mode 100644 index 0000000000..c65344f536 --- /dev/null +++ b/meta-filesystems/recipes-utils/xfsdump/xfsdump_3.2.0.bb | |||
| @@ -0,0 +1,40 @@ | |||
| 1 | SUMMARY = "XFS Filesystem Dump Utility" | ||
| 2 | DESCRIPTION = "The xfsdump package contains xfsdump, xfsrestore and a \ | ||
| 3 | number of other utilities for administering XFS filesystems.\ | ||
| 4 | xfsdump examines files in a filesystem, determines which \ | ||
| 5 | need to be backed up, and copies those files to a \ | ||
| 6 | specified disk, tape or other storage medium." | ||
| 7 | HOMEPAGE = "http://oss.sgi.com/projects/xfs" | ||
| 8 | SECTION = "base" | ||
| 9 | LICENSE = "GPL-2.0-only" | ||
| 10 | LIC_FILES_CHKSUM = "file://doc/COPYING;md5=15c832894d10ddd00dfcf57bee490ecc" | ||
| 11 | DEPENDS = "xfsprogs attr" | ||
| 12 | |||
| 13 | SRC_URI = "https://www.kernel.org/pub/linux/utils/fs/xfs/xfsdump/${BP}.tar.xz \ | ||
| 14 | file://remove-install-as-user.patch \ | ||
| 15 | file://0001-include-libgen.h-for-basename-API-prototype.patch \ | ||
| 16 | ${@bb.utils.contains('DISTRO_FEATURES','usrmerge','file://0001-xfsdump-support-usrmerge.patch','',d)} \ | ||
| 17 | " | ||
| 18 | SRC_URI[sha256sum] = "2914dbbe1ebc88c7d93ad88e220aa57dabc43d216e11f06221c01edf3cc10732" | ||
| 19 | |||
| 20 | inherit autotools-brokensep | ||
| 21 | |||
| 22 | PARALLEL_MAKE = "" | ||
| 23 | PACKAGECONFIG ??= "" | ||
| 24 | PACKAGECONFIG[gettext] = "--enable-gettext=yes,--enable-gettext=no,gettext" | ||
| 25 | |||
| 26 | CFLAGS += "-D_FILE_OFFSET_BITS=64" | ||
| 27 | TARGET_CC_ARCH:append:libc-musl = " -D_LARGEFILE64_SOURCE" | ||
| 28 | |||
| 29 | do_configure () { | ||
| 30 | export DEBUG="-DNDEBUG" | ||
| 31 | install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.guess ${S} | ||
| 32 | install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.sub ${S} | ||
| 33 | oe_runconf | ||
| 34 | } | ||
| 35 | |||
| 36 | do_install () { | ||
| 37 | export DIST_ROOT=${D} | ||
| 38 | oe_runmake install | ||
| 39 | oe_runmake install-dev | ||
| 40 | } | ||
