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
d9934aeb
Commit
d9934aeb
authored
Jul 14, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm-repack-rpm: call generic-default if there is no special repack script
parent
77c18600
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
epm-repack-rpm
bin/epm-repack-rpm
+8
-0
generic-default.sh
repack.d/generic-default.sh
+2
-0
No files found.
bin/epm-repack-rpm
View file @
d9934aeb
...
...
@@ -66,6 +66,11 @@ __fix_spec()
}
has_repack_script
()
{
local
repackcode
=
"
$EPM_REPACK_SCRIPTS_DIR
/
$1
.sh"
[
-s
"
$repackcode
"
]
}
# args: pkgname buildroot spec
__apply_fix_code
()
...
...
@@ -182,6 +187,9 @@ __epm_repack_to_rpm()
__apply_fix_code
"generic"
$buildroot
$spec
$pkgname
$abspkg
__apply_fix_code
"generic-
$SUBGENERIC
"
$buildroot
$spec
$pkgname
$abspkg
__apply_fix_code
$pkgname
$buildroot
$spec
$pkgname
$abspkg
if
!
has_repack_script
$pkgname
;
then
__apply_fix_code
"generic-default"
$buildroot
$spec
$pkgname
$abspkg
fi
cd
-
>
/dev/null
TARGETARCH
=
$(
epm print info
-a
|
sed
-e
's|^x86$|i586|'
)
...
...
repack.d/generic-default.sh
0 → 100755
View file @
d9934aeb
#!/bin/sh -x
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