You must run the repo creating script 'mklocalrepo.sh' at the root dir of xcat-dep/. The correct path should be xcat-dep/rh7/x86_64 to run the 'mklocalrepo'.
Following is the example of my env:
Repo-id : xcat-depRepo-name : xCAT 2 depedenciesRepo-status : enabledRepo-revision: 14478798
yum repolist -v xcat*
Loading "fastestmirror" plugin
Loading "langpacks" plugin
Adding en_US.UTF-8 to language list
Config time: 0.013
Yum version: 3.4.3
Loading mirror speeds from cached hostfile
Setting up Package Sacks
pkgsack time: 0.010
Repo-id : xcat-2-core
Repo-name: xCAT 2 Core pac