Changes between Version 27 and Version 28 of RpmHowToEndUsers


Ignore:
Timestamp:
Aug 17, 2018, 7:36:48 PM (6 years ago)
Author:
dmik
Comment:

Add missing : to createrepo example

Legend:

Unmodified
Added
Removed
Modified
  • RpmHowToEndUsers

    v27 v28  
    8686[local]
    8787name = My local repo
    88 #baseurl = file:x%3A/<path_to_repo>
    89 baseurl = file:x/<path_to_repo>
     88baseurl = file:X/:<path_to_repo>
    9089enabled=1
    9190}}}
    92  3. Put your .rpm files to x:/<path_to_repo>. The online repository is located here:
     91 3. Put your .rpm files to `X:/<path_to_repo>`. The online repository is located here:
    9392* http://rpm.netlabs.org/experimental/00/i386/
    9493* http://rpm.netlabs.org/release/00/i386/
     
    101100As YUM didn't understand the : after our drive letter, we need to use the %3A instead. This is the : in a URI. With the recent python build it understands drive letters, so the above %3A hack isn't needed anymore. The x above stands for any drive, where you want to store your local rpm. <path_to_repo> stands for the local directory.
    102101
    103 As example:[[br]]
    104 when your local repo is at q:\rpmbuild\localrepo, then you have to add in the local.repo file {{{baseurl = file:q:/rpmbuild/localrepo}}} and for createrepo it is {{{sh -c "createrepo q:/rpmbuild/localrepo"}}}
     102As an example:
     103
     104When your local repo is at `q:\rpmbuild\localrepo`, then you have to add in the local.repo file {{{baseurl = file:q:/rpmbuild/localrepo}}} and for createrepo it is {{{sh -c "createrepo q:/rpmbuild/localrepo"}}}
    105105
    106106== Note about upgrading from 2010 RPM builds ==