[yocto] [yocto-autobuilder][PATCH 5/6] bin/release_scripts/release.py: fix the tarball naming
Graydon, Tracy
tracy.graydon at intel.com
Tue Feb 23 14:40:46 PST 2016
Fixed tarball repackaging to add missing branch name to the new
tarball name. i.e. <blob>-<hash>.tar.bz2 was being renamed to
<blob>-<poky-ver>.14.0.1.tar.bz2, which is wrong. Should be renamed to
<blob>-<branch>-<poky-ver>.tar.bz2.
Signed-off-by: Graydon, Tracy <tracy.graydon at intel.com>
---
bin/release_scripts/release.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/bin/release_scripts/release.py b/bin/release_scripts/release.py
index 83c198e..8751a04 100755
--- a/bin/release_scripts/release.py
+++ b/bin/release_scripts/release.py
@@ -94,7 +94,7 @@ def fix_tarballs():
filename = chunks[0]
basename = split_thing(filename, "-")
index = len(basename)-1
- basename[index] = POKY_VER
+ basename[index] = "-".join([BRANCH, POKY_VER])
new_name = rejoin_thing(basename, "-")
chunks[0] = new_name
new_blob = rejoin_thing(chunks, ".")
@@ -511,3 +511,4 @@ if __name__ == '__main__':
else:
print "Publishing ADT repo."
publish_adt(REL_ID, REL_TYPE, "")
+
--
2.4.3
More information about the yocto
mailing list