[CentOS] how to reinit an own repo after adding files?

Sat Oct 19 13:30:01 UTC 2019
Leon Fauster <leonfauster at googlemail.com>

Am 19.10.19 um 12:26 schrieb Ralf Prengel:
> Hallo,
> I try to use my own repo.
> The problem:
> The repo is working when using it while installing a fresh system using pxe and kickstart.
> When changing the content and rebuilding the repo new packages are not found.
> My question:
> What is the right way to reinit a repo complete? I tried several hints I found in the web but new packages are never found.

yum search createrepo