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
Vladislav
eepm
Commits
6d01f38f
Commit
6d01f38f
authored
Apr 19, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm repack common.sh: add install_requires() and call it when PREINSTALL_PACKAGES is set
parent
8627e1b9
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
2 deletions
+10
-2
common-chromium-browser.sh
repack.d/common-chromium-browser.sh
+1
-2
common.sh
repack.d/common.sh
+9
-0
No files found.
repack.d/common-chromium-browser.sh
View file @
6d01f38f
...
...
@@ -61,9 +61,8 @@ cleanup()
install_deps
()
{
[
"
$(
epm print info
-s
)
"
=
"alt"
]
||
return
# install all requires packages before packing (the list have got with rpmreqs package | xargs echo)
epm
install
--skip-installed
at-spi2-atk file GConf glib2
grep
libatk libat-spi2-core libalsa libcairo libcups libdbus libdrm libexpat libgbm libgdk-pixbuf libgio libgtk+3 libnspr libnss libpango
\
install_requires
at-spi2-atk file GConf glib2
grep
libatk libat-spi2-core libalsa libcairo libcups libdbus libdrm libexpat libgbm libgdk-pixbuf libgio libgtk+3 libnspr libnss libpango
\
libX11 libxcb libXcomposite libXcursor libXdamage libXext libXfixes libXi libXrandr libXrender libXtst
sed
which xdg-utils xprop libsecret
}
...
...
repack.d/common.sh
View file @
6d01f38f
...
...
@@ -263,6 +263,13 @@ add_requires()
subst
"1iRequires:
$*
"
$SPEC
}
install_requires
()
{
if
[
"
$(
epm print info
-s
)
"
=
"alt"
]
;
then
epm
install
--skip-installed
"
$@
"
fi
}
filter_from_requires
()
{
local
i
...
...
@@ -316,3 +323,5 @@ if [ -n "$PRODUCTDIR" ] && [ "$(dirname "$PRODUCTDIR" )" != "/" ] && [ "$(dirnam
fi
[
-d
"
$BUILDROOT$PRODUCTBASEDIR
"
]
&&
pack_dir
"
$PRODUCTBASEDIR
"
[
-n
"
$PREINSTALL_PACKAGES
"
]
&&
install_requires
$PREINSTALL_PACKAGES
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