Commit 7e2d453e authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm repack add_by_ldd_deps: implement via epm requires

parent 163da284
...@@ -334,7 +334,7 @@ add_by_ldd_deps() ...@@ -334,7 +334,7 @@ add_by_ldd_deps()
exe="$BUILDROOT$exe" exe="$BUILDROOT$exe"
fi fi
[ -x "$exe" ] || fatal "Can't get requires via ldd for non executable $1" [ -x "$exe" ] || fatal "Can't get requires via ldd for non executable $1"
add_unirequires "$(ldd "$exe" | sed -e 's|[[:space:]]*||' | grep "^lib.*[[:space:]]=>[[:space:]]\(/usr/lib\|/lib\)" | sed -e 's|[[:space:]].*||')" #" add_unirequires "$(epm requires --direct "$exe")"
} }
filter_from_requires() filter_from_requires()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment