100 | | Note that RPM tools do not understand <path_to_repo> if it contains the drive specification. In this case you will have to add a kLIBC path rewriter entry that maps e.g. {{{/drives/p}}} to your {{{P:}}} drive and then {{{baseurl}}} will become {{{"file:///drives/p/temp/build/RPMS"}}} and for {{{createrepo}}} you will give {{{"/drives/p/temp/build/RPMS"}}}. Be sure to add a trailing / after P: in the klibc path rewriter rule. |
| 100 | As YUM doesn't understand the : after our driveletter, 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 | |
| 102 | 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"}}} |