Changes between Version 27 and Version 28 of RpmHowToEndUsers
- Timestamp:
- Aug 17, 2018, 7:36:48 PM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
RpmHowToEndUsers
v27 v28 86 86 [local] 87 87 name = My local repo 88 #baseurl = file:x%3A/<path_to_repo> 89 baseurl = file:x/<path_to_repo> 88 baseurl = file:X/:<path_to_repo> 90 89 enabled=1 91 90 }}} 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: 93 92 * http://rpm.netlabs.org/experimental/00/i386/ 94 93 * http://rpm.netlabs.org/release/00/i386/ … … 101 100 As 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. 102 101 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"}}} 102 As an example: 103 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"}}} 105 105 106 106 == Note about upgrading from 2010 RPM builds ==