[Lsb-messages] /var/www/bzr/lsb/devel/distribution-checker r88: Fix loopback detection on recent distros (bug 3815).

Jeff Licquia licquia at linuxfoundation.org
Wed Mar 11 00:29:29 UTC 2015


------------------------------------------------------------
revno: 88
committer: Jeff Licquia <licquia at linuxfoundation.org>
branch nick: distribution-checker
timestamp: Tue 2015-03-10 20:29:29 -0400
message:
  Fix loopback detection on recent distros (bug 3815).
modified:
  package/Makefile
  utils/Tests/Core_test.pm
-------------- next part --------------
=== modified file 'package/Makefile'
--- a/package/Makefile	2014-09-26 14:55:14 +0000
+++ b/package/Makefile	2015-03-11 00:29:29 +0000
@@ -1,7 +1,7 @@
 BRANCH?=lsb
 PACKAGE=$(BRANCH)-dist-checker
 # export PACKAGE=moblin-dist-checker to make Moblin Distribution Checker package.
-VERSION_LSB=5.0.0.0
+VERSION_LSB=5.0.0.1
 VERSION_MOBLIN=2.0.1.9
 ifeq "$(BRANCH)" "moblin"
 	VERSION=$(VERSION_MOBLIN)

=== modified file 'utils/Tests/Core_test.pm'
--- a/utils/Tests/Core_test.pm	2013-05-16 02:09:43 +0000
+++ b/utils/Tests/Core_test.pm	2015-03-11 00:29:29 +0000
@@ -102,6 +102,9 @@
 		if ( does_shell_know("modprobe") ) {
 			cmd("modprobe loop");
 		}
+		if ( does_shell_know("losetup") ) {
+			cmd("losetup -f");
+		}
 		# Check the result
 		if ( ! -e "/dev/loop0" ) {
 			return error "There is no /dev/loop0 device."



More information about the lsb-messages mailing list