Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eepm
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
eepm
Commits
450a7ebf
Commit
450a7ebf
authored
Aug 31, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm repack common.sh: add ignore_lib_requires()
parent
2d5af67a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
2 deletions
+23
-2
common.sh
repack.d/common.sh
+23
-2
No files found.
repack.d/common.sh
View file @
450a7ebf
...
...
@@ -364,6 +364,16 @@ __get_binary_requires()
epm req
--short
$(
find
"
$fdir
"
-type
f
-name
"lib*.so*"
)
</dev/null 2>/dev/null |
sed
-e
's|().*||'
}
__get_library_provides
()
{
local
fdir
=
"
$1
"
info
" Getting internal provides ..."
find
"
$fdir
"
-name
"lib*.so*"
| xargs
-n1
objdump
-p
|
grep
"SONAME"
|
sed
-e
's|.* ||'
echo
"
$EEPM_IGNORE_LIB_REQUIRES
"
| xargs
-n1
echo
}
# fast hack to get all extra soname list
get_libs_requires
()
{
...
...
@@ -373,8 +383,7 @@ get_libs_requires()
__get_binary_requires
"
$fdir
"
|
LANG
=
C
sort
-u
>
$libreqlist
info
" Getting internal provides ..."
find
"
$fdir
"
-name
"lib*.so*"
| xargs
-n1
objdump
-p
|
grep
"SONAME"
|
sed
-e
's|.* ||'
|
LANG
=
C
sort
-u
>
$libpreslist
__get_library_provides
"
$fdir
"
|
LANG
=
C
sort
-u
>
$libpreslist
# print out result
LANG
=
C
join
-v2
$libpreslist
$libreqlist
...
...
@@ -413,6 +422,7 @@ add_by_ldd_deps()
add_unirequires
"
$(
epm requires
--direct
"
$exe
"
)
"
}
filter_from_requires
()
{
# hack for uncompatible rpm-build
...
...
@@ -424,6 +434,17 @@ filter_from_requires()
done
}
ignore_lib_requires
()
{
#if [ -z "$EPM_RPMBUILD" ] ; then
# filter_from_requires "$@"
# return
#fi
EEPM_IGNORE_LIB_REQUIRES
=
"
$EEPM_IGNORE_LIB_REQUIRES
$@
"
}
add_findreq_skiplist
()
{
# hack for uncompatible rpm-build
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment