Searched refs:salvage (Results 1 - 6 of 6) sorted by relevance

/pkg/src/modules/actions/
H A Ddirectory.py121 pkgplan.salvage(path)
189 # directories with "salvage-from" attribute
196 for salvage_from in self.attrlist("salvage-from"):
229 pkgplan.salvage(path)
234 pkgplan.salvage(path)
H A Dfile.py158 # initial install; salvage it before continuing.
159 pkgplan.salvage(final_path)
202 # salvage the contents.
212 pkgplan.salvage(final_path)
749 pkgplan.salvage(path)
H A Dgeneric.py1134 # if it isn't empty, salvage it.
1147 pkgplan.salvage(path)
/pkg/src/modules/client/
H A Dpkgplan.py429 # Keep a cache of dir actions with salvage-from attrs.
431 # we need this list to make sure we salvage contents
438 # We must ensure that we don't try to salvage
445 "salvage-from" in dest.attrs):
446 for p in dest.attrlist("salvage-from"):
653 def salvage(self, path): member in class:PkgPlan
659 spath = self.image.salvage(path)
674 # the form (old dir, lost+found salvage dir) and stored in
678 # Check if this salvage-from is also the best match for other
681 # action that specifies 'salvage
[all...]
H A Dimage.py2247 orig_state_root = self.salvage(self._statedir,
2806 orig_state_root = self.salvage(self._statedir, full_path=True)
3481 def salvage(self, path, full_path=False): member in class:Image
3483 package operations; returns the path of the salvage
3522 "salvage-from" directive... full_dest_path must exist.
3523 dest_path is the image-relative location where we salvage to,
3527 When recovering directories where the salvage-from string is
3530 by comparing the salvage-from value with the previously
3536 salvage-from=var/user.
4268 salvaged_path = self.salvage(state_fil
[all...]
/pkg/src/tests/cli/
H A Dt_pkg_install.py3026 salvage = """
3027 open salvage@1.0
3034 open salvage@2.0
3037 add dir path=var/.migrate-to-shared/mail salvage-from=var/mail mode=755 owner=root group=root
3038 add dir path=var/.migrate-to-shared/log salvage-from=var/log mode=755 owner=root group=root
3040 add dir path=var/persistent mode=755 owner=root group=root salvage-from=var/noodles
3042 open salvage@3.0
3045 add dir path=var/.migrate-to-shared/mail salvage-from=var/mail mode=755 owner=root group=root
3046 add dir path=var/.migrate-to-shared/log salvage-from=var/log mode=755 owner=root group=root
3047 add dir path=var/persistent mode=755 owner=root group=root salvage
[all...]

Completed in 42 milliseconds