Sunder Ganesan
Sunder Ganesan

Reputation: 91

create repo to install list of files using yum

Requirement: linux would be receiving activity to schedule the patches (mostly rpms). I am looking to create repo on activity with list of rpms. This is continues. When scheduled, the activity should run "yum install activity repo". The /etc/yum.repos.d/myrepo should be looking into scheduled activity repo. The repo creation is based on activity json file, which has list of packageid and each package Id has 10 or more rpms. yum install to run on each packageid(list of rpms).

Once the activity is over, the corresponding repo should be deleted from list of repos currently in active list.

createrepo --pkglist, createrepo --groupfile - don't how to use it.

as when activity scheduled. corresponding repo to be created, when scheduled, yum install on repos should occur, usage of yum command and /etc/yum.repos.d/ is expected.

Upvotes: 0

Views: 378

Answers (1)

msuchy
msuchy

Reputation: 5427

Why would you remove the repo after you install package from that repo? That would hinder other activities with yum.

Anyway, nothing such exists. Closest is Red Hat Satellite which allows you to create reports on server, group them and pass through the various environment (QE, staging, production) and to schedule updates.

Upvotes: 0

Related Questions