X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre-dkms_post-build.sh;h=a2f785de8ac1147e7e027fa49bfd9d3a2010d48c;hb=81611d7a7cd87daae9bbdbebb028b434ddde57af;hp=70c8302c9fc2fe4d9d68b7307cb073110857001c;hpb=4e7622074296872f63235bdc7790bcb2d1f9b7db;p=fs%2Flustre-release.git diff --git a/lustre-dkms_post-build.sh b/lustre-dkms_post-build.sh index 70c8302..a2f785d 100755 --- a/lustre-dkms_post-build.sh +++ b/lustre-dkms_post-build.sh @@ -1,4 +1,15 @@ #!/bin/bash +# SPDX-License-Identifier: GPL-2.0 + +# +# This file is part of Lustre, http://www.lustre.org/ +# +# lustre-dkms_post-build.sh +# +# Script run after dkms build +# + +# # $1 : $module # $2 : $module_version # $3 : $kernelver @@ -15,11 +26,15 @@ # beginning of the DKMS build step when its content has to be on-target # customized during pre_build script. This can lead to incomplete list # of built Lustre kernel modules then to be saved for next DKMS install step. +# +# # Use this place to also save config.log that has been generated during # pre_build. # $7/$1/$2/$3/$5/log repository should have already been created to save # make.log and $kernel_config +# + mkdir -p "$7/$1/$2/$3/$5/log" cp -f "$7/$1/$2/build/config.log" "$7/$1/$2/$3/$5/log/config.log" 2>/dev/null cp -f "$7/$1/$2/build/config.h" \