This patch fixes the missing dependencies for "evmsn" and the other binaries. Additionally, it does away with the use of {foo,bar} patterns, which are a bashism and which violate Debian policy 3.6.2.1 section 10.4 as the script declares "/bin/sh" as its interpreter.
diff -ruN evms-2.5.3/debian/hooks_evms_bootdebug evms-2.5.3-7.1/debian/hooks_evms_bootdebug --- evms-2.5.3/debian/hooks_evms_bootdebug 2005-12-17 15:58:12.000000000 +0100 +++ evms-2.5.3-7.1/debian/hooks_evms_bootdebug 2005-12-17 16:13:03.000000000 +0100 @@ -1,4 +1,4 @@ -#!/bin/sh +#! /bin/sh PREREQ="evms" @@ -21,8 +21,8 @@ fi # The main binaries -cp /sbin/evms ${DESTDIR}/sbin/ -cp /sbin/evmsn ${DESTDIR}/sbin/ +copy_exec /sbin/evms sbin/ +copy_exec /sbin/evmsn sbin/ # It's useful to have somewhere the engine can log to mkdir -p ${DESTDIR}/var/log/ @@ -39,15 +39,16 @@ cp /lib/evms/${EVMS_VERSION}/* ${DESTDIR}/lib/evms/${EVMS_VERSION} # We'll also need some support tools for the different filesystems. -cp /sbin/{mkswap,badblocks} ${DESTDIR}/sbin/ -cp /sbin/{mke2fs,resize2fs,e2fsck,tune2fs} ${DESTDIR}/sbin/ +TOOLS="mkswap badblocks mke2fs resize2fs e2fsck tune2fs" if [ -x /sbin/reiserfsck ]; then - cp /sbin/{reiserfsck,resize_reiserfs,mkreiserfs} ${DESTDIR}/sbin/ + TOOLS="$TOOLS reiserfsck resize_reiserfs mkreiserfs" fi if [ -x /sbin/jfs_fsck ]; then - cp /sbin/{jfs_fsck,jfs_mkfs} ${DESTDIR}/sbin/ + TOOLS="$TOOLS jfs_fsck jfs_mkfs" fi if [ -x /sbin/fsck.xfs ]; then - cp /sbin/{fsck,mkfs}.xfs ${DESTDIR}/sbin/ + TOOLS="$TOOLS fsck.xfs mkfs.xfs" fi - +for tool in $TOOLS; do + copy_exec /sbin/$tool sbin/ +done -- A Microsoft Certified System Engineer is to information technology as a McDonalds Certified Food Specialist is to the culinary arts. Michael Bacarella commenting on the limited value of certification. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]