From 50066e77857b42bf7bc2fee7881ff226135edb8e Mon Sep 17 00:00:00 2001 From: Markus Lehtonen Date: Fri, 12 Apr 2013 12:00:34 +0300 Subject: [PATCH] tools: store patch.yaml in patch dir Signed-off-by: Markus Lehtonen --- tools/updateinfo/create-update.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/updateinfo/create-update.py b/tools/updateinfo/create-update.py index 8c73655..f34757f 100755 --- a/tools/updateinfo/create-update.py +++ b/tools/updateinfo/create-update.py @@ -132,4 +132,7 @@ zip_checksum = create_update_file(patch_path, repo_dir, destination, patch_id) update_metadata(destination, tmp_dir, opts.updatesfile, patch, zip_checksum) +# store patch metadata in patch dir, too +shutil.copy2(os.path.join(repo_dir, patch_id), os.path.join(target_dir, 'patch.yaml')) + shutil.rmtree(tmp_dir) -- 2.7.4