Difference between revisions of "Build and Update the Yum Repository"

From NST Wiki
Jump to navigationJump to search
Line 2: Line 2:
  
 
If the release you are working on is based on a new version of Fedora, you will probably want to prune any old package builds and delta RPMs out of your repository before uploading the initial versions of the RPMs associated with the release. This can be done using the following commands:
 
If the release you are working on is based on a new version of Fedora, you will probably want to prune any old package builds and delta RPMs out of your repository before uploading the initial versions of the RPMs associated with the release. This can be done using the following commands:
 +
 +
'''***Note:''' Do this on both 32/64 bit development environments
  
 
  [root@nst-dev-32 repo]# cd yum
 
  [root@nst-dev-32 repo]# cd yum
Line 7: Line 9:
 
  [root@nst-dev-32 yum]# rm -fr repo/drpm
 
  [root@nst-dev-32 yum]# rm -fr repo/drpm
 
  [root@nst-dev-32 yum]# ./configure
 
  [root@nst-dev-32 yum]# ./configure
  [root@nst-dev-32 yum]# make all repo-sign
+
  [root@nst-dev-32 yum]# make all repo-prune repo-sign
 +
[root@nst-dev-32 yum]# cd ..
  
 
Run the following command to make sure the NST yum repository is up to date.
 
Run the following command to make sure the NST yum repository is up to date.
  
 
  [root@nst-dev-32 repo]# make repo-build-upload
 
  [root@nst-dev-32 repo]# make repo-build-upload

Revision as of 12:16, 6 October 2010

Before building the ISO release image, you should make sure the NST yum repository is up to date.

If the release you are working on is based on a new version of Fedora, you will probably want to prune any old package builds and delta RPMs out of your repository before uploading the initial versions of the RPMs associated with the release. This can be done using the following commands:

***Note: Do this on both 32/64 bit development environments

[root@nst-dev-32 repo]# cd yum
[root@nst-dev-32 yum]# make clear
[root@nst-dev-32 yum]# rm -fr repo/drpm
[root@nst-dev-32 yum]# ./configure
[root@nst-dev-32 yum]# make all repo-prune repo-sign
[root@nst-dev-32 yum]# cd ..

Run the following command to make sure the NST yum repository is up to date.

[root@nst-dev-32 repo]# make repo-build-upload