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
b99ce830
Commit
b99ce830
authored
Jul 15, 2024
by
Ivan Mazhukin
Committed by
Vitaly Lipatov
Jul 19, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm release-upgrade: fix sisyphus to p11
parent
f47bc1a5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
epm-release_upgrade
bin/epm-release_upgrade
+3
-3
No files found.
bin/epm-release_upgrade
View file @
b99ce830
...
...
@@ -94,9 +94,9 @@ __p11_upgrade_fix()
__sisyphus_downgrade_fix
()
{
if
[[
!
$(
docmd epm installed apt-conf-
sisyphus
)
]]
;
then
if
[[
!
$(
docmd epm installed apt-conf-
branch
)
]]
;
then
info
"Need to install default apt-conf package to avoid missing
$TO
repo"
docmd epm
install
apt-conf-
sisyphus
||
fatal
docmd epm
install
apt-conf-
branch
||
fatal
fi
}
...
...
@@ -427,7 +427,7 @@ __switch_alt_to_distro()
docmd epm
install
$(
get_fix_release_pkg
"
$FROM
"
)
if
[
$TO
=
"p11"
]
;
then
__sisyphus_downgrade_fix
;
fi
__switch_repo_to
$TO
docmd epm
install
rpm apt
$(
get_fix_release_pkg
--force
"
$TO
"
)
||
fatal
"Check the errors and run '# epm release-upgrade' again"
docmd epm
downgrade
rpm apt
$(
get_fix_release_pkg
--force
"
$TO
"
)
||
fatal
"Check the errors and run '# epm release-upgrade' again"
docmd epm
$force_yes
$non_interactive
downgrade
||
fatal
"Check the error and run '# epm downgrade'"
end_change_alt_repo
__check_system
"
$TO
"
...
...
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