summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/archiver.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/archiver.bbclass b/meta/classes/archiver.bbclass
index 058ba63437..b598aa3ad6 100644
--- a/meta/classes/archiver.bbclass
+++ b/meta/classes/archiver.bbclass
@@ -146,9 +146,9 @@ python do_ar_original() {
146 fetch.unpack(tmpdir, (url,)) 146 fetch.unpack(tmpdir, (url,))
147 147
148 os.chdir(tmpdir) 148 os.chdir(tmpdir)
149 # We split on '+' to chuck any annoying AUTOINC+ in the revision. 149 # We eliminate any AUTOINC+ in the revision.
150 try: 150 try:
151 src_rev = bb.fetch2.get_srcrev(d).split('+')[-1][:10] 151 src_rev = bb.fetch2.get_srcrev(d).replace('AUTOINC+','')
152 except: 152 except:
153 src_rev = 'NOREV' 153 src_rev = 'NOREV'
154 tarname = os.path.join(ar_outdir, basename + '.' + src_rev + '.tar.gz') 154 tarname = os.path.join(ar_outdir, basename + '.' + src_rev + '.tar.gz')