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
3c1f606d
Commit
3c1f606d
authored
Apr 15, 2016
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
release_upgrade: improve upgrade way
parent
c47676e1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
3 deletions
+15
-3
epm-release_upgrade
bin/epm-release_upgrade
+15
-3
No files found.
bin/epm-release_upgrade
View file @
3c1f606d
...
...
@@ -17,6 +17,8 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
load_helper epm-query
__replace_alt_version_in_repo
()
{
local
i
...
...
@@ -41,10 +43,22 @@ __update_alt_repo_to_next_distro()
case
"
$DISTRVERSION
"
in
p6
)
__replace_alt_version_in_repo p6 p7
docmd epm update
docmd epm
install
apt rpm
||
fatal
docmd epm upgrade
docmd epm update-kernel
info
"Run epm release-upgrade again for update to p8"
;;
p7
)
__replace_alt_version_in_repo p7 p8
docmd epm update
docmd epm
install
apt rpm
||
fatal
if
is_installed systemd
;
then
docmd epm
install
systemd
||
fatal
fi
docmd epm upgrade
||
fatal
#info " # epmi branding-simply-linux-release branding-simply-linux-graphics"
docmd epm update-kernel
;;
*
)
info
"Have no idea how to update from
$DISTRNAME
$DISTRVERSION
"
...
...
@@ -64,9 +78,7 @@ epm_release_upgrade()
docmd epm
install
apt rpm
load_helper epm-repofix
pkg_filenames
=
epm_repofix
__update_alt_repo_to_next_distro
||
exit
docmd epm Upgrade
docmd epm update-kernel
__update_alt_repo_to_next_distro
return
;;
*
)
...
...
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