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>
stoken is a tokencode generator compatible with RSA SecurID
128-bit (AES). stoken supports libtomcrypt and libnettle, we build
against nettle by default since tomcrypt is not packaged by OpenWrt
Signed-off-by: Florian Fainelli <florian@openwrt.org>
Unpatched compile fails because <sys/types.h> is not included
in <usb.h> (provided by "libusb-compat") and consequently
the 'u_int*_t' types are not found.
This should probably better be fixed in the core "libusb-compat"
package instead.
Signed-off-by: Richard Kunze <richard.kunze@web.de>
- add & reorder new compile time options with help text
- all options are disabled by default, to reduce space req.
- remove invalid mc configure options
- fix broken makefile logic to enable/disable mc options
Signed-off-by: Dirk Brenken <dibdot@gmail.com>
Number of suggested rewrites:
* use lua ubus bindings instead of os.execute
* combine multiple actions to use same handler 'lxc_action' and pass
actions as arguments to consolidate code
* read openwrt version from lua directly
* start using String.prototype.format for string formatting
Also, drop 'rename' and 'clone' until they are fully functional on all
platforms.
Thanks Jo-Philipp for suggestions on how to improve the code.
Signed-off-by: Petar Koretic <petar.koretic@sartura.hr>