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
816e71fb
Commit
816e71fb
authored
Apr 28, 2016
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Plain Diff
backported to p8 as 1.8.1-alt0.M80P.1 (with rpmbph script)
parents
432b12e3
2cddd346
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
6 deletions
+17
-6
epm-release_upgrade
bin/epm-release_upgrade
+12
-4
eepm.spec
eepm.spec
+5
-2
No files found.
bin/epm-release_upgrade
View file @
816e71fb
...
@@ -71,13 +71,21 @@ __alt_repofix()
...
@@ -71,13 +71,21 @@ __alt_repofix()
__replace_text_in_alt_repo
"/^ *#/! s!
\[
p[6-9]
\]
![updates]!g"
__replace_text_in_alt_repo
"/^ *#/! s!
\[
p[6-9]
\]
![updates]!g"
}
}
get_fix_release_pkg
()
{
# TODO: check for version incompatibilities
if
epmqf /etc/altlinux-release |
grep
-q
sisyphus
;
then
echo
altlinux-release-
$1
fi
}
__update_to_the_distro
()
__update_to_the_distro
()
{
{
__alt_repofix
__alt_repofix
case
"
$1
"
in
case
"
$1
"
in
p7
)
p7
)
docmd epm update
||
fatal
docmd epm update
||
fatal
docmd epm
install
apt rpm apt-conf-branch
altlinux-release-p7
||
fatal
"Check an error and run epm release-upgrade again"
docmd epm
install
apt rpm apt-conf-branch
$(
get_fix_release_pkg p7
)
||
fatal
"Check an error and run epm release-upgrade again"
__alt_repofix
__alt_repofix
__replace_text_in_alt_repo
"/^ *#/! s!
\[
updates
\]
![p7]!g"
__replace_text_in_alt_repo
"/^ *#/! s!
\[
updates
\]
![p7]!g"
docmd epm update
||
fatal
docmd epm update
||
fatal
...
@@ -85,10 +93,10 @@ __update_to_the_distro()
...
@@ -85,10 +93,10 @@ __update_to_the_distro()
;;
;;
p8
)
p8
)
docmd epm update
||
fatal
docmd epm update
||
fatal
if
!
docmd epm
install
apt rpm apt-conf-branch
altlinux-release-p8
;
then
if
!
docmd epm
install
apt rpm apt-conf-branch
$(
get_fix_release_pkg p8
)
;
then
# error: execution of %post scriptlet from glibc-core-2.23-alt1.eter1
# error: execution of %post scriptlet from glibc-core-2.23-alt1.eter1
docmd epm erase glibc-core-2.17
||
fatal
"Check an error and run epm release-upgrade again"
docmd epm erase glibc-core-2.17
||
fatal
"Check an error and run epm release-upgrade again"
docmd epm
install
apt rpm apt-conf-branch
altlinux-release-p8
||
fatal
"Check an error and run epm release-upgrade again"
docmd epm
install
apt rpm apt-conf-branch
$(
get_fix_release_pkg p8
)
||
fatal
"Check an error and run epm release-upgrade again"
fi
fi
__alt_repofix
__alt_repofix
__replace_text_in_alt_repo
"/^ *#/! s!
\[
updates
\]
![p8]!g"
__replace_text_in_alt_repo
"/^ *#/! s!
\[
updates
\]
![p8]!g"
...
@@ -123,7 +131,7 @@ __update_alt_to_next_distro()
...
@@ -123,7 +131,7 @@ __update_alt_to_next_distro()
;;
;;
"p7"
|
"p7 p8"
)
"p7"
|
"p7 p8"
)
info
"Upgrade
$DISTRNAME
from p7 to p8 ..."
info
"Upgrade
$DISTRNAME
from p7 to p8 ..."
docmd epm
install
apt-conf-branch
altlinux-release-p7
||
fatal
docmd epm
install
apt-conf-branch
$(
get_fix_release_pkg p7
)
||
fatal
__replace_alt_version_in_repo p7/branch/ p8/branch/
__replace_alt_version_in_repo p7/branch/ p8/branch/
__update_to_the_distro p8
__update_to_the_distro p8
docmd epm update-kernel
||
fatal
docmd epm update-kernel
||
fatal
...
...
eepm.spec
View file @
816e71fb
# This spec is backported to ALTLinux p8 automatically by rpmbph script from etersoft-build-utils.
# This spec is backported to ALTLinux p8 automatically by rpmbph script from etersoft-build-utils.
#
#
Name: eepm
Name: eepm
Version: 1.8.
0
Version: 1.8.
1
Release: alt0.M80P.1
Release: alt0.M80P.1
Summary: Etersoft EPM package manager
Summary: Etersoft EPM package manager
...
@@ -67,9 +67,12 @@ chmod a+x %buildroot%_datadir/%name/{serv-,epm-}*
...
@@ -67,9 +67,12 @@ chmod a+x %buildroot%_datadir/%name/{serv-,epm-}*
%_sysconfdir/bash_completion.d/cerv
%_sysconfdir/bash_completion.d/cerv
%changelog
%changelog
*
Wed Apr 27 2016 Vitaly Lipatov <lav@altlinux.ru> 1.8.0
-alt0.M80P.1
*
Thu Apr 28 2016 Vitaly Lipatov <lav@altlinux.ru> 1.8.1
-alt0.M80P.1
- backport to ALTLinux p8 (by rpmbph script)
- backport to ALTLinux p8 (by rpmbph script)
* Thu Apr 28 2016 Vitaly Lipatov <lav@altlinux.ru> 1.8.1-alt1
- release-upgrade: install altlinux-release-p? only if /etc/altlinux-release belongs to sisyphus
* Wed Apr 27 2016 Vitaly Lipatov <lav@altlinux.ru> 1.8.0-alt1
* Wed Apr 27 2016 Vitaly Lipatov <lav@altlinux.ru> 1.8.0-alt1
- commit packed files
- commit packed files
- repofix: replace Etersoft branches only if have Etersoft key
- repofix: replace Etersoft branches only if have Etersoft key
...
...
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