From: Russ Allbery Date: Wed, 11 Aug 2010 04:53:07 +0000 (-0700) Subject: Run DKMS commands in a subshell for proper logging X-Git-Tag: debian/1.5.77-1~23 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=ce32809282c8b0c6207acb32e37beb53f12550df;p=packages%2Fo%2Fopenafs.git Run DKMS commands in a subshell for proper logging * Run the DKMS build commands in a subshell to work around a DKMS bug that caused the module build logs to be discarded. (LP: #593509) --- diff --git a/debian/changelog b/debian/changelog index 451a0286d..4db69aacf 100644 --- a/debian/changelog +++ b/debian/changelog @@ -3,6 +3,8 @@ openafs (1.5.75-3) UNRELEASED; urgency=low * The openafs-fileserver init script now depends on $named since apparently the volserver requires DNS during startup. Thanks, Jaap Winius. (Closes: #589783) + * Run the DKMS build commands in a subshell to work around a DKMS bug + that caused the module build logs to be discarded. (LP: #593509) * Add a status command to thet openafs-fileserver init script. -- Russ Allbery Fri, 27 Aug 2010 19:15:56 -0700 diff --git a/debian/openafs-modules-dkms.dkms b/debian/openafs-modules-dkms.dkms index 607151627..1de7ffa0c 100644 --- a/debian/openafs-modules-dkms.dkms +++ b/debian/openafs-modules-dkms.dkms @@ -8,9 +8,8 @@ BUILT_MODULE_NAME[0]="$PACKAGE_NAME" DEST_MODULE_LOCATION[0]="/updates/dkms/" AUTOINSTALL=yes -MAKE[0]="./configure --enable-disconnected \ - --with-linux-kernel-headers=${kernel_source_dir} \ - --with-linux-kernel-packaging - && make - && mv src/libafs/MODLOAD-*/openafs.ko ." -CLEAN="rm -f openafs.ko && make -C src/libafs clean" +MAKE[0]="(./configure --enable-disconnected --with-linux-kernel-packaging \ + --with-linux-kernel-headers=${kernel_source_dir} + && make + && mv src/libafs/MODLOAD-*/openafs.ko .)" +CLEAN="rm -f openafs.ko && make clean"