Changeset 107

Show
Ignore:
Timestamp:
11/06/07 10:30:24 (1 year ago)
Author:
jjarrett
Message:

Updated README and logic for naming of master archive.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/RHEL4/README

    r104 r107  
    331. Update ~/.rpmmarcos so the %_topdir points to a directory which contains the standard RPM Build environment, a BUILD, RPMS, SOURCES, SPECS and SRPMS subdirectories. Save the file. 
    442. Change directory into the root directory of the source code subtree. 
    5 3. Run the script buildDownloads.  Optionally pass the command line argument with the same value as assigned to %_topdir in ~/.rpmmacros file. 
    6 4. The files needed for the Download Release site will be found in the clip-files directory within the directory identified by the path value of the %_topdir variable in ~/.rpmmacros. 
     53. Edit the archivify script so that OS variable is defined correctly. 
     64. Run the script buildDownloads.  Optionally pass the command line argument with the same value as assigned to %_topdir in ~/.rpmmacros file. 
     75. The files needed for the Download Release site will be found in the clip-files directory within the directory identified by the path value of the %_topdir variable in ~/.rpmmacros. 
    78 
    89 
  • trunk/RHEL4/archivify.sh

    r100 r107  
    33VERSION="1.0" 
    44RELEASE="5" 
     5OS="RHEL4.5" 
    56ARCH=$(uname -i) 
    67 
     
    2930cd $DESTDIR/clip-files 
    3031rm -rf *.txt 
    31 tar --exclude="*.gz" -czvf clip-files-$VERSION-$RELEASE.$ARCH.tar.gz . 
     32tar --exclude="*.gz" -czvf clip-files-$VERSION-$RELEASE.$OS.$ARCH.tar.gz . 
    3233 
    3334# "Calculate Checksum values..." 
    3435echo "Calculate Checksum values..." 
    35 sha1sum -b clip-files-$VERSION-$RELEASE.$ARCH.tar.gz refpolicy/*.rpm selinux-usr/*.rpm usr/*.rpm > SHA1s_$ARCH.txt 
     36sha1sum -b clip-files-$VERSION-$RELEASE.$OS.$ARCH.tar.gz refpolicy/*.rpm selinux-usr/*.rpm usr/*.rpm > SHA1s_$ARCH_$OS.txt 
    3637 
    3738echo "Completed..."