Merge branch 'master' of ssh://gits.daterainc.com:2984/project/2013.MAIN/bcache-tools

This commit is contained in:
jenkins 2014-12-13 05:04:36 -08:00
commit 4c7c1f088e
4 changed files with 9 additions and 2 deletions

View File

@ -52,3 +52,6 @@ man8_MANS= bcache-super-show.8 \
make-bcache.8 \
probe-bcache.8 \
bcacheadm.8
include ../../../../../../../../../../usr/share/DateraContainer/Makefile.rpm
# some version of automake don't like absolute path names for included makefiles

View File

@ -8,9 +8,10 @@ Group: tools
BuildRoot: %{_tmppath}/%{name}-root
Requires: libblkid
BuildRequires: pkgconfig libblkid-devel linux-headers libnih-devel
Summary: tools to manage bcache
%package dev
%description
bcache tools
%files

View File

@ -269,6 +269,9 @@ int make_bcache(NihCommand *command, char *const *args)
uuid_generate(cache_set_sb->set_uuid.b);
}
if (label)
memcpy(cache_set_sb->label, label, sizeof(cache_set_sb->label));
if (csum_type) {
SET_CACHE_PREFERRED_CSUM_TYPE(cache_set_sb,
read_string_list_or_die(csum_type, csum_types,

View File

@ -2,7 +2,7 @@
# Process this file with autoconf to produce a configure script.
AC_PREREQ(2.61)
AC_INIT(bcache-tools, VERSION, BUG-REPORT-ADDRESS)
AC_INIT(bcache-tools, 0.1, support@datera.io)
AM_INIT_AUTOMAKE
LT_INIT
AC_CONFIG_HEADER([config.h])