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
80fd15cc
Commit
80fd15cc
authored
Apr 15, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm: fix warmup issue
parent
a17dab31
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
3 deletions
+6
-3
epm
bin/epm
+1
-0
epm-sh-warmup
bin/epm-sh-warmup
+3
-3
eepm.conf
etc/eepm.conf
+2
-0
No files found.
bin/epm
View file @
80fd15cc
...
...
@@ -122,6 +122,7 @@ skip_installed=
skip_missed
=
show_command_only
=
epm_cmd
=
warmup
=
pkg_files
=
pkg_dirs
=
pkg_names
=
...
...
bin/epm-sh-warmup
View file @
80fd15cc
...
...
@@ -20,8 +20,8 @@
is_warmup_allowed
()
{
local
MEM
# disable warming up until set
EPM_WARNUP
in /etc/eepm/eepm.conf
[
-n
"
$
EPM_WARMUP
"
]
||
return
1
# disable warming up until set
warmup
in /etc/eepm/eepm.conf
[
-n
"
$
warmup
"
]
||
return
1
MEM
=
"
$(
$DISTRVENDOR
-m
)
"
# disable warm if have no enough memory
[
"
$MEM
"
-le
1024
]
&&
return
1
...
...
@@ -40,7 +40,7 @@ __warmup_files()
warmup_rpmbase
()
{
is_warmup_allowed
||
return
is_warmup_allowed
||
{
warning
"Skipping warmup bases due low memory size"
;
return
;
}
__warmup_files
"rpm"
"/var/lib/rpm/*"
}
...
...
etc/eepm.conf
View file @
80fd15cc
...
...
@@ -21,6 +21,8 @@
#skip_missed=1
#show_command_only=1
#epm_cmd=
# warmup repository data before using (actually only for HDD)
#warmup=1
# Uncomment if you need skip some operations during full-upgrade
#full_upgrade_no_epm_play=1
...
...
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