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
2bc95268
Commit
2bc95268
authored
May 29, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm repo index: add x86_64-i586 support
parent
e1307339
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
epm-repoindex
bin/epm-repoindex
+1
-1
epm-repopkg
bin/epm-repopkg
+2
-0
No files found.
bin/epm-repoindex
View file @
2bc95268
...
...
@@ -34,7 +34,7 @@ get_archlist()
# https://www.altlinux.org/APT_%D0%B2_ALT_Linux/CreateRepository
__epm_repoindex_alt
()
{
local
archlist
=
"i586 x86_64 aarch64 noarch"
local
archlist
=
"i586 x86_64
x86_64-i586
aarch64 noarch"
local
init
=
''
if
[
"
$1
"
=
"--init"
]
;
then
...
...
bin/epm-repopkg
View file @
2bc95268
...
...
@@ -42,6 +42,7 @@ __epm_repo_pkgadd_alt()
# arch hack (it is better to repack firstly)
[
"
$arch
"
=
"i686"
]
&&
arch
=
"i586"
[
"
$arch
"
=
"i386"
]
&&
arch
=
"i586"
[
-d
$REPO_DIR
/
$arch
/RPMS.
$REPO_NAME
]
||
fatal
epm checkpkg
"
$1
"
||
fatal
cp
-v
"
$1
"
$REPO_DIR
/
$arch
/RPMS.
$REPO_NAME
||
fatal
shift
...
...
@@ -71,6 +72,7 @@ __epm_repo_pkgdel_alt()
while
[
-s
"
$1
"
]
;
do
for
arch
in
$archlist
;
do
local
rd
=
"
$REPO_DIR
/
$arch
/RPMS.
$REPO_NAME
"
[
-d
$REPO_DIR
/
$arch
/RPMS.
$REPO_NAME
]
||
continue
for
i
in
$rd
/
$1
*
;
do
[
"
$1
"
=
"
$(
epm print name
for
package
$i
)
"
||
continue
rm
-v
$rd
/
$1
*
...
...
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