On Friday, July 29, 2011 06:27:51 AM Jonathan Masters wrote: > Dennis, > > I suspect I just need a few hours doing something else (like sleeping), but > I hit a small bump configuring mock. > > I can see that you use several repos - including on i386 for group deps > (cool). However, my mock refuses to recognize the Scotland armv7hl repo. I > will look at it in a few hours, should be easy to fix but just annoying. > If you have something I don't, like a patch to mock, let me know. > > Jon. yum needs some slight patching to work correctly its all in /usr/lib/python2.7/site-packages/rpmUtils/arch.py the attached patch gets it working, but is an ugly hack, i proposed to seth a propper fix but he did not like it, he really wanted rpms python module to be able to tell us if we are on a hard or soft float system. Dennis
--- /usr/lib/python2.7/site-packages/rpmUtils/arch.py.orig 2011-07-29 11:37:05.626199064 -0400 +++ /usr/lib/python2.7/site-packages/rpmUtils/arch.py 2011-07-27 13:44:13.921775745 -0400 @@ -60,6 +60,8 @@ "alpha": "noarch", # arm + "armv7hnl": "armv7hl", + "armv7hl": "noarch", "armv7l": "armv6l", "armv6l": "armv5tejl", "armv5tejl": "armv5tel", @@ -318,6 +320,8 @@ return getCanonSPARCArch(arch) if arch == "x86_64": return getCanonX86_64Arch(arch) + if arch.startswith("arm"): + return "armv7hnl" return arch
Attachment:
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ arm mailing list arm@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/arm