Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1242806

Summary: Add support for little endian MIPS
Product: [Fedora] Fedora Reporter: Michal Toman <michal.toman>
Component: hawkeyAssignee: Packaging Maintenance Team <packaging-team-maint>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 23CC: jsilhan, mluscon, packaging-team-maint, pbrobinson, rholy, vmukhame
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: hawkey-0.6.0 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-08-07 17:33:05 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1242747    
Attachments:
Description Flags
Add-support-for-little-endian-MIPS.patch none

Description Michal Toman 2015-07-14 08:31:31 UTC
Created attachment 1051694 [details]
Add-support-for-little-endian-MIPS.patch

Description of problem:
We are trying to bring Fedora to MIPS platform and this requires to add little endian MIPS support to hawkey.

Actual results:
Current hawkey only supports big endian MIPS

Expected results:
Both little and big endian work correctly

Additional info:
Hawkey uses uname to determine the CPU architecture. For MIPS, the result is the same for little and big endian (it is always "mips" or "mips64" which is considered big endian). We need to distinguish between mips/mipsel and mips64/mips64el in order to install correct packages.

Attaching a dist-git patch

Comment 1 Jan Kurik 2015-07-15 13:17:26 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 23 development cycle.
Changing version to '23'.

(As we did not run this process for some time, it could affect also pre-Fedora 23 development
cycle bugs. We are very sorry. It will help us with cleanup during Fedora 23 End Of Life. Thank you.)

More information and reason for this action is here:
https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora23

Comment 2 Honza Silhan 2015-07-29 14:14:52 UTC
Would you be able to support MIPS in hawkey upstream [1]? If so, do the pull request, please.

[1] https://github.com/rpm-software-management/hawkey/

Comment 3 Michal Toman 2015-08-04 07:44:57 UTC
I can do the upstream support, here's the pull request
https://github.com/rpm-software-management/hawkey/pull/107

Comment 4 Honza Silhan 2015-08-07 17:33:05 UTC
The hawkey-0.6.0 with MIPS support will be built for F22, F23 and rawhide.