diff options
Diffstat (limited to 'redhat/buildenv.sh')
-rw-r--r-- | redhat/buildenv.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/redhat/buildenv.sh b/redhat/buildenv.sh index da59a2953..408f33759 100644 --- a/redhat/buildenv.sh +++ b/redhat/buildenv.sh @@ -53,3 +53,6 @@ checknew() { # Build local repository metadata (Mageia) alias cru='(cdrpm; genhdlist2 noarch; genhdlist2 $(uname -i); sudo urpmi.update rpmbuild.$(uname -i) rpmbuild.noarch)' alias cruc='(cdrpm; genhdlist2 --clean noarch; genhdlist2 --clean $(uname -i); sudo urpmi.update rpmbuild.$(uname -i) rpmbuild.noarch)' + +# Build local repository (RHEL) +alias cry='(cdrpm; createrepo $(uname -i); createrepo noarch; sudo yum clean all --disablerepo="*" --enablerepo="rpmbuild*")' |