Merge pull request #120442 from nagy/ceph-grep-substitute

ceph: substitute /bin/grep
This commit is contained in:
Luke Granger-Brown 2021-04-23 22:31:11 +01:00 committed by GitHub
commit 7bab9ae0ac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -161,6 +161,7 @@ in rec {
preConfigure =''
substituteInPlace src/common/module.c --replace "/sbin/modinfo" "modinfo"
substituteInPlace src/common/module.c --replace "/sbin/modprobe" "modprobe"
substituteInPlace src/common/module.c --replace "/bin/grep" "grep"
# for pybind/rgw to find internal dep
export LD_LIBRARY_PATH="$PWD/build/lib''${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH"