diff options
author | Gui Chen <gui.chen@intel.com> | 2012-11-26 11:23:56 +0800 |
---|---|---|
committer | Gui Chen <gui.chen@intel.com> | 2012-12-12 19:33:24 +0800 |
commit | 1a6b500503479bfebded9d6673b643198d8a8226 (patch) | |
tree | fed3058e4a3bd6862a21c5bda7693621565afc8f | |
parent | 104505f31320726e45418ec1fecbd6f83f31a9e7 (diff) | |
download | mic-1a6b500503479bfebded9d6673b643198d8a8226.tar.gz mic-1a6b500503479bfebded9d6673b643198d8a8226.tar.bz2 mic-1a6b500503479bfebded9d6673b643198d8a8226.zip |
default to no scriptlets trigger
Signed-off-by: Gui Chen <gui.chen@intel.com>
-rw-r--r-- | mic/bootstrap.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mic/bootstrap.py b/mic/bootstrap.py index 2122dcf..86fffc5 100644 --- a/mic/bootstrap.py +++ b/mic/bootstrap.py @@ -57,6 +57,7 @@ class MiniBackend(object): self.optionals = [] self.preins = {} self.postins = {} + self.scriptlets = False def __del__(self): try: @@ -94,6 +95,9 @@ class MiniBackend(object): if self.arch.startswith("arm"): misc.setup_qemu_emulator(self.rootdir, self.arch) + if not self.scriptlets: + return + for pkg in self.preins.keys(): prog, script = self.preins[pkg] self.run_pkg_script(pkg, prog, script, '0') |