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
1bd0d572
Commit
1bd0d572
authored
Aug 11, 2022
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add TARGETARCH support
parent
c9b138fd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
config
share/eterbuild/functions/config
+1
-0
repl
share/eterbuild/functions/repl
+3
-2
No files found.
share/eterbuild/functions/config
View file @
1bd0d572
...
...
@@ -23,6 +23,7 @@ uname -m | grep -q "i.86" && SYSARCH=i586
# set default target arch
[
-n
"
$BUILDARCH
"
]
||
BUILDARCH
=
$SYSARCH
[
-n
"
$TARGETARCH
"
]
||
TARGETARCH
=
$BUILDARCH
NICE
=
"nice"
RPMBUILD
=
rpmbuild
...
...
share/eterbuild/functions/repl
View file @
1bd0d572
...
...
@@ -12,7 +12,8 @@ filter_deb_pkgnames()
build32on64
()
{
# FIXME: wine hack, use external replacement package list
[
"
$BUILDARCH
"
=
"x86_64"
]
&&
rhas
"
$BUILDNAME
"
wine
#[ "$BUILDARCH" = "x86_64" ] && rhas "$BUILDNAME" wine
[
"
$TARGETARCH
"
=
"i586"
]
&&
[
"
$BUILDARCH
"
=
"x86_64"
]
}
# Hack for improve requires for 32-bit build on 64-bit system
...
...
@@ -258,7 +259,7 @@ print_grprepl_list()
# call with package list
convert_pkgreqs_to_target
()
{
assert_var DISTRVENDOR BUILDARCH PKGFORMAT
assert_var DISTRVENDOR BUILDARCH
TARGETARCH
PKGFORMAT
local
repl_list
repl_list
=
$(
print_pkgrepl_list
)
LISTUSEDPKGREPL
=
''
...
...
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