Bug#31688: boot-floppies: check_loop always successful
Package: boot-floppies
Version: 2.1.4
"make check" will print "check successful" even if the loop device is
not available. Also, minix filesystem support should be tested. I
suggest the following changes:
--- Makefile.orig Sun Jan 10 16:41:17 1999
+++ Makefile Sun Jan 10 16:44:58 1999
@@ -86,13 +86,18 @@
#---------------------------------------------------------------------------
# Consistency checks
#---------------------------------------------------------------------------
-check: check_mirror check_loop
+check: check_mirror check_minix check_loop
echo "check successful"
+# Use this to check if your kernel has support for the minix filesystem
+check_minix:
+ grep minix /proc/filesystems 2>&1 >/dev/null || \
+ (echo minix filesystem support needed; exit 1)
+
# Use this to check if your kernel has support for the loop device
check_loop:
grep loop /proc/devices 2>&1 >/dev/null || \
- echo loop device support needed
+ (echo loop device support needed; exit 1)
# Use this to check if your local mirror has all the required packages
check_mirror: check_mirror.sh
-- System Information
Debian Release: 2.0
Kernel Version: Linux vanzandt 2.1.132 #5 Tue Dec 29 15:31:03 EST 1998 i686 unknown
Versions of the packages boot-floppies depends on:
ii libc6-pic 2.0.7u-7.1 The GNU C library version 2 (PIC library)
ii slang0.99.38-pi 0.99.38-5 The S-Lang programming library, shared libra
ii sysutils 1.3.2 Miscellaneous small system utilities.
ii makedev 1.6-32 Creates special device files in /dev.
ii newt0.21 0.21-8 Not Erik's Windowing Toolkit - text mode win
ii newt0.21-dev 0.21-8 Developer's toolkit for newt windowing libra
ii popt 1.0-4 C library for parsing command line parameter
Reply to: