Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorDaniel Drake <dsd@laptop.org>2012-03-22 17:22:00 (GMT)
committer Daniel Drake <dsd@laptop.org>2012-03-22 17:22:00 (GMT)
commit045e529182fce7fc89fd66e299f664ddfb0875fa (patch)
tree5e75ba980bb4798523c3f5cf96f53a86227c6179 /lib
parent9d863cf70c8e47c670d39f1e58b7a9d96f3bda8d (diff)
repos: accept 'armhfp' as an ARM platform
This fixes package ignore list generation for armv7hl builds.
Diffstat (limited to 'lib')
-rw-r--r--lib/ooblib.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ooblib.py b/lib/ooblib.py
index d58ee8b..8d6dd2d 100644
--- a/lib/ooblib.py
+++ b/lib/ooblib.py
@@ -52,14 +52,14 @@ def image_name():
def arch_matches(myarch, arch):
# figure out if a package under 'arch' is suitable for 'myarch'
- # myarch is either 'i386' or 'arm'
+ # myarch is either 'i386', 'arm' or 'armhfp'
# but 'arch' can be i386, i586, i686, armv5tel, armv7hl, and so on
# noarch is always suitable
if arch == 'noarch':
return True
- if myarch == 'arm':
+ if myarch.startswith('arm'):
return arch.startswith('arm')
elif myarch == 'i386':
return arch in ['i386', 'i486', 'i586', 'i686']