View RSS Feed

ltsai

repoman Design

Rate this Entry
by on April 8th, 2008 at 09:08 AM (1315 Views)
Overview

repoman is responsible for creating various OS repositories supported in Kusu. Every OS such as Redhat Enterprise Linux 5 or Fedora Core 6, has a specific directories layout.

Repositories

A repository is a set of well defined directories that contains installation images, software packages and certain meta information. Meta information such as yum meta information is used by Anaconda to install rpms.

Creating a repository

When a user adds a kit to the repository, the kit is associated with the repository. An OS kit must be added and that will define the OS type for the repository. The OS type will dictate the layout of the repository.

Once all the necessary kits have been added, a refresh is issued (-u option). A refresh will delete the repository and creates it. The repository in /depot/repos/<repoid> will be created by symlinking all the kits and third party packages into a directory where the packages will be stored. On Fedora Core 6, it will be /Fedora/RPMS. The necessary meta information will also be created.

During merging, the kits are merged in the following order: OS kit -> kits -> third party packages. A duplicate package that appears later will override the previous package even though the version might be lower.
Categories
Kusu/OCS

Comments

Trackbacks

Total Trackbacks 0
Trackback URL: