| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
The veritysetup code has moved to the cryptsetup package.
http://code.google.com/p/cryptsetup/
|
|
|
|
|
|
|
|
|
| |
Add make help target.
Add LVM_TEST_PARALLEL to support parallel runs of tests
Work around the problem the dmsetup table/info may return error
by using dmtable and dminfo function that will use 'should'.
(Error happens when some concurently running process removes table
entry while dmsetup command resolves table entries inside the loop.)
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
/etc/tmpfiles.d directory holds configuration files for temporary/volatile
files and directories that should be automatically managed. For example,
if we have some parts of the fs hierarchy on tmpfs, we'd like to recreate
some files or directories on every boot so they're always prepared for use.
Systemd can read such configuration files. For now, the lock and run directory
are the ones that are most probably placed on tmpfs. If this is the case, we
can install the configuration by 'make install_tmpfiles_configuration'.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
Use gcc warning options only for .c -> .o compilation
So it makes the output more clear.
Do not use INCLUDES and DEFS for .o -> .so.
Do not use CFLAGS for deps .d generation.
|
|
|
|
|
| |
Use same sized chmod params (0 are filled from left on its own)
and we use just 3 digits elsewhere.
|
|
|
|
|
| |
Things like gcov needs the compilation flags for linker as well.
TODO: cleanup compilation flags usage
|
| |
|
|
|
|
|
|
|
|
| |
udev may also need to be disabled if you didn't build it statically too.
dmeventd.static could be fixed with some more work but I don't really see the
point: without dlopen() it's useless, and if you have dlopen(), why not support
normal shared libraries too?
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Adding debuging functionality to lock and unlock memory pool.
2 ways to debug code:
crc - is default checksum/hash of the locked pool.
It gets slower when the pool is larger - so the check is only
made when VG is finaly released and it has been used more then
once.Thus the result is rather informative.
mprotect - quite fast all the time - but requires more memory and
currently it is using posix_memalign() - this could be
later modified to use dm_malloc() and align internally.
Tool segfaults when locked memory is modified and core
could be examined for faulty code section (backtrace).
Only fast memory pools could use mprotect for now -
so such debug builds cannot be combined with DEBUG_POOL.
|
| |
|
|
|
|
| |
...so we can use it throughout.
|
|
|
|
| |
Fix remaining warnings and compile with -Wpointer-arith.
|
|
|
|
|
| |
Add --with-ocfdir configurable option.
Fix superfluous /usr in ocf_scriptdir instalation path.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Updated patch from Florian Haas from Linux-HA project.
User needs to 'configure --enable-ocf' to get file installed
by 'make install' target by default.
User can also use 'make install_ocf' to get only ocf files installed.
With disabled (default) ocf support - no ocf files are installed.
FIXME: ocf installation path needs to be kept in sync with pacemaker.
find better way and possible also better location.
|
|
|
|
|
|
|
| |
Avoid files to be written into the live system if lvm was
configured with different --prefix.
Use initdir for install target path.
|
| |
|
|
|
|
| |
Use -DDEBUG_CRC32 to revert to old function and check new one gives same result.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
--enable-testing.
|
| |
|
|
|
|
|
| |
Detection is simply by prefix - dm_ or lvm_ - and any additional symbols needed
but not detected this way are placed in .exported_symbols.
|
| |
|
| |
|
| |
|
|
|
|
| |
Add configure options for system and locking directories.
|
|
|
|
| |
Remove unnecessary versioned dmeventd plugin symlinks.
|
| |
|
|
|
|
| |
Use easily overideable make install pkgconfigdir variable.
|
| |
|
|
|
|
| |
and remove generic %.so: %.a target.
|
|
|
|
|
|
|
|
|
|
|
| |
Target install_dm_plugin installs files to libdir/device-mapper.
Target install_lvm2_plugin installs files to libdir/lvm2.
Both targets creates relative links to libdir to keep the code
compatible with current dlopen handling.
Once we will be able to read plugins from subdir, links
could be removed.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Patch is inspired by Debian's extra patch.
- removes OWNER & GROUP make vars they are parts of INSTALL command.
- adds INSTALL_PROGRAM for executable, uses $(INSTALL)
- adds INSTALL_DATA for non-executable data, uses ($INSTALL)
- adds INSTALL_WDATA for writable non-executable data, uses ($INSTALL)
- adds configure option --enable-write_install - to support
installatin of writable files used by distribution
- replaces usage of ifeq @LIB_SUFFIX@ with $(LIB_SUFFIX)
- installs .a files from static builds without executable flag
- installs .a files to $(usrlibdir) instead of $(libdir)
- installs all static binaries to $(staticdir)
- create .so links for devel package in $(usrlibdir) instead of
$(libdir)
- makes .so and .so.LIB_VERSION files within builddir
- removes VERSIONED_SHLIB and created versioned LIB_SHARED automagicaly
- install LIB_SHARED via install_lib_shared target
- install plugins via install_lib_shared_plugin target
- prints whole 'install' command during installation instead of less
informative "Installing $(something) $(somewhere)"
- install multiple man pages with one INSTALL command
- use DISTCLEAN_TARGETS instead of creating multiple distclean targets
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Usage of VPATH makes troubles when used within $(builddir).
Not only source files are being found through VPATH,
but targets as well. (make --debug=v)
Thus if user builds the code in $(srcdir) and also in some $(builddir)
he gets mangled results as some generated files (i.e. .export.sym)
are 'reused' from $(srcdir) instead of $(builddir).
This patch switches to use vpath were we could explicitly name
suffixes that should be looked via vpath - we must take care,
we do not generate files with these suffixes:
.c, .in, .po, .exported_symbols
|
|
|
|
|
|
| |
Using non-recursive cleandir target for resursive distclean and clean.
Avoids duplicated clean invocation during distclean.
Indent $(RM) parameters.
|
|
|
|
|
|
| |
Do not execute 'rm -r' with empty $(DISTCLEAN_DIRS).
lvm-version.h is already cleaned with subtarget distcleaning.
Always distcleanup lcov_reports*.
|