In managing an offline system I have done
- created /etc/yum.repos.d/dvd.repo to havefile:///root/repo/dvd
- copied the dvd contents to /root/repo/dvd
- created /etc/yum.repos.d/local.repo to have file :///root/repo/local
- do a createrepo [--update] root/repo/local
- copy all downloaded or updated rpms from my online system to /root/repo/local on this offline system
I would rather know (if it didn't come from dvd) the originating repo such as EPEL or Elrepo or nux like how it is on my online system. Is it possible to know this after I have dumped all rpm's now into one folder (named local) ?
I have imported the rpm-gpg files for epel, elrepo, nux on my offline system and with gpg=1 in /etc/yum.conf that aspect of things seems to be working problem free.