Age | Commit message (Collapse) | Author |
|
add pytest and rst2man lookups though command-v and which if available,
default to ENV/ARGS in the case of user specified locations and otherwise lookup via shell
Signed-off-by: Kayla Firestack <dev@kaylafire.me>
|
|
Signed-off-by: Kayla Firestack <dev@kaylafire.me>
|
|
Signed-off-by: Kayla Firestack <dev@kaylafire.me>
|
|
|
|
The changes to how we integrate with rust code mean that we now need to
be emitting position indepedent code.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
|
|
update makefile to output shared library and rust build
fix default.nix to properly get the binary name for `ln`ing - move binary to main.rs
add rustfmt and gitignore files
move build.rs file into bch_bindgen for reuse between projects
add outputs to nix flake and checks
add mount.toml to makefile
|
|
- Warning message doesn't print and causes build to exit.
- .SHELLSTATUS doesn't work on some versions of Make.
Signed-off-by: Brett Holman <bholman.devel@gmail.com>
|
|
- Replace depreciated tempfile with mktemp in smoketest.
- Remove unused pytest imports and variables.
- Make path lookup less fragile. Allows pytest to run from any cwd.
- Prevent exeptions caused by calling functions/methods on None objects.
- Disable fuse tests in smoketest. These are broken and add noise.
- Add missing travis CI dependency.
Signed-off-by: Brett Holman <bholman.devel@gmail.com>
|
|
always call bch2_trans_begin()
|
|
rst2man tend to hang when called without arguments, so a small -V is appended to print the version.
Also, make sure we found at least one rst2man executable
Signed-off-by: jpsollie <janpieter.sollie@edpnet.be>
|
|
The compiler checks where erroneously reverted in the Makefile - this reapplies them,
so GCC < 10 can still build the bcachefs tools
Signed-off-by: jpsollie <janpieter.sollie@edpnet.be>
|
|
On some distros, rst2man has a .py extension and there is no rst2man.
Fix build on such systems by detecting what is available.
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
|
|
This seems to have been dropped by mistake
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
|
|
utility to python
|
|
Following the initial xxhash / xor checksum support patches in kernel, bcachefs-tools needs some updated libraries as well.
Unfortunately, xor functionality is deeply linked into several low-level functions, so we're adding a set of patches here to translate those into userspace
Signed-off-by: Janpieter Sollie <janpieter.sollie@edpnet.be>
|
|
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
|
|
for options
|
|
|
|
- clean up Makefile to improve compiler compatibility
- add a "Make debug" target for easier debug builds
- update INSTALL
- fix six.c when running "make debug" against GCC 9 (maybe-uninitialized)
Signed-off by: Janpieter Sollie <janpieter.sollie@edpnet.be>
|
|
BCACHEFS_DEBUG is far more descriptive. D also conflicts with the D
variable used in Gentoo ebuilds.
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
|
|
|
|
|
|
forced shutdown
|
|
Copying the linux kernel build settings
|
|
Sadly, some people are still running distributions too old to properly
support rust :( In the long term we'd like to use Rust for more of
userspace (and potentially in the kernel); this is just a stopgap
measure.
|
|
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
|
|
|
|
counting bug
|
|
So as not to depend on rust yet
|
|
This tool currently has most of the fundmental features implemented.
It can mount a filesystem specified by uuid, it can ask password for an
encrypted filesystem.
There may be some work that needs to be done to make it behave more like
a "mount.*" tool.
Related: #1
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
|
|
Centos 7 has an old version that doesn't have the .pc file
|
|
|
|
This script builds and runs with various options to enable easy test
coverage.
Signed-off-by: Justin Husted <sigstop@gmail.com>
|
|
Add fuse3 (>=3.7) version to Makefile
|
|
|
|
The experimental fuse3 support is not complete yet, and fuse3 is new and
still difficult to install on some platforms.
Make it optional at compile time, and default to off.
Signed-off-by: Justin Husted <sigstop@gmail.com>
|
|
Also, update .gitignore for various things.
Signed-off-by: Justin Husted <sigstop@gmail.com>
|
|
So far, these tests just test basic format, fsck, and list functions
under valgrind, as well as a few self-validation tests.
Signed-off-by: Justin Husted <sigstop@gmail.com>
|
|
|
|
Some of the code we use from the Linux kernel won't build correctly
without this...
|
|
Respect pkg-config value from environment.
|
|
|
|
|
|
Also added a comment about the bcachefs utility to the initramfs hook
|
|
* Only run the pkg-config --cflags command once (instead of every .c file)
* Added EXTRA_LDFLAGS and EXTRA_LDLIBS vars
* Removed tabs in the middle of commands to make it easier to manually re-run
commands manually (e.g. if a compilation fails)
* Replaced `cd dir; git command` in favor of $(shell git -C dir command)
* Minor version format change: dirty trees just append "+" instead of "-dirty"
and if git describe fails, it now sets the version to "v0.1-nogit"
Also, don't ignore .gitignore files.
|
|
|
|
|
|
|
|
|
|
refactoring
|