Lines Matching refs:image
139 def remove_aliases(driver_name, aliases, image):
142 rem_base = (DriverAction.update_drv, "-b", image.get_root(), "-d")
155 image = pkgplan.image
157 if image.is_zone():
164 image, "etc/name_to_major", minfields=2,
173 # target image to see if this driver will bind to an alias that
191 image, "etc/driver_aliases", raw=True, minfields=2,
205 a2d = getattr(image.imageplan, "alias_to_driver", None)
206 driver_actions = image.imageplan.get_actions("driver")
209 # image, remove them from the db we made by slurping in
217 # the target image's driver actions.
234 image.imageplan.alias_to_driver = a2d
244 be_name = getattr(image.bootenv, "be_name_clone", None)
252 "imgroot": image.get_root()
284 dap = image.get_root() + "/etc/driver_aliases"
286 dir=image.get_root() + "/etc")
304 orig = self.__get_image_data(image, self.attrs["name"])
309 return self.__update_install(image, orig)
311 if image.is_liveroot():
313 image.imageplan.add_actuator("install",
316 args = ( self.add_drv, "-n", "-b", image.get_root() )
351 self.update_drv, "-b", image.get_root(), "-a",
359 image.get_root(), "etc/devlink.tab"))
366 dir=image.get_root() + "/etc")
379 def __update_install(self, image, orig):
380 add_base = ( self.update_drv, "-b", image.get_root(), "-a" )
381 rem_base = ( self.update_drv, "-b", image.get_root(), "-d" )
425 image.get_root(), "etc/driver_classes"))
469 image.get_root(), "etc/devlink.tab"))
507 dir=image.get_root() + "/etc")
657 """Construct a driver action from image information.
824 correctly installed in the given image."""
912 image = pkgplan.image
914 if image.is_zone():
920 image.get_root(),
929 self.update_drv, "-b", image.get_root(),
937 image.get_root(), "etc/devlink.tab"))
972 dir=image.get_root() + "/etc")