Lines Matching refs:rootpath
791 def __init__(self, rootpath, **kwargs):
811 self.rootpath = rootpath
813 self.init_from_rootpath(rootpath)
824 self.rootpath = None
847 if rootpath is not None:
848 self.init_from_rootpath(rootpath)
877 return self.__class__(self.rootpath, copysrc=self)
913 def init_from_rootpath(self, rootpath):
918 self.rootpath = rootpath
920 self.boot_vars = self._get_boot_vars(rootpath)
958 def _get_boot_vars(self, rootpath):
960 return bootinfo.BootVariables.get(sysroot=rootpath,
1066 def __init__(self, rootpath=None, **kwargs):
1067 """rootpath is not supported, so should remain `None'"""
1169 def __init__(self, rootpath, **kwargs):
1191 super(SolarisBootInstance, self).__init__(rootpath, **kwargs)
1231 def __init__(self, rootpath, **kwargs):
1239 super(SolarisDiskBootInstance, self).__init__(rootpath, **kwargs)
1275 def init_from_rootpath(self, rootpath):
1277 super(SolarisDiskBootInstance, self).init_from_rootpath(rootpath)
1288 self.title = solaris_release_name(rootpath, alt_title)
1349 def __init__(self, rootpath, **kwargs):
1352 super(SolarisNetBootInstance, self).__init__(rootpath, **kwargs)
1365 def __init__(self, rootpath, **kwargs):
1366 super(SolarisODDBootInstance, self).__init__(rootpath, **kwargs)
1369 def init_from_rootpath(self, rootpath):
1371 super(SolarisODDBootInstance, self).init_from_rootpath(rootpath)
1377 self.title = solaris_release_name(rootpath, None)
1380 def solaris_release_name(rootpath, alt_title):
1385 with open(rootpath + '/etc/release') as etcrelease: