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

From NST Wiki
Jump to navigationJump to search
Line 1: Line 1:
Before building the ISO release image, you should make sure the NST yum repository is up to date.
+
Before building the ISO release image, you should make sure the NST yum repository is up to date and built for a ISO release.
  
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:
+
The following will prune any old package builds and delta RPMs out of your repository and make sure the configuration files in the ''nst-release'' package are updated (these are the files that  end up under the ''/etc/nst/iso/'' directory). This can be done using the following command:
  
 
'''***Note:''' Do this on both 32/64 bit development environments
 
'''***Note:''' Do this on both 32/64 bit development environments
  
  [root@nst-dev-32 repo]# cd yum
+
  [root@nst-dev-32 repo]# make release-repo-build
[root@nst-dev-32 yum]# make clear
+
   
[root@nst-dev-32 yum]# rm -fr repo/drpms
+
'''***Note:''' This is new starting with the NST 18 and will need to be tested.
[root@nst-dev-32 yum]# ./configure
 
[root@nst-dev-32 yum]# make repo-prune
 
[root@nst-dev-32 yum]# make all repo-prune repo-sign
 
  [root@nst-dev-32 yum]# cd ..
 
 
 
Run the following command to make sure that all of your NST packages are built an up to date.
 
 
 
[root@nst-dev-32 repo]# make repo-build
 

Revision as of 08:15, 29 January 2013

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

The following will prune any old package builds and delta RPMs out of your repository and make sure the configuration files in the nst-release package are updated (these are the files that end up under the /etc/nst/iso/ directory). This can be done using the following command:

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

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

***Note: This is new starting with the NST 18 and will need to be tested.