# * Too few public methods (R0903)
# pylint: disable=R0903
-VERSION = "2.4"
+VERSION = "2.5"
import argparse
import sys
+bmap-tools (2.5) unstable; urgency=low
+
+ * Do not fail when lacking permisssions for accessing block device's sysfs
+ files.
+ * Improve debian packaging.
+
+ -- Artem Bityutskiy <artem.bityutskiy@linux.intel.com> Mon, 05 Aug 2013 10:05:09 +0300
+
bmap-tools (2.4) unstable; urgency=low
* Add support for ssh:// URLs.
+Bug-fix release 2.5
+~~~~~~~~~~~~~~~~~~~
+
+1. bmaptool (or more precisely, the BmapCopy class) has an optimization where
+ we switch to the "noop" I/O scheduler when writing directly to block
+ devices. We also lessen the allowed amount of dirty data for this block
+ device in order to create less memory pressure on the system. These tweaks
+ are done by touching the corresponding sysfs files of the block device. The
+ old bmaptool behavior was that it failed when it could not modify these
+ files. However, there are systems where users can write to some block
+ devices (USB sticks, for example), but they do not have permissions to
+ change the sysfs files, and bmaptool did not work for normal users on such
+ systems. In version 2.5 we change the behavior and do not fail anymore if we
+ do not have enough permissions for changing sysfs files, simply because this
+ is an optimization, although a quite important one. However, we do print a
+ warning message.
+
+2. Many improvements and fixes in the Debian packaging, which should make it
+ simpler for distributions to package bmap-tools.
+
Bug-fix release 2.4
~~~~~~~~~~~~~~~~~~~
+Mon Aug 5 07:05:59 UTC 2013 - Artem Bityutskiy <artem.bityutskiy@linux.intel.com> 2.5-1
+- Do not fail when lacking permisssions for accessing block device's sysfs
+ files.
+- Improve debian packaging.
+
Wed Jun 5 15:16:42 UTC 2013 - Artem Bityutskiy <artem.bityutskiy@linux.intel.com> 2.4-1
- Add ssh:// URLs support.
Source: bmap-tools
Binary: bmap-tools
Architecture: all
-Version: 2.4-1
+Version: 2.5-1
Maintainer: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Standards-Version: 3.8.4
Build-Depends: debhelper (>= 7), python-all, python-distribute
Name: bmap-tools
Summary: Tools to generate block map (AKA bmap) and flash images using bmap
-Version: 2.4
+Version: 2.5
%if 0%{?opensuse_bs}
Release: %{rc_str}.<CI_CNT>.<B_CNT>
description="Bmap tools",
author="Artem Bityutskiy",
author_email="artem.bityutskiy@linux.intel.com",
- version="2.4",
+ version="2.5",
scripts=['bmaptool'],
packages=find_packages(exclude=["test*"]),
license='GPLv2',