Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
etersoft-build-utils
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
korinf
etersoft-build-utils
Commits
5e1e0504
Commit
5e1e0504
authored
Apr 08, 2022
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
improve p10 support
parent
662ce53a
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
29 additions
and
2 deletions
+29
-2
apt.conf.p10
etc/apt/apt.conf.p10
+10
-0
sources.list.p10
etc/apt/sources.list.p10
+11
-0
alt
share/eterbuild/functions/alt
+6
-0
branch
share/eterbuild/functions/branch
+2
-2
No files found.
etc/apt/apt.conf.p10
0 → 100644
View file @
5e1e0504
/*
* This is the main configuration file for the APT suite of tools,
* see apt.conf(5) for details.
*/
Dir::Etc::main "/dev/null";
Dir::Etc::parts "/var/empty";
Dir::Etc::SourceParts "/var/empty";
Dir::Etc::sourcelist "/etc/eterbuild/apt/sources.list.p10";
etc/apt/sources.list.p10
0 → 100644
View file @
5e1e0504
# Package repository URLs
#
# You can add [alt] after rpm for digital signature check
rpm file:/var/ftp/ pub/ALTLinux/p10/branch/i586 classic
rpm file:/var/ftp/ pub/ALTLinux/p10/branch/noarch classic
rpm file:/var/ftp/ pub/ALTLinux/p10/branch/x86_64-i586 classic
rpm [etersoft] file:/var/ftp/ pub/Etersoft/LINUX@Etersoft/p10/branch/i586 addon
rpm [etersoft] file:/var/ftp/ pub/Etersoft/LINUX@Etersoft/p10/branch/noarch addon
rpm [etersoft] file:/var/ftp/ pub/Etersoft/LINUX@Etersoft/p10/branch/x86_64-i586 addon
share/eterbuild/functions/alt
View file @
5e1e0504
...
...
@@ -37,6 +37,12 @@ get_type_by_git_branch_name()
return
fi
# like p10
if
echo
$1
| egrep
-q
"^[ptc]1[0-9].?$"
;
then
get_altdistr_mod
$1
return
fi
# like cert6
if
echo
$1
| egrep
-q
"^cert[0-9].?$"
;
then
get_altdistr_mod
$1
...
...
share/eterbuild/functions/branch
View file @
5e1e0504
...
...
@@ -12,9 +12,9 @@ set_usebranch()
USEBRANCH
=
$BINARYREPO
[
-n
"
$USEBRANCH
"
]
||
return
1
[
"
$USEBRANCH
"
=
"sisyphus
"
]
&&
return
1
[
"
$USEBRANCH
"
=
"
$(
get_altdistr_mod
"
$DISTRVERSION
"
)
"
]
&&
return
1
# TODO: drop support of
it
# TODO: drop support of
the legacy
# support for obsoleted M?? names
OLDBRANCH
=
$MDISTR
...
...
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