Whamcloud - gitweb
LU-17095 build: avoid modules.order nonexistence failure
authorJian Yu <yujian@whamcloud.com>
Thu, 28 Sep 2023 17:40:45 +0000 (10:40 -0700)
committerAndreas Dilger <adilger@whamcloud.com>
Mon, 2 Oct 2023 01:01:06 +0000 (01:01 +0000)
commit4678d0a3a6f7c7df341a814ebdb7cc62149084cb
tree06497f0214321e105f7da0560df036a7bfb8fb43
parentf0874ea680e31819ca4028e3760eaf5a5959621a
LU-17095 build: avoid modules.order nonexistence failure

The modules.order is a temporary output file generated by
kbuild while running "make" command. Sometimes, there is
a race condition that causes the file not created and makes
make command fail as follows:

cat: ...//modules.order: No such file or directory

This patch creates an empty modules.order file to avoid
the error.

Lustre-change: https://review.whamcloud.com/52323
Lustre-commit: dbe4f860977455a9abe50165645a025bb6c46350

Test-Parameters: trivial

Change-Id: If779a727731f18e9409c35c0cd0deddd79559d3a
Signed-off-by: Jian Yu <yujian@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Patrick Farrell <pfarrell@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/52544
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
autoMakefile.am
autogen.sh