Did I find the right examples for you? yes no

All Samples(17)  |  Call(14)  |  Derive(0)  |  Import(3)

src/o/e/oe-core-HEAD/meta/lib/oe/sdk.py   oe-core(Download)
from abc import ABCMeta, abstractmethod
from oe.utils import execute_pre_post_process
from oe.manifest import *
from oe.package_manager import *
import os
        os.symlink("/etc/ld.so.cache", link_name)
 
        execute_pre_post_process(self.d, self.d.getVar('SDK_POSTPROCESS_COMMAND', True))
 
 
        self.target_pm.install_complementary(self.d.getVar('SDKIMAGE_INSTALL_COMPLEMENTARY', True))
 
        execute_pre_post_process(self.d, self.d.getVar("POPULATE_SDK_POST_TARGET_COMMAND", True))
 
        self.target_pm.remove_packaging_data()
 
        bb.note("Installing NATIVESDK packages")
        self._populate_sysroot(self.host_pm, self.host_manifest)
 
        execute_pre_post_process(self.d, self.d.getVar("POPULATE_SDK_POST_HOST_COMMAND", True))
        self.target_pm.install_complementary(self.d.getVar('SDKIMAGE_INSTALL_COMPLEMENTARY', True))
 
        execute_pre_post_process(self.d, self.d.getVar("POPULATE_SDK_POST_TARGET_COMMAND", True))
 
        bb.note("Installing NATIVESDK packages")

src/o/e/oe-core-HEAD/meta/lib/oe/rootfs.py   oe-core(Download)
from abc import ABCMeta, abstractmethod
from oe.utils import execute_pre_post_process
from oe.package_manager import *
from oe.manifest import *
import oe.path
                    "/README_-_DO_NOT_DELETE_FILES_IN_THIS_DIRECTORY.txt")
 
        execute_pre_post_process(self.d, pre_process_cmds)
 
        # call the package manager dependent create method
        self._run_intercepts()
 
        execute_pre_post_process(self.d, post_process_cmds)
 
        if bb.utils.contains("IMAGE_FEATURES", "read-only-rootfs",
            self.pm.write_index()
 
        execute_pre_post_process(self.d, opkg_pre_process_cmds)
 
        self.pm.update()
        self.pm.install_complementary()
 
        execute_pre_post_process(self.d, opkg_post_process_cmds)
        execute_pre_post_process(self.d, rootfs_post_install_cmds)
 

src/o/e/oe-core-HEAD/meta/lib/oe/image.py   oe-core(Download)
from oe.utils import execute_pre_post_process
import os
import subprocess
import multiprocessing
 
        post_process_cmds = self.d.getVar("IMAGE_POSTPROCESS_COMMAND", True)
 
        execute_pre_post_process(self.d, pre_process_cmds)
 
        self._remove_old_symlinks()
                self._create_symlinks(subimages)
 
        execute_pre_post_process(self.d, post_process_cmds)