227 Commits

Author SHA1 Message Date
Adrian Bunk
ce5a5f09be xfsprogs: Remove obsolete patch
The patch metadata talked about sync_file_range(),
the patch seemed to handle copy_file_range().

Both functions are checked by current xfsprogs upstream code.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-12-03 09:31:53 -08:00
Denys Dmytriyenko
4c00e5fed9 recipes: rename distro_features_check to features_check
Avoid warning due to the class rename in OE-Core.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-21 17:51:37 -08:00
Zheng Ruoqin
3663587a86 f2fs-tools: Update Homepage
Change homepage to git as the f2fs-tools is no longer maintained through sf.net.
Reference to https://sourceforge.net/projects/f2fs-tools/.

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-13 07:15:16 -08:00
Zang Ruochen
f80dc25f5b xorriso: upgrade 1.5.0 -> 1.5.3
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-06 19:58:01 -08:00
Zheng Ruoqin
6aa27fed55 xorriso: upgrade 1.4.0 -> 1.5.0
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-10-26 02:41:33 -07:00
Zheng Ruoqin
0d7a2b1c30 f2fs-tools: upgrade 1.11.0 -> 1.13.0
1) Upgrade f2fs-tools from 1.11.0 to 1.13.0.

2) Remove patch 0001-Remove-AC_CHECK_FILE-for-cross-compilation.patch as there is no AC_CHECK_FILE in configure.ac.

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-10-26 02:41:33 -07:00
Changqing Li
86b4e8df88 xfsdump: support usrmerge
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-09-05 21:50:12 -07:00
Changqing Li
0433f28ee9 xfsprogs: support usrmerge
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-08-30 06:45:52 -07:00
Yuan Chao
064e8f428f xfsprogs: upgrade 5.2.0 -> 5.2.1
Signed-off-by: Yuan Chao <yuanc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-08-24 04:31:45 -07:00
Khem Raj
28f0b48c6f ufs-tool: Do not force static linking
build forced static linking if it detect cross-compilation, static
linking with glibc does not work in all circumstances, e.g. when using
clang, glibc expects libgcc to be linked in to provide unwinding, which
may not be the case, ideally the symbols should be looked up independent
of libraries linked in but thats not the case

fixes

| /mnt/a/yoe/build/tmp/work/cortexa7t2hf-neon-vfpv4-yoe-linux-gnueabi/ufs-tool/1.3+gitAUTOINC+8b00e33003-r0/recipe-sysroot-native/usr/bin/arm-yoe-linux-gnueabi/arm-yoe-linux-gnueabi-ld: /mnt/a/yoe/build/tmp/work/cortexa7t2hf-neon-vfpv4-yoe-linux-gnueabi/ufs-tool/1.3+gitAUTOINC+8b00e33003-r0/recipe-sysroot/usr/lib//arm-yoe-linux-gnueabi/9.2.0/../../../lib/libpthread.a(unwind.o): in function `__pthread_unwind':
| /usr/src/debug/glibc/2.30-r0/git/nptl/unwind.c:121: undefined reference to `_Unwind_ForcedUnwind'
| clang-9: error: linker command failed with exit code 1 (use -v to see invocation)
| make: *** [Makefile:40: ufs-tool] Error 1

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Denys Dmytriyenko <denys@ti.com>
2019-08-17 13:22:58 -07:00
Yuan Chao
0aa96837f9 xfsdump: fix error to work with xfsprogs 5.2.0
Make it work with xfsprogs 5.2.0.

"xfs_fsop_geom_v1_t" has changed to "struct xfs_fsop_geom_v1"
in xfsprogs since version 5.2.0.

Signed-off-by: Yuan Chao <yuanc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-08-14 22:33:09 -07:00
Yuan Chao
a6eeacedd0 xfsprogs: upgrade 5.1.0 -> 5.2.0
Signed-off-by: Yuan Chao <yuanc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-08-14 22:33:09 -07:00
Denys Dmytriyenko
58805f41a2 ufs-tool: add tool to access UFS (Universal Flash Storage) devices
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-08-03 17:05:01 -07:00
Zang Ruochen
b5f8310b5f xfsprogs: upgrade 5.0.0 -> 5.1.0
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-07-23 09:37:22 -07:00
Luca Ceresoli
700e1ae173 exfat-utils: update 1.2.3 -> 1.3.0
1.2.3 is >3 years old now, and several bugfixes have been applied
in the meanwhile.

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-07-15 12:35:42 -07:00
Luca Ceresoli
7d02bb8a20 exfat-utils: moved to github
exfat-utils has been moved long ago to github. Update HOMEPAGE.

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-07-15 12:35:42 -07:00
Yi Zhao
9e58f66e35 xfsprogs: upgrade 4.18.0 -> 5.0.0
Rebase 0001-build-Check-for-sync_file_range-libc-function.patch.
Remove disable-xfs_scrub-build.patch as the xfs_scrub build is
config-optional now. Add option '--enable-scrub=no' to EXTRA_OECONF to
disable build the experimental xfs_scrub utility.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-06-15 16:46:50 -07:00
Ovidiu Panait
9fca96ad91 xfsprogs: Fix host contamination
Currently, the following symbolic links point to the host:
$ cd xfsprogs/4.18.0-r0/image
$ find . -type l -iname "lib*" -ls
./usr/lib/libhandle.so -> /lib/libhandle.so
./lib/libhandle.a -> /usr/lib/libhandle.a

This causes a build failure if the files already exist on the host:
ERROR: xfsprogs-4.18.0-r0 do_package_write_rpm: Function failed: BUILDSPEC
...
| NOTE: Creating RPM package for xfsprogs-fsck
| NOTE: Creating RPM package for xfsprogs-mkfs
| NOTE: Creating RPM package for xfsprogs-repair
| NOTE: Creating RPM package for libhandle1
| NOTE: Creating RPM package for xfsprogs-dbg
| NOTE: Creating RPM package for xfsprogs-staticdev
| NOTE: Creating RPM package for libhandle1
| NOTE: Creating RPM package for xfsprogs-doc
| NOTE: Not creating empty RPM package for xfsprogs-locale
| NOTE: Creating RPM package for xfsprogs
| NOTE: Creating RPM package for xfsprogs
| error: line 175: %package -n libhandle1: package libhandle1 already exists
...

Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-06-15 16:45:33 -07:00
Martin Jansa
29aa34cf01 aufs-util: prevent native aufs-util depending on target kernel
* fixes:
  ERROR: aufs-util-native different signature for task do_populate_sysroot.sigdata between qemux86 and qemux86copy
  Hash for dependent task linux/linux-yocto_5.0.bb.do_populate_sysroot changed from de9e49b4f66adddf9a0943db020b4eb677404e0b6ddac60073184a3855d406cb to a912d6ea21336c85c8d8a5e9db4800fccb95197744465b641eda60339bee8901

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-05-12 10:22:51 -07:00
Nathan Rossi
a5806d71cb fatresize_1.0.2.bb: Add recipe for fatresize command line tool
The fatresize command line tool provides command line access to the
libparted-fs-resize library implementation of the FAT partition
resizing.

This tool is useful for safely resizing FAT partitions which are
commonly found as the boot partition on a variety of SoC targets (e.g.
RaspberryPi).

The Debian version of the source is used as the original upstream on
SourceForge is no longer actively maintained.

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-04-11 11:02:28 -07:00
Khem Raj
e54284c063 xfsprogs: Fix build with riscv/musl
The riscv tuples do not exist in older gnu-config

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-03-06 11:32:27 -08:00
Yi Zhao
f96b327a46 xfsprogs: upgrade 4.17 -> 4.18
License-Update: Removed doc/COPYING and up-to-date license files in
LICENSE/. This does not change the license of any of the code.

Rebase patches:
  0001-build-Check-for-sync_file_range-libc-function.patch
  0002-include-include-xfs-linux.h-after-sys-mman.h.patch

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-06 19:33:26 -07:00
Khem Raj
e5d94825ea xfsprogs: Fix build on mips
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-24 08:58:13 -07:00
Khem Raj
547288ad6a f2fs-tools: Upgrade to 1.11.0
Fix build with when S != B

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-15 08:20:06 -07:00
Yi Zhao
677ac6935f xfsprogs: upgrade 4.14.0 -> 4.17.0
Add a patch to disable xfs_scrub build since it is experimental.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-07-26 20:10:07 -07:00
Yi Zhao
4d5cc6461e aufs-util: upgrade to latest release 20180709
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-07-26 20:10:07 -07:00
Yi Zhao
7040a75280 aufs-util: upgrade 4.4 -> 4.9
Drop 0001-libau-Define-STRIP-weakly.patch since it had been merged
upstream.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-07-05 10:19:03 -07:00
Yi Zhao
fb420dde3e xfsdump: upgrade 3.1.7 -> 3.1.8
Drop musl related patches since they had been merged upstream.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-07-05 10:19:03 -07:00
Yi Zhao
0731eefc6f aufs-util: add UPSTREAM_CHECK_COMMITS
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-05-30 12:40:37 -07:00
Yi Zhao
eb65f2a8f7 aufs-util: refresh patches
Refresh patches to fix do_patch warning.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
2018-05-01 18:12:48 -07:00
Khem Raj
f00b748128 xfsdump: Use new config.guess and config.sub
This brings in new architecture support for risc-v

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-03-29 16:48:04 -07:00
Khem Raj
9e35f8d788 xfsprogs: Upgrade to 4.14
Fix build with glibc 2.27 while here

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-02-11 11:52:32 -08:00
Khem Raj
80f47fd892 xfsdump: Upgrade to 3.1.7
Fix build on musl
Point to new SRC_URI

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-09-13 11:13:25 +02:00
Khem Raj
ba478fc6b2 xfsprogs: Upgrade to 4.12.0
Fix cross builds with hardening flags
Fix build with gold
Specify libtool tag
Add DISABLE_STATIC = ""

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-09-13 11:13:22 +02:00
Khem Raj
3bacc2323f aufs-util: Use cross strip tool
Honor the STRIP variable when passed from environment
Fixes build with musl/raspberrypi

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-09-13 11:13:20 +02:00
Martin Jansa
ec9e5ed062 recipes: remove blacklisted recipes
* as PNBLACKLIST message says, these recipes are blacklisted for long
  time and nobody showed any interest to fix them
* remove all unused .patch and .inc files as well

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-08-31 10:18:33 +02:00
Khem Raj
5691b7a98c udevil: Add missing rdep on bash
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-08-28 11:06:05 +02:00
Khem Raj
1039afb073 aufs-util: Upgrade to 4.4 release
- Download aufs_type.h instead of housing a local copy
- Build uses paste utility from coreutils-native
- Replace hardcoded strip command with STRIP env varible
  helps in cross compiling

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-07-24 18:57:36 +02:00
Khem Raj
222db35a89 xfsdump: Fix build with musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-07-24 18:57:36 +02:00
Krzysztof Kozlowski
00eacac42f recipes-utils: Add recipe for udevil
udevil is a command line Linux program which mounts and unmounts
removable devices without a password.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-07-24 18:57:33 +02:00
Khem Raj
f3ac89d24e aufs-util: Upgrade to 3.18
Fix out of tree build, helps building with devtool

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-07-01 09:59:27 +02:00
susanbian
d53546b7cb xfsprogs:4.10.0 -> 4.11.0
Upgrade xfsprogs from 4.10.0 to 4.11.0

Signed-off-by: susanbian <bianyq@cn.fujitsu.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-07-01 09:59:26 +02:00
Hongxu Jia
750695c354 xfsprogs: remove redundant install rule in do_install
Since the recipe inherits autotools-brokensep, it has
`make install' in do_install by default. The extra one
is not required which may conflict with install-dev.

Occasionally build failure:
...
Installing include-install
Installing libxfs-install-dev
make[1]: *** No rule to make target '../inclu', needed by 'xfs_dir2.lo'.
Stop.
make[1]: *** Waiting for unfinished jobs....
make: *** [Makefile:132: libxfs-install-dev] Error 2
...

It is hard to reproduce by manual build, so export BUILD_VERBOSE to
gain more debug info duiring the build.

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-07-01 09:59:25 +02:00
Khem Raj
11d98126c9 xfsprogs: Remove .la files in ${libdir}
Delete .la files and remove ${libdir} if empty
Fix build with musl

Use --ignore-fail-on-non-empty with rmdir

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-06-22 16:04:14 +02:00
Qi.Chen@windriver.com
573fd1849f xfsdump: fix do_configure failure and remove from blacklist
Add '-D_FILE_OFFSET_BITS=64' to CFLAGS to fix the following do_configure
error.

  FATAL ERROR: cannot find a valid <xfs/xfs.h> header file.

Although -D_FILE_OFFSET_BITS=64 has already been defined in
include/builddefs.in, it only affects the compile process, leaving configure
process unaware of this value.

Remove from blacklist as the configure failure has been fixed by this patch.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-05-23 15:49:34 +02:00
Robert Yang
440aa5bdc3 xfsdump: 3.1.4 -> 3.1.6
The 3.1.4 doesn't work with xfsprogs 4.7:
| inv_files.o: In function `inv_dirpath':
|xfsdump-3.1.4/invutil/inv_files.c:53: undefined reference to `ASSERT'
| inv_files.o: In function `inv_fstab':
|xfsdump-3.1.4/invutil/inv_files.c:60: undefined reference to `ASSERT'
| inv_files.o: In function `inv_lockfile':
|xfsdump-3.1.4/invutil/inv_files.c:67: undefined reference to `ASSERT'
| inv_files.o: In function `inv_basepath':
|xfsdump-3.1.4/invutil/inv_files.c:74: undefined reference to `ASSERT'
| collect2: error: ld returned 1 exit status
| make[2]: *** [../include/buildrules:33: xfsinvutil] Error 1

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-05-23 15:49:33 +02:00
Yong, Jonathan
eb97a736f3 f2fs-tools: Update to Version 1.8.0
Signed-off-by: Yong, Jonathan <jonathan.yong@intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-04-18 14:21:37 +02:00
Martin Jansa
cdb428e7c4 recipes: add removal date to PNBLACKLIST messages
* based on discussion in pndeprecated thread:
  https://patchwork.openembedded.org/patch/137573/
  update the messages to warn possible users that the
  recipe will be removed before the end of the next development
  cycle (before Yocto 2.4 is released).

* updated with:
  sed -i 's/^\(PNBLACKLIST.*".*\)"/\1 - the recipe will be removed on 2017-09-01 unless the issue is fixed"/g' `git grep PNBLACKLIST | sed 's/:.*//g' | sort -u | xargs`
* then noticed couple recipes being blacklisted only based on
  DISTRO_FEATURES, so removed those:
  meta-networking/recipes-support/lksctp-tools/lksctp-tools_1.0.17.bb
  meta-oe/recipes-connectivity/bluez/bluez-hcidump_2.5.bb
  meta-oe/recipes-connectivity/bluez/bluez4_4.101.bb
  meta-oe/recipes-connectivity/bluez/gst-plugin-bluetooth_4.101.bb
  meta-oe/recipes-navigation/foxtrotgps/foxtrotgps_1.1.1.bb
  meta-oe/recipes-navigation/gypsy/gypsy.inc
  meta-oe/recipes-navigation/navit/navit.inc
  meta-oe/recipes-support/opensync/libsyncml_0.5.4.bb

* if it isn't fixed by this date, it's fair game to be removed
  whenever someone gets around to i

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-04-05 19:36:45 +02:00
Khem Raj
d021ff09b4 aufs-util: Define HOSTCC
Fixes errors like below

| make: cc: Command not found
| make: *** [<builtin>: c2sh] Error 127

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-04-05 19:28:27 +02:00
Bruce Ashfield
defe6cafb8 aufs-utils-native: define CC
With the new host tools path filtering, aufs-utils-native fails to build
as follows:

| ERROR: oe_runmake failed
| cc
| -isystem/build/tmp/work/x86_64-linux/aufs-util-native/3.14+gitAUTOINC+b59a2167a1-r0/recipe-sysroot-native/usr/include
| -O2 -pipe -O -Wall
| -I/build/tmp/work/x86_64-linux/aufs-util-native/3.14+gitAUTOINC
+b59a2167a1-r0/git/include
| -I/build/tmp/work/x86_64-linux/aufs-util-native/3.14+gitAUTOINC+b59a2167a1-r0/git/libau
| -D_GNU_SOURCE -I./libau -DAUFHSM_CMD=\"/usr/bin/aufhsm\"
| -DMOUNT_CMD=\"/bin/mount\" -DUMOUNT_CMD=\"/bin/um
ount\"
| -L/build/tmp/work/x86_64-linux/aufs-util-native/3.14+gitAUTOINC+b59a2167a1-r0/recipe-sysroot-native/usr/lib
| -L/build/tmp/work/x86_64-linux/aufs-util-native/3.14+gitAUTOINC+b59a2167a1-r0/recipe-sysro
ot-native/lib
| -Wl,-rpath-link,/build/tmp/work/x86_64-linux/aufs-util-native/3.14+gitAUTOINC+b59a2167a1-r0/recipe-sysroot-native/usr/lib
| -Wl,-rpath-link,/build/tmp/work/x86_64-linux/aufs-util-native/3.14+gi
tAUTOINC+b59a2167a1-r0/recipe-sysroot-native/lib
| -Wl,-rpath,/build/tmp/work/x86_64-linux/aufs-util-native/3.14+gitAUTOINC+b59a2167a1-r0/recipe-sysroot-native/usr/lib
| -Wl,-rpath,/build/tmp/work/x86_64-linux
/aufs-util-native/3.14+gitAUTOINC+b59a2167a1-r0/recipe-sysroot-native/lib
| -Wl,-O1  c2sh.c   -o c2sh
| make: cc: Command not found
| <builtin>: recipe for target 'c2sh' failed

While we could get 'cc' added to the tools whitelist, it is just as easy
to redefine CC to be gcc, which is already passed through.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-31 13:26:00 +02:00