aboutsummaryrefslogtreecommitdiff
path: root/linaro-hwpack-replace
diff options
context:
space:
mode:
authordeeptik <deepti.kalakeri@linaro.org>2011-08-23 12:06:46 +0000
committerdeeptik <deepti.kalakeri@linaro.org>2011-08-23 12:06:46 +0000
commitc70b23d97849cafb92d661bae46312856a5cf061 (patch)
treeebf2f6b0a1ecd0cf9b82ac46ba25bdb9eb3e2e29 /linaro-hwpack-replace
parentfa24cf0a1d30cb2886017828d67f06d44ec34057 (diff)
downloadlinaro-image-tools-c70b23d97849cafb92d661bae46312856a5cf061.tar.gz
Fixing the new hwpack name to contain minutes info instead of seconds
Diffstat (limited to 'linaro-hwpack-replace')
-rwxr-xr-xlinaro-hwpack-replace2
1 files changed, 1 insertions, 1 deletions
diff --git a/linaro-hwpack-replace b/linaro-hwpack-replace
index 7125840..493d167 100755
--- a/linaro-hwpack-replace
+++ b/linaro-hwpack-replace
@@ -76,7 +76,7 @@ def set_logging_param(args):
def get_hwpack_name(old_hwpack):
- timestamp = [datetime.datetime.now().strftime("%Y%m%d-%H%S")]
+ timestamp = [datetime.datetime.now().strftime("%Y%m%d-%H%M")]
hwpack_name_parts = (old_hwpack.split('_', 3))
return('_'.join(hwpack_name_parts[:2] + timestamp + hwpack_name_parts[3:]))