yum源中添加rpm包
导入新加的rpm cd /root/ks.iso/iso 将收集好的rpm,放到AppStream、BaseOS中的Packages中,然后重新生成repodata mkdir /root/zip cp /mnt/AppStream/repodata/e1428debe6fbc707d9e40f69b9df9da1e26c2af25bce7509e41068cc57b54d59-comps-AppStream.x86_64.xml.gz . gzip -d e1428debe6fbc707d9e40f69b9df9da1e26c2af25bce7509e41068cc57b54d59-comps-AppStream.x86_64.xml.gz cd ./AppStream/ createrepo_c -g /mnt/AppStream/repodata/d38ae79097e78b4222a259c16c0c8c67ffb5483816bb0667c1f55ed8ad574d1c-comps-AppStream.x86_64.xml -d . modifyrepo_c --mdtype=modules /root/zip/e1428debe6fbc707d9e40f69b9df9da1e26c2af25bce7509e41068cc57b54d59-comps-AppStream.x86_64.xml repodata/