• Home
  • Raw
  • Download

Lines Matching full:script

1277       script, and expect to find jars in <dir>/framework.
1685 the script before any changes are made."""
1691 script before any changes are made."""
1934 def WriteScript(self, script, output_zip, progress=None, argument
1938 script.Print("Patching %s image unconditionally..." % (self.partition,))
1940 script.Print("Patching %s image after verification." % (self.partition,))
1943 script.ShowProgress(progress, 0)
1944 self._WriteUpdate(script, output_zip)
1947 self.WritePostInstallVerifyScript(script)
1949 def WriteStrictVerifyScript(self, script): argument
1957 script.Print("Verifying %s..." % (partition,))
1960 script.AppendExtra(
1966 script.AppendExtra("")
1968 def WriteVerifyScript(self, script, touched_blocks_only=False): argument
1973 script.Print("Image %s will be patched unconditionally." % (partition,))
1989 script.AppendExtra(
1995 script.Print('Verified %s image...' % (partition,))
1996 script.AppendExtra('else')
2007 script.AppendExtra('check_first_block(%s);' % (self.device,))
2014 script.AppendExtra((
2034 script.AppendExtra((
2038 def WritePostInstallVerifyScript(self, script): argument
2040 script.Print('Verifying the updated %s image...' % (partition,))
2044 script.AppendExtra(
2053 script.AppendExtra(
2057 script.Print('Verified the updated %s image.' % (partition,))
2062 script.AppendExtra(
2068 script.Print('Verified the updated %s image.' % (partition,))
2075 script.AppendExtra(
2081 def _WriteUpdate(self, script, output_zip): argument
2126 script.AppendExtra(script.WordWrap(call))
2230 """Generates the recovery-from-boot patch and writes the script to output.
2234 the output zip, along with a shell script that is run from init.rc on first
2321 # The install script location moved from /system/etc to /system/bin
2325 logger.info("putting script in %s", sh_location)
2448 def WriteScript(self, script, output_zip, write_verify_script=False): argument
2449 script.Comment('--- Start patching dynamic partitions ---')
2452 script.Comment('Patch partition %s' % p)
2453 u.block_difference.WriteScript(script, output_zip, progress=u.progress,
2463 script.Comment('Update dynamic partition metadata')
2464 script.AppendExtra('assert(update_dynamic_partitions('
2470 u.block_difference.WritePostInstallVerifyScript(script)
2471 script.AppendExtra('unmap_partition("%s");' % p) # ignore errors
2475 script.Comment('Patch partition %s' % p)
2476 u.block_difference.WriteScript(script, output_zip, progress=u.progress,
2479 script.AppendExtra('unmap_partition("%s");' % p) # ignore errors
2481 script.Comment('--- End patching dynamic partitions ---')