Changes between Version 26 and Version 27 of RpmHowToEndUsers
- Timestamp:
- Jul 25, 2018, 9:36:28 AM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
RpmHowToEndUsers
v26 v27 86 86 [local] 87 87 name = My local repo 88 baseurl = file:x%3A/<path_to_repo> 88 #baseurl = file:x%3A/<path_to_repo> 89 baseurl = file:x/<path_to_repo> 89 90 enabled=1 90 91 }}} … … 98 99 }}} 99 100 100 As YUM d oesn't understand the : after our drive letter, we need to use the %3A instead. This is the : in a URI. The x above stands for any drive, where you want to store your local rpm. <path_to_repo> stands for the local directory.101 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. 101 102 102 103 As example:[[br]] 103 when your local repo is at q:\rpmbuild\localrepo, then you have to add in the local.repo file {{{baseurl = file:q %3A/rpmbuild/localrepo}}} and for createrepo it is {{{sh -c "createrepo q:/rpmbuild/localrepo"}}}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"}}} 104 105 105 106 == Note about upgrading from 2010 RPM builds ==