• Home
  • Raw
  • Download

Lines Matching full:checksum

22 # the name of the checksum file that stores the packages' checksums
23 CHECKSUM_FILE = "packages.checksum"
247 to dump stuff (like checksum files of the repositories
259 # In memory dictionary that stores the checksum's of packages
417 # then check to see if the .checksum file is the latest
423 # update the checksum in that directory
450 use_checksum : This is set to False to fetch the packages.checksum file
451 so that the checksum comparison is bypassed for the
452 checksum file itself. This is used internally by the
479 # Fetch the package if it is not there, the checksum does
486 # update checksum so we won't refetch next time.
516 # get the packages' checksum file and update it with the current
517 # package's checksum
532 # TODO(aganti): Fix the bug with the current checksum logic where
535 # but the ideal solution is to make the checksum file repository specific
540 Also uploads the checksum file to all the repos.
544 update_checksum : If set to False, the checksum file is not
549 the checksum file and bloat it.
644 # remove the package and upload the checksum file to the repos
680 Return the complete path of the checksum file (assumed to be stored
688 Fetch the checksum file if not already fetched. If the checksum file
690 the current package's (specified in pkg_path) checksum value in it.
691 Populate the local checksum dictionary with the values read from
692 the checksum file.
693 The checksum file is assumed to be present in self.pkgmgr_dir
697 # Fetch the checksum file
700 # The packages checksum file does not exist locally.
706 # checksum file should also be automatically present. This
709 # uploaded to the repos (hence no checksum file created yet)
713 # Read the checksum file into memory
717 # Return {} if we have an empty checksum file present
721 # Parse the checksum file contents into self._checksum_dict
723 checksum, package_name = line.split(None, 1)
724 self._checksum_dict[package_name] = checksum
731 Save the checksum dictionary onto the checksum file. Update the
733 checksum_dict : New checksum dictionary
734 checksum_dir : The directory in which to store the checksum file to.
738 checksum_contents = '\n'.join(checksum + ' ' + pkg_name
739 for pkg_name, checksum in
741 # Write the checksum file back to disk
749 Compute the MD5 checksum for the package file and return it.
752 # Check if the checksum has been pre-calculated.
756 # case, we will have the freshest checksum during the install
758 # checksum always gets recomputed during src_compile.
761 # have the checksum associated with what was used to compile
763 checksum_path = pkg_path + '.checksum'
765 print ("Checksum %s exists" % checksum_path)
774 Update the checksum of the package in the packages' checksum
779 # Compute the new checksum
788 Remove the checksum of the package from the packages checksum file.
790 repositories in order clean its corresponding checksum.
801 Calculate the checksum of the file specified in pkg_path and
802 compare it with the checksum in the checksum file
805 checksum is being compared
845 Compare the checksum of the tarball_path with the .checksum file
849 checksum_path = os.path.join(dest_dir, '.checksum')
853 # If the .checksum file is not present (generally, this should
864 ".checksum" file in the dest_dir containing the checksum
871 # Put the .checksum file in the install_dir to note
875 '.checksum')