From db2b0a365f9c0369ebfe5684b1b80cfd3865c9c1 Mon Sep 17 00:00:00 2001 From: Russ Allbery Date: Tue, 10 Aug 2010 21:53:07 -0700 Subject: [PATCH] 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) --- debian/changelog | 2 ++ debian/openafs-modules-dkms.dkms | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) 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" -- 2.39.5