...
 
Commits (7)
ganeti-os-noop (0.2-2) unstable; urgency=medium
* debian/patches:
+ Add 1001_fix-export-script-for-non-block-devices.patch. Fix size
detection for non-block devices. Thanks to Bastian Blank for
providing the patch. (Closes: #895602).
* debian/control:
+ Bump Standards-Version: to 4.1.4.
+ Priority extra -> optional.
* debian/copyright:
+ Use secure copyright URI for copyright format reference.
* debian/{control,compat}:
+ Bump to DH compat level 10. (CDBS does not yet support compat level 11,
unfortunately).
-- Mike Gabriel <sunweaver@debian.org> Tue, 24 Apr 2018 12:43:10 +0200
ganeti-os-noop (0.2-1) unstable; urgency=medium
* Initial release. (Closes: #794482).
......
Source: ganeti-os-noop
Section: admin
Priority: extra
Priority: optional
Maintainer: Debian Ganeti Team <pkg-ganeti-devel@lists.alioth.debian.org>
Uploaders:
Apollon Oikonomopoulos <apoikos@gmail.com>,
Mike Gabriel <sunweaver@debian.org>,
Build-Depends:
cdbs,
debhelper (>= 9)
Standards-Version: 3.9.7
debhelper (>= 10~)
Standards-Version: 4.1.4
Homepage: https://github.com/grnet/ganeti-os-noop
Vcs-Browser: https://anonscm.debian.org/git/pkg-ganeti/ganeti-os-noop.git
Vcs-Git: https://anonscm.debian.org/git/pkg-ganeti/ganeti-os-noop.git
Vcs-Browser: https://salsa.debian.org/ganeti-team/ganeti-os-noop
Vcs-Git: https://salsa.debian.org/ganeti-team/ganeti-os-noop
Package: ganeti-os-noop
Architecture: all
......
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: ganeti-os-noop
Upstream-Contact: George Kargiotakis <kargig@void.gr>
Source: https://github.com/grnet/ganeti-os-noop
......
Description: Fix size detection for non-block devices
Author: Bastian Blank <bastian.blank@credativ.de>
--- a/ganeti/os/noop/export
+++ b/ganeti/os/noop/export
@@ -28,7 +28,11 @@
# https://bugs.launchpad.net/ubuntu/+source/dash/+bug/249620
if test -n "$EXP_SIZE_FD"; then
- blockdev --getsize64 "$EXPORT_DEVICE" >&"$EXP_SIZE_FD"
+ if [ -f "$EXPORT_DEVICE" ]; then
+ stat -c '%s' "$EXPORT_DEVICE" >&"$EXP_SIZE_FD"
+ else
+ blockdev --getsize64 "$EXPORT_DEVICE" >&"$EXP_SIZE_FD"
+ fi
fi
dd if="$EXPORT_DEVICE" bs=1048576
0xxx: Grabbed from upstream development.
1xxx: Possibly relevant for upstream adoption.
2xxx: Only relevant for official Debian release.
1001_fix-export-script-for-non-block-devices.patch