summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authoryuhuan.yang <yuhuan.yang@samsung.com>2017-10-17 00:42:28 +0800
committeryuhuan.yang <yuhuan.yang@samsung.com>2017-10-17 18:13:09 +0800
commitcdfc17622a94943d667d3f608169ae690078387a (patch)
treeb24448752f95ae6f46907e6b8625fb084d2bbb84 /plugins
parent5ea707d68b9794ddff5ac4727c15475a6d342cc5 (diff)
downloadmic-cdfc17622a94943d667d3f608169ae690078387a.tar.gz
mic-cdfc17622a94943d667d3f608169ae690078387a.tar.bz2
mic-cdfc17622a94943d667d3f608169ae690078387a.zip
Another method of install tpk.
Change-Id: Ibe2f1cfaa7625ab1ea938feda5df6406beb267e6
Diffstat (limited to 'plugins')
-rwxr-xr-xplugins/imager/fs_plugin.py1
-rwxr-xr-xplugins/imager/loop_plugin.py1
-rwxr-xr-xplugins/imager/qcow_plugin.py1
-rwxr-xr-xplugins/imager/raw_plugin.py1
4 files changed, 4 insertions, 0 deletions
diff --git a/plugins/imager/fs_plugin.py b/plugins/imager/fs_plugin.py
index b2701a0..c639211 100755
--- a/plugins/imager/fs_plugin.py
+++ b/plugins/imager/fs_plugin.py
@@ -93,6 +93,7 @@ class FsPlugin(ImagerPlugin):
creator.check_depend_tools()
creator.mount(None, creatoropts["cachedir"])
creator.install()
+ creator.tpkinstall()
#Download the source packages ###private options
if args.include_src:
installed_pkgs = creator.get_installed_packages()
diff --git a/plugins/imager/loop_plugin.py b/plugins/imager/loop_plugin.py
index 6034a29..0b94f0e 100755
--- a/plugins/imager/loop_plugin.py
+++ b/plugins/imager/loop_plugin.py
@@ -101,6 +101,7 @@ class LoopPlugin(ImagerPlugin):
creator.check_depend_tools()
creator.mount(None, creatoropts["cachedir"])
creator.install()
+ creator.tpkinstall()
creator.configure(creatoropts["repomd"])
creator.copy_kernel()
creator.create_cpio_image()
diff --git a/plugins/imager/qcow_plugin.py b/plugins/imager/qcow_plugin.py
index a81e291..d6758c5 100755
--- a/plugins/imager/qcow_plugin.py
+++ b/plugins/imager/qcow_plugin.py
@@ -132,6 +132,7 @@ class QcowPlugin(ImagerPlugin):
creator.check_depend_tools()
creator.mount(None, creatoropts["cachedir"])
creator.install()
+ creator.tpkinstall()
creator.configure(creatoropts["repomd"])
creator.copy_kernel()
creator.create_cpio_image()
diff --git a/plugins/imager/raw_plugin.py b/plugins/imager/raw_plugin.py
index 1524e74..e954b7b 100755
--- a/plugins/imager/raw_plugin.py
+++ b/plugins/imager/raw_plugin.py
@@ -99,6 +99,7 @@ class RawPlugin(ImagerPlugin):
creator.check_depend_tools()
creator.mount(None, creatoropts["cachedir"])
creator.install()
+ creator.tpkinstall()
creator.configure(creatoropts["repomd"])
creator.copy_kernel()
creator.unmount()