Ignore:
Timestamp:
Jun 16, 2011, 2:32:59 PM (13 years ago)
Author:
achernya
Message:
Change createrepo recommendation

Previously, the Scripts repo was generated without sqlite databases 
for yum. These would be nice to have, as they make the yum update
process better (yum would have to generate the databases itself, 
slowing it down). Recommendation is now to do `createrepo -d`, to
generate the databases. 

This recommendation has not been added to upgrade-tips, because it
doesn't really matter for mock-local.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/fc15-dev/server/doc/package-build-howto

    r1712 r1907  
    5050
    5151  * # Rebuild the repo metadata to include the new packages.
    52     cd /mit/scripts/rpm-fc[RELEASE]
     52    cd /mit/scripts/yum-repos/rpm-fc[RELEASE]
    5353    # If you have a trusted machine:
    54     createrepo .
     54    createrepo -d .
    5555    # Otherwise, on a scripts server, as root:
    5656    mkdir /root/repodata-YYYYMMDD # Or any suitable temp directory
    57     createrepo -o /root/repodata-YYYYMMDD .
     57    createrepo -d -o /root/repodata-YYYYMMDD .
    5858    # Then from your trusted machine
    5959    krootscp -r root@[BUILD-SERVER]:/root/repodata-YYYYMMDD /mit/scripts/rpm-fc[RELEASE]
Note: See TracChangeset for help on using the changeset viewer.