Lines Matching refs:files

36 # --no-stats	-- don't show progress statistics while fetching files
44 -d workdir -- Store working files in workdir
68 IDS -- Compare the system against an index of "known good" files
163 # Set whether FreeBSD Update is allowed to add files (or directories, or
183 # Set whether FreeBSD Update is allowed to remove files/directories/symlinks.
268 # Add to the list of paths within which updates to text files will be merged
625 # in preparation for fetching files. Figure out which
808 # Check that securelevel <= 0. Otherwise we can't update schg files.
1102 if [ -f "files/${Y}.gz" ] ||
1103 [ ! -f "files/${X}.gz" ]; then
1140 mkdir -p files
1309 if gunzip -c < files/$1.gz |
1316 gunzip -c < files/$1.gz |
1351 # Fetch the metadata index and metadata files listed in $@,
1378 gunzip -c < files/${X}.gz > diff-OLD
1395 mv diff-NEW files/${Y}
1396 gzip -n files/${Y}
1409 if [ ! -f "files/${Y}.gz" ]; then
1417 echo ${NDEBUG} "metadata files... "
1429 mv ${Y}.gz files/${Y}.gz
1438 # Sanity-check the metadata files.
1444 # Remove files which are no longer needed
1450 lam -s "files/" - -s ".gz" |
1466 gunzip -c < files/${METAHASH}.gz > $1.all
1501 # Remove temporary files.
1532 # Generate list of files to inspect
1602 # files which differ; generate $3 containing these paths and the old hashes.
1604 # Pull out the paths and hashes of the files matching ${MERGECHANGES}.
1685 # Store a list of the modified files, for future reference
1786 # Fetch any "clean" old versions of files we need for merging changes.
1791 echo -n "Fetching files from ${OLDRELNUM} for merging... "
1793 # List of files wanted
1796 sort -u > files.wanted
1798 # Only fetch the files we don't already have
1800 if [ ! -f "files/${Y}.gz" ]; then
1803 done < files.wanted > filelist
1810 # Make sure we got them all, and move them into /files/
1818 mv ${Y}.gz files/${Y}.gz
1827 rm filelist files.wanted
1831 # Prepare to fetch files: Generate a list of the files we need,
1832 # copy the unmodified files we have into /files/, and generate
1836 echo -n "Preparing to download files... "
1846 # List of files wanted
1850 if ! [ -f files/${HASH}.gz ]; then
1853 done > files.wanted
1855 # Generate a list of unmodified files
1857 sort -k 1,1 -t '|' > unmodified.files
1859 # Copy all files into /files/. We only need the unmodified files
1866 # Skip files we already have.
1867 if [ -f files/${HASH}.gz ]; then
1880 gzip -c < tmpfile > files/${HASH}.gz
1886 join -t '|' -o 2.2,1.2 - unmodified.files |
1890 rm unmodified.files $1.hashes $2.hashes $3.hashes
1892 # We don't need the list of possible old files any more.
1899 # Fetch files.
1916 gunzip -c < files/${X}.gz > OLD
1921 mv NEW files/${Y}
1922 gzip -n files/${Y}
1929 # Download files which couldn't be generate via patching
1931 if [ ! -f "files/${Y}.gz" ]; then
1934 done < files.wanted > filelist
1938 echo ${NDEBUG} "files... "
1950 mv ${Y}.gz files/${Y}.gz
1960 rm files.wanted filelist patchlist
1975 The following files are affected by updates. No changes have
1976 been downloaded, however, because the files have been modified
1982 # If no files will be updated, tell the user and exit
1992 # Divide files into (a) removed files, (b) added files, and
1993 # (c) updated files.
1998 comm -23 INDEX-PRESENT.flist INDEX-NEW.flist > files.removed
1999 comm -13 INDEX-PRESENT.flist INDEX-NEW.flist > files.added
2000 comm -12 INDEX-PRESENT.flist INDEX-NEW.flist > files.updated
2003 # Report removed files, if any
2004 if [ -s files.removed ]; then
2005 cat - files.removed <<- EOF | ${PAGER}
2006 The following files will be removed as part of updating to
2010 rm files.removed
2012 # Report added files, if any
2013 if [ -s files.added ]; then
2014 cat - files.added <<- EOF | ${PAGER}
2015 The following files will be added as part of updating to
2019 rm files.added
2021 # Report updated files, if any
2022 if [ -s files.updated ]; then
2023 cat - files.updated <<- EOF | ${PAGER}
2024 The following files will be updated as part of updating to
2028 rm files.updated
2129 # Fetch the latest INDEX-NEW and INDEX-OLD files.
2132 # Generate filtered INDEX-NEW and INDEX-OLD files containing only
2173 # Prepare to fetch files: Generate a list of the files we need,
2174 # copy the unmodified files we have into /files/, and generate
2178 # Fetch files.
2200 # Look at the files on disk, and assume that a component is
2286 # Delete temporary files
2299 gunzip -c < files/${METAHASH}.gz > $1.all
2325 # INDEX-OLD and INDEX-NEW files (in the sense of normal upgrades).
2343 # anywhere in INDEX-OLD (since these must be files which haven't
2357 # Helper for upgrade_merge: Return zero true iff the two files differ only
2370 # From the list of "old" files in $1, merge changes in $2 with those in $3,
2371 # and update $3 to reflect the hashes of merged files.
2378 # Create staging area for merging files
2388 # Copy in files
2392 gunzip < files/${V}.gz > merge/old/${F}
2397 gunzip < files/${V}.gz \
2405 gunzip < files/${V}.gz \
2412 echo -n "changes in files..."
2430 # Some files need special treatment.
2451 # Ask the user to handle any files which didn't merge.
2473 # of merging files.
2475 # Skip files which haven't changed except possibly
2482 # Skip files where the installed file differs from
2490 # Warn about files which are ceasing to exist.
2512 # Store merged files.
2517 gzip -c < merge/new/${F} > files/${V}.gz
2523 # reflect merged files.
2528 # Update lines to reflect merged files
2543 # We're done with merging files.
2573 # Generate filtered INDEX-OLD and INDEX-ALL files containing only
2578 # Merge the INDEX-OLD and INDEX-ALL files into INDEX-OLD.
2583 # Adjust variables for fetching files from the new release.
2609 # INDEX-OLD and INDEX-NEW files (in the sense of normal upgrades).
2621 # paths and hashes of old versions of files to merge.
2651 # Fetch "clean" files from the old release for merging changes.
2654 # Prepare to fetch files: Generate a list of the files we need,
2655 # copy the unmodified files we have into /files/, and generate
2680 # gzipped files stored in /files/.
2691 if ! [ -f files/${HASH}.gz ]; then
2692 echo -n "Update files missing -- "
2703 # Remove the system immutable flag from files
2752 # Since we delete all files in the directory used for previous backups
2755 # freebsd-update and we then do not accidentally remove user files in
2767 # Remove old kernel backup files. If $BACKUPKERNELDIR was
2790 # Use find to ignore symbol files, unless disabled by user.
2797 # Backup all the kernel files using hardlinks.
2805 # Install new files
2821 gunzip < files/${HASH}.gz > ${HASH}
2847 # Remove files which we want to delete
2849 # Generate list of new files
2853 # Generate subindex of old files we want to nuke
2879 # Install new files, delete old files, and update generated files
2889 # Install new files
2892 # Remove files which need to be deleted
2952 # Rebuild generated pwd files and /etc/login.conf.db.
2967 # We've finished installing the world and deleting old files
2984 Completing this upgrade requires removing old shared object files.
3011 # Remove temporary files
3039 # Make sure we have all the files we should have
3043 # Remove system immutable flag from files
3047 # Install new files, delete old files, and update linker.hints
3069 # Install old files, delete new files, and update linker.hints
3071 # Install old shared library files which don't have the same path as
3083 # Deal with files which are neither kernel nor shared library
3091 # Install any old shared library files which we didn't install above.
3098 # Delete unneeded shared library files
3105 # Deal with kernel files
3114 # Remove temporary files
3129 # Make sure we have all the files we should have
3133 # Remove system immutable flag from files
3137 # Install old files, delete new files, and update linker.hints
3162 # Ignore files which match IDSIGNOREPATHS.
3265 # Generate filtered INDEX-OLD and INDEX-ALL files containing only
3270 # Merge the INDEX-OLD and INDEX-ALL files into INDEX-ALL.
3330 # Fetch files for upgrading to a new release.