[LU-17507] MOFED find should use -H in cases where /usr/src/ofa_kernel/default is a symlink Created: 06/Feb/24  Updated: 06/Feb/24

Status: Open
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Shaun Tancheff Assignee: Shaun Tancheff
Resolution: Unresolved Votes: 0
Labels: None

Issue Links:
Related
is related to LU-17487 parsing --with-o2ib fails Open
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

MOFED find should use -H in cases where /usr/src/ofa_kernel/default is a symlink

A default installation is for /usr/src/ofa_kernel/default to be a symlink, it is also the default place to expect the MOFED kernel development headers.

When 'find' defaults to never follow symlinks the build breaks due to the expected MOFED headers not being found when find is searching for the ofed_scripts sub directory.

At a minimum find needs to use -H to ensure the symlinks specified on the command line are followed.



 Comments   
Comment by Gerrit Updater [ 06/Feb/24 ]

"Shaun Tancheff <shaun.tancheff@hpe.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/53934
Subject: LU-17507 build: Allow symlink in mofed default path
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 17c4bd685e4672f7741a1fab11b6982ce2ef21fd

Generated at Sat Feb 10 03:36:00 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.