Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mkimage-profiles
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
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
Ximper Linux
mkimage-profiles
Commits
1540ada0
Commit
1540ada0
authored
Jul 04, 2019
by
Mikhail Gordeev
Committed by
Michael Shigorin
Jul 08, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
repo: use %_arch macros to get host arch
%_host_cpu was a wrong choice in the first place, and the particular case of %_arch == ppc64le with %_host_cpu == powerpc64le became the culprit.
parent
b8c42c6c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
90-enable-repo
features.in/repo/image-scripts.d/90-enable-repo
+1
-1
No files found.
features.in/repo/image-scripts.d/90-enable-repo
View file @
1540ada0
...
...
@@ -11,7 +11,7 @@ host_re="http:\/\/\([^[:space:]]\+\)[[:space:]]\+"
updates_re
=
"
${
prefix_re
}${
host_re
}
\(
[^[:space:]]
\+\/\)\?
"
# architectures
host_arch
=
"
$(
rpm
--eval
'%_
host_cpu
'
)
"
host_arch
=
"
$(
rpm
--eval
'%_
arch
'
)
"
[
"
$host_arch
"
=
"x86_64"
]
&&
compat
=
"x86_64-i586"
||
compat
=
[
"
$host_arch
"
=
'armh'
]
&&
noarch
=
||
noarch
=
'noarch'
...
...
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