예제 #1
0
	def set_packages(self):
		StageBase.set_packages(self)
		if self.settings["spec_prefix"]+"/packages" in self.settings:
			if isinstance(self.settings[self.settings['spec_prefix']+'/packages'], str):
				self.settings[self.settings["spec_prefix"]+"/packages"] = \
					self.settings[self.settings["spec_prefix"]+"/packages"].split()
		self.settings[self.settings["spec_prefix"]+"/packages"].append("app-misc/livecd-tools")
예제 #2
0
 def set_packages(self):
     StageBase.set_packages(self)
     if self.settings["spec_prefix"]+"/packages" in self.settings:
         if isinstance(self.settings[self.settings['spec_prefix']+'/packages'], str):
             self.settings[self.settings["spec_prefix"]+"/packages"] = \
                 self.settings[self.settings["spec_prefix"] +
                               "/packages"].split()
예제 #3
0
 def set_packages(self):
     StageBase.set_packages(self)
     if self.settings["spec_prefix"] + "/packages" in self.settings:
         if type(self.settings[self.settings["spec_prefix"] +
                               "/packages"]) == types.StringType:
             self.settings[self.settings["spec_prefix"]+"/packages"] = \
              self.settings[self.settings["spec_prefix"]+"/packages"].split()
     self.settings[self.settings["spec_prefix"] +
                   "/packages"].append("app-misc/livecd-tools")