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
Nurlan
eepm
Commits
21a41b9e
Commit
21a41b9e
authored
Jul 18, 2022
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm-release_upgrade: allow upgrade/downgrade to c9
parent
5f23ec17
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
epm-release_downgrade
bin/epm-release_downgrade
+2
-0
epm-release_upgrade
bin/epm-release_upgrade
+2
-2
No files found.
bin/epm-release_downgrade
View file @
21a41b9e
...
@@ -39,6 +39,8 @@ get_prev_release()
...
@@ -39,6 +39,8 @@ get_prev_release()
echo
"c8.1"
;;
echo
"c8.1"
;;
"c9"
)
"c9"
)
echo
"c8.2"
;;
echo
"c8.2"
;;
"9"
)
echo
"10"
;;
*
)
*
)
echo
"
$FROM
"
;;
echo
"
$FROM
"
;;
esac
esac
...
...
bin/epm-release_upgrade
View file @
21a41b9e
...
@@ -319,7 +319,7 @@ __switch_alt_to_distro()
...
@@ -319,7 +319,7 @@ __switch_alt_to_distro()
__check_system
"
$TO
"
__check_system
"
$TO
"
docmd epm update-kernel
||
fatal
docmd epm update-kernel
||
fatal
;;
;;
"p8"
|
"p8 p9"
|
"t8 p9"
|
"c8 c9"
|
"c8 p9"
|
"c8.1 p9"
|
"c8.2 p9"
|
"p9 p9"
)
"p8"
|
"p8 p9"
|
"t8 p9"
|
"c8 c9"
|
"c8 p9"
|
"c8.1 p9"
|
"c8.2 p9"
|
"p9 p9"
|
"p9 c9"
)
confirm_info
"Upgrade
$DISTRNAME
from
$FROM
to
$TO
..."
confirm_info
"Upgrade
$DISTRNAME
from
$FROM
to
$TO
..."
docmd epm
install
rpm apt
"
$(
get_fix_release_pkg
"
$FROM
"
)
"
||
fatal
docmd epm
install
rpm apt
"
$(
get_fix_release_pkg
"
$FROM
"
)
"
||
fatal
info
"Workaround for https://bugzilla.altlinux.org/show_bug.cgi?id=35492 ..."
info
"Workaround for https://bugzilla.altlinux.org/show_bug.cgi?id=35492 ..."
...
@@ -384,7 +384,7 @@ __switch_alt_to_distro()
...
@@ -384,7 +384,7 @@ __switch_alt_to_distro()
__check_system
"
$TO
"
__check_system
"
$TO
"
docmd epm upgrade
||
fatal
docmd epm upgrade
||
fatal
;;
;;
"Sisyphus p8"
|
"Sisyphus p9"
|
"Sisyphus p10"
|
"Sisyphus c8"
|
"Sisyphus c8.1"
)
"Sisyphus p8"
|
"Sisyphus p9"
|
"Sisyphus p10"
|
"Sisyphus c8"
|
"Sisyphus c8.1"
|
"Sisyphus c9"
)
confirm_info
"Downgrade
$DISTRNAME
from
$FROM
to
$TO
..."
confirm_info
"Downgrade
$DISTRNAME
from
$FROM
to
$TO
..."
docmd epm
install
"
$(
get_fix_release_pkg
"
$FROM
"
)
"
docmd epm
install
"
$(
get_fix_release_pkg
"
$FROM
"
)
"
__switch_repo_to
$TO
__switch_repo_to
$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