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.4.12.1+dfsg-3~3 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=db2b0a365f9c0369ebfe5684b1b80cfd3865c9c1;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 90e5c6bde..4038918c7 100644 --- a/debian/changelog +++ b/debian/changelog @@ -7,6 +7,8 @@ openafs (1.4.12.1+dfsg-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, 30 Jul 2010 15:41:16 -0700 diff --git a/debian/openafs-modules-dkms.dkms b/debian/openafs-modules-dkms.dkms index 7e4d438cc..3d064c72c 100644 --- a/debian/openafs-modules-dkms.dkms +++ b/debian/openafs-modules-dkms.dkms @@ -8,7 +8,7 @@ BUILT_MODULE_NAME[0]="$PACKAGE_NAME" DEST_MODULE_LOCATION[0]="/updates/dkms/" AUTOINSTALL=yes -MAKE[0]="./configure --with-linux-kernel-headers=${kernel_source_dir} - && make - && mv src/libafs/MODLOAD-*/openafs.ko ." +MAKE[0]="(./configure --with-linux-kernel-headers=${kernel_source_dir} + && make + && mv src/libafs/MODLOAD-*/openafs.ko .)" CLEAN="rm -f openafs.ko && make -C src/libafs clean"