diff options
-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') |