From 9e11ac388bd85967222dd5cb5ecade1d9b8f67a8 Mon Sep 17 00:00:00 2001 From: Minh Diep Date: Thu, 31 Oct 2019 07:26:03 -0700 Subject: [PATCH] LU-12920 build: replace ed with sed Ed commad is very old Test-Parameters: trivial Change-Id: I18ffe50c3fb006182e68460c03a4d34d5011e62a Signed-off-by: Minh Diep Reviewed-on: https://review.whamcloud.com/36630 Reviewed-by: Wang Shilong Tested-by: jenkins Tested-by: Maloo Reviewed-by: Andreas Dilger Reviewed-by: Oleg Drokin --- contrib/lbuild/lbuild | 43 +++++++++++-------------------------------- 1 file changed, 11 insertions(+), 32 deletions(-) diff --git a/contrib/lbuild/lbuild b/contrib/lbuild/lbuild index 4d72c93..6e9afc7 100755 --- a/contrib/lbuild/lbuild +++ b/contrib/lbuild/lbuild @@ -1745,38 +1745,17 @@ build_with_srpm() { fi fi - # ~sigh~ have to make copies of and modify some of the rpm - # infrastructure files so that find-requires can find our unpacked - # kernel-devel artifacts - cp $RPM_HELPERS_DIR/{symset-table,find-requires{,.ksyms}} . - export FIND_REQUIRES="$(pwd)/find-requires" - chmod 755 {symset-table,find-requires{,.ksyms}} - local tmp="$(pwd)" - tmp="${tmp//\//\\/}" - ed find-requires <