Install subscription-manager (#1026304)

Only use the product-id plugin.

Resolves: rhbz#1026304
This commit is contained in:
Brian C. Lane 2013-11-04 09:54:48 -08:00
parent 71002d3753
commit 09490877a0
2 changed files with 7 additions and 0 deletions

View File

@ -337,6 +337,10 @@ removefrom ${product.name}-logos /etc/*
removefrom ${product.name}-logos /usr/share/icons/{Bluecurve,oxygen}/*
removefrom ${product.name}-logos /usr/share/{firstboot,gnome-screensaver,kde4,pixmaps}/*
## RHEL cleanups
removefrom subscription-manager --allbut /etc/rhsm/* /usr/share/rhsm/* /var/log/rhsm/* \
/etc/yum/pluginconf.d/product-id.conf /usr/lib/yum-plugins/product-id.py
## cleanup_python_files()
runcmd find ${root} -name "*.pyo" -type f -delete
runcmd find ${root} -name "*.pyc" -type f -exec ln -sf /dev/null {} \;

View File

@ -141,5 +141,8 @@ installpkg gdisk
## yum plugins
installpkg yum-langpacks
## RHEL packages
installpkg subscription-manager
## actually install all the requested packages
run_pkg_transaction