Did I find the right examples for you? yes no

All Samples(37)  |  Call(37)  |  Derive(0)  |  Import(0)

src/o/e/oe-core-HEAD/scripts/lib/mic/plugins/backend/zypppkgmgr.py   oe-core(Download)
            raise CreatorError(str(e))
 
        msger.verbose('repo: %s was added' % name)
        return repo
 
 
            if pkgname in self.pre_pkgs:
                msger.verbose("pre-install package added: %s" % pkgname)
                self.ts_pre.addInstall(h, rpmpath, 'u')
 

src/o/e/oe-core-HEAD/scripts/lib/mic/utils/rpmmisc.py   oe-core(Download)
                        if self.total_installed == self.total_actions:
                            msger.raw('')
                            msger.verbose('\n'.join(self.logString))
 
        elif what == rpm.RPMCALLBACK_UNINST_START:
                raise CreatorError('Bad URL: %s' % url)
 
            msger.verbose("adding HTTP auth: %s, XXXXXXXX" %(user))
            auth_handler.add_password(None, host, user, password)
            tmphandlers.append(auth_handler)

src/o/e/oe-core-HEAD/scripts/lib/mic/utils/fs_related.py   oe-core(Download)
            return
 
        msger.verbose("Formating %s filesystem on %s" % (self.fstype, self.disk.device))
        cmdlist = [self.mkfscmd, "-F", "-L", self.fslabel, "-m", "1", "-b",
                   str(self.blocksize), "-U", self.uuid]
            return
 
        msger.verbose("Formating %s filesystem on %s" % (self.fstype, self.disk.device))
        rc = runner.show([self.mkfscmd, "-n", self.fslabel,
                          "-i", self.uuid.replace("-", ""), self.disk.device])
        if rc != 0:
            raise MountError("Error creating %s filesystem on disk %s" % (self.fstype,self.disk.device))
 
        msger.verbose("Tuning filesystem on %s" % self.disk.device)
            return
 
        msger.verbose("Formating %s filesystem on %s" % (self.fstype, self.disk.device))
        rc = runner.show([self.mkfscmd, "-L", self.fslabel, self.disk.device])
        if rc != 0:

src/m/i/mic-HEAD/mic/utils/rpmmisc.py   mic(Download)
                        if self.total_installed == self.total_actions:
                            msger.raw('')
                            msger.verbose('\n'.join(self.logString))
 
        elif what == rpm.RPMCALLBACK_UNINST_START:
                raise CreatorError('Bad URL: %s' % url)
 
            msger.verbose("adding HTTP auth: %s, %s" %(user, password))
            auth_handler.add_password(None, host, user, password)
            tmphandlers.append(auth_handler)

src/m/i/mic-HEAD/mic/utils/fs_related.py   mic(Download)
            return
 
        msger.verbose("Formating %s filesystem on %s" % (self.fstype, self.disk.device))
        rc = runner.show([self.mkfscmd,
                          "-F", "-L", self.fslabel,
            return
 
        msger.verbose("Formating %s filesystem on %s" % (self.fstype, self.disk.device))
        rc = runner.show([self.mkfscmd, "-n", self.fslabel, "-i", self.uuid, self.disk.device])
        if rc != 0:
            raise MountError("Error creating %s filesystem on disk %s" % (self.fstype,self.disk.device))
 
        msger.verbose("Tuning filesystem on %s" % self.disk.device)
            return
 
        msger.verbose("Formating %s filesystem on %s" % (self.fstype, self.disk.device))
        rc = runner.show([self.mkfscmd, "-L", self.fslabel, self.disk.device])
        if rc != 0:

src/m/i/mic-HEAD/plugins/backend/zypppkgmgr.py   mic(Download)
            raise CreatorError(str(e))
 
        msger.verbose('repo: %s was added' % name)
        return repo
 
 
            if pkgname in self.pre_pkgs:
                msger.verbose("pre-install package added: %s" % pkgname)
                self.ts_pre.addInstall(h, rpmpath, 'u')
 

src/o/e/oe-core-HEAD/scripts/lib/mic/chroot.py   oe-core(Download)
 
            if srcdst[0] in BIND_MOUNTS or srcdst[0] == '/':
                msger.verbose("%s will be mounted by default." % srcdst[0])
                continue
 
    def bind_mount(chrootmounts):
        for b in chrootmounts:
            msger.verbose("bind_mount: %s -> %s" % (b.src, b.dest))
            b.mount()
 
    def bind_unmount(chrootmounts):
        for b in reversed(chrootmounts):
            msger.verbose("bind_unmount: %s -> %s" % (b.src, b.dest))
            b.unmount()
 

src/o/e/oe-core-HEAD/scripts/lib/mic/imager/loop.py   oe-core(Download)
 
            try:
                msger.verbose('Mounting image "%s" on "%s"' % (imgname, mp))
                fs.makedirs(mp)
                loop['loop'].mount()
                continue
            dpath = os.path.join(self.__imgdir, os.path.basename(item))
            msger.verbose("Copy attachment %s to %s" % (item, dpath))
            shutil.copy(item, dpath)
 

src/o/e/oe-core-HEAD/scripts/lib/mic/utils/misc.py   oe-core(Download)
    os.chdir(targetdir)
 
    msger.verbose("Extract rpm file with cpio: %s" % rpmfile)
    p1 = subprocess.Popen([rpm2cpio, rpmfile], stdout=subprocess.PIPE)
    p2 = subprocess.Popen([cpio, "-idv"], stdin=p1.stdout,
                          stdout=subprocess.PIPE, stderr=subprocess.PIPE)
    (sout, serr) = p2.communicate()
    msger.verbose(sout or serr)

src/m/i/mic-HEAD/mic/imager/loop.py   mic(Download)
 
            try:
                msger.verbose('Mounting image "%s" on "%s"' % (imgname, mp))
                fs.makedirs(mp)
                loop['loop'].mount()
                continue
            dpath = os.path.join(self.__imgdir, os.path.basename(item))
            msger.verbose("Copy attachment %s to %s" % (item, dpath))
            shutil.copy(item, dpath)
 

  1 | 2  Next