summaryrefslogtreecommitdiff
path: root/meta/classes
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2011-01-20 15:10:54 -0800
committerSaul Wold <sgw@linux.intel.com>2011-01-20 16:56:04 -0800
commit7d9a8fc931966012a9ddd50e607c6de1d94fe394 (patch)
tree5ff8967bde6868edc86a4efd3351c73d4a35daf6 /meta/classes
parent20925a6c4082f5a70b342cf82c19df42f5dd2b2c (diff)
downloadopenembedded-core-7d9a8fc931966012a9ddd50e607c6de1d94fe394.tar.gz
openembedded-core-7d9a8fc931966012a9ddd50e607c6de1d94fe394.tar.bz2
openembedded-core-7d9a8fc931966012a9ddd50e607c6de1d94fe394.tar.xz
openembedded-core-7d9a8fc931966012a9ddd50e607c6de1d94fe394.zip
distrodata.bbclass: add .xz file type
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/distrodata.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/distrodata.bbclass b/meta/classes/distrodata.bbclass
index 1866f9856..e5f84d064 100644
--- a/meta/classes/distrodata.bbclass
+++ b/meta/classes/distrodata.bbclass
@@ -257,8 +257,8 @@ python do_checkpkg() {
prefix1 = "[a-zA-Z][a-zA-Z0-9]*([\-_][a-zA-Z]\w+)*[\-_]" # match most patterns which uses "-" as separator to version digits
prefix2 = "[a-zA-Z]+" # a loose pattern such as for unzip552.tar.gz
prefix = "(%s|%s)" % (prefix1, prefix2)
- suffix = "(tar\.gz|tgz|tar\.bz2|zip)"
- suffixtuple = ("tar.gz", "tgz", "zip", "tar.bz2")
+ suffix = "(tar\.gz|tgz|tar\.bz2|zip|xz)"
+ suffixtuple = ("tar.gz", "tgz", "zip", "tar.bz2", "tar.xz")
sinterstr = "(?P<name>%s?)(?P<ver>.*)" % prefix
sdirstr = "(?P<name>%s)(?P<ver>.*)\.(?P<type>%s$)" % (prefix, suffix)