summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorxiaojuan.mao <xiaojuan.mao@samsung.com>2017-06-12 20:18:06 +0800
committerxiaojuan.mao <xiaojuan.mao@samsung.com>2017-07-13 11:24:02 +0800
commit2a2242f4ca49f8f9e5c5fd97d8391f7832dac4da (patch)
tree7a81b5ebf95522a41d6d1e596afe2ad6ca268c45 /plugins
parent141b4c20bd515f5c1a32ccd4e2c054939f6a9168 (diff)
downloadmic-2a2242f4ca49f8f9e5c5fd97d8391f7832dac4da.tar.gz
mic-2a2242f4ca49f8f9e5c5fd97d8391f7832dac4da.tar.bz2
mic-2a2242f4ca49f8f9e5c5fd97d8391f7832dac4da.zip
Change the order of generating image by cpio.
Change-Id: Ia1d2cc22b9a6e695a6f905574f8081c5910f0e8b
Diffstat (limited to 'plugins')
-rwxr-xr-xplugins/imager/loop_plugin.py3
-rwxr-xr-xplugins/imager/qcow_plugin.py3
2 files changed, 4 insertions, 2 deletions
diff --git a/plugins/imager/loop_plugin.py b/plugins/imager/loop_plugin.py
index 6005f46..70dafc0 100755
--- a/plugins/imager/loop_plugin.py
+++ b/plugins/imager/loop_plugin.py
@@ -102,8 +102,9 @@ class LoopPlugin(ImagerPlugin):
creator.install()
creator.configure(creatoropts["repomd"])
creator.copy_kernel()
- creator.create_cpio_image()
+ creator.copy_cpio_resource()
creator.unmount()
+ creator.create_cpio_image()
creator.package(creatoropts["destdir"])
creator.create_manifest()
diff --git a/plugins/imager/qcow_plugin.py b/plugins/imager/qcow_plugin.py
index 76339a5..33ed358 100755
--- a/plugins/imager/qcow_plugin.py
+++ b/plugins/imager/qcow_plugin.py
@@ -133,8 +133,9 @@ class QcowPlugin(ImagerPlugin):
creator.install()
creator.configure(creatoropts["repomd"])
creator.copy_kernel()
- creator.create_cpio_image()
+ creator.copy_cpio_resource()
creator.unmount()
+ creator.create_cpio_image()
creator.package(creatoropts["destdir"])
creator.create_manifest()