Changeset 107
- 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
| r104 |
r107 |
|
| 3 | 3 | 1. 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. |
|---|
| 4 | 4 | 2. 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. |
|---|
| | 5 | 3. Edit the archivify script so that OS variable is defined correctly. |
|---|
| | 6 | 4. Run the script buildDownloads. Optionally pass the command line argument with the same value as assigned to %_topdir in ~/.rpmmacros file. |
|---|
| | 7 | 5. 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. |
|---|
| 7 | 8 | |
|---|
| 8 | 9 | |
|---|
| r100 |
r107 |
|
| 3 | 3 | VERSION="1.0" |
|---|
| 4 | 4 | RELEASE="5" |
|---|
| | 5 | OS="RHEL4.5" |
|---|
| 5 | 6 | ARCH=$(uname -i) |
|---|
| 6 | 7 | |
|---|
| … | … | |
| 29 | 30 | cd $DESTDIR/clip-files |
|---|
| 30 | 31 | rm -rf *.txt |
|---|
| 31 | | tar --exclude="*.gz" -czvf clip-files-$VERSION-$RELEASE.$ARCH.tar.gz . |
|---|
| | 32 | tar --exclude="*.gz" -czvf clip-files-$VERSION-$RELEASE.$OS.$ARCH.tar.gz . |
|---|
| 32 | 33 | |
|---|
| 33 | 34 | # "Calculate Checksum values..." |
|---|
| 34 | 35 | echo "Calculate Checksum values..." |
|---|
| 35 | | sha1sum -b clip-files-$VERSION-$RELEASE.$ARCH.tar.gz refpolicy/*.rpm selinux-usr/*.rpm usr/*.rpm > SHA1s_$ARCH.txt |
|---|
| | 36 | sha1sum -b clip-files-$VERSION-$RELEASE.$OS.$ARCH.tar.gz refpolicy/*.rpm selinux-usr/*.rpm usr/*.rpm > SHA1s_$ARCH_$OS.txt |
|---|
| 36 | 37 | |
|---|
| 37 | 38 | echo "Completed..." |
|---|
Download in other formats:
* Generating other formats may take time.