...
 
Commits (3)
targetcli-fb (2.1.48-2) unstable; urgency=medium
* Fix backing store creation. Patch cherry-picked from upstream.
Thanks to Valentin Vidic (Closes: #908621)
-- Ritesh Raj Sarraf <rrs@debian.org> Mon, 17 Sep 2018 21:22:32 +0545
targetcli-fb (2.1.48-1) unstable; urgency=medium
* d/compat: upgrade debhelper compatibility level to 11
......
......@@ -2,7 +2,7 @@
pristine-tar = True
color = auto
upstream-branch = upstream/master
debian-branch = debian/master
debian-branch = debian/buster
[import-orig]
dch = True
......
0003-Use-etc-rtslib-fb-target-instead-of-etc-target.patch
use-signed-char.patch
Debian Bug: #908621
Upstream commit: https://github.com/open-iscsi/targetcli-fb/commit/ed5ff9b9505e50b545e86dfbdd32077f0ddda0cb?diff=unified
--- a/targetcli/ui_backstore.py
+++ b/targetcli/ui_backstore.py
@@ -536,7 +536,7 @@
except (OSError, IOError):
raise ExecutionError("Could not open %s" % dev)
# ioctl returns an int. Provision a buffer for it
- buf = array.array('c', [chr(0)] * 4)
+ buf = array.array('b', [0] * 4)
try:
fcntl.ioctl(f, BLKROGET, buf)
except (OSError, IOError):