fix Makefile chmod (644)
replace MD5SUM with HASH
add PKG_MIRROR_HASH when PKG_SOURCE_PROTO:=git
(PKG_SOURCE_PROTO:=svn tarballs are not reproducible for now)
Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
TARGET_CPPFLAGS were not propagated correctly leading to these kinds of
build failure:
btrfstune.c:26:23: fatal error: uuid/uuid.h: No such file or directory
#include <uuid/uuid.h>
^
compilation terminated.
btrfs-find-root.c:24:18: fatal error: zlib.h: No such file or directory
#include <zlib.h>
^
compilation terminated.
mkfs/common.c:18:23: fatal error: uuid/uuid.h: No such file or directory
#include <uuid/uuid.h>
Fix that by passing TARGET_CPPFLAGS via EXTRA_CFLAGS
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
the init script calls the old btrfsctl util, which is not included in
btrfs-progs anymore. Update the init script to call "btrfs device scan"
which assembles multi device btrfs filesystems.
Signed-off-by: Stefan Hellermann <stefan@the2masters.de>
I got following error while compiling btrfs-progs for ar71xx:
make[4]: Entering directory `/home/stefan/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/btrfs-progs-v3.17.3'
[LN] libbtrfs.so.0
[LN] libbtrfs.so
[CC] btrfs-convert.o
[LD] libbtrfs.so.0.1
/home/stefan/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/lib/libblkid.so: warning: This version of __fpending returns bytes remaining in buffer for both narrow and wide streams. glibc's version returns wide chars in buffer for the wide stream case.
[LD] mkfs.btrfs
[LD] btrfs
[LD] btrfs-debug-tree
[LD] btrfs-image
[LD] btrfs-map-logical
[LD] btrfs-zero-log
[LD] btrfs-find-root
btrfs-convert.c:30:21: fatal error: sys/acl.h: No such file or directory
#include <sys/acl.h>
^
compilation terminated.
make[4]: *** [btrfs-convert.o] Error 1
fix it by adding libacl as compile time dependency, as btrfs-convert is not
linked to libacl.
Signed-off-by: Stefan Hellermann <stefan@the2masters.de>