Install subscription-manager (#1026304)
Only use the product-id plugin. Resolves: rhbz#1026304
This commit is contained in:
parent
71002d3753
commit
09490877a0
@ -337,6 +337,10 @@ removefrom ${product.name}-logos /etc/*
|
|||||||
removefrom ${product.name}-logos /usr/share/icons/{Bluecurve,oxygen}/*
|
removefrom ${product.name}-logos /usr/share/icons/{Bluecurve,oxygen}/*
|
||||||
removefrom ${product.name}-logos /usr/share/{firstboot,gnome-screensaver,kde4,pixmaps}/*
|
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()
|
## cleanup_python_files()
|
||||||
runcmd find ${root} -name "*.pyo" -type f -delete
|
runcmd find ${root} -name "*.pyo" -type f -delete
|
||||||
runcmd find ${root} -name "*.pyc" -type f -exec ln -sf /dev/null {} \;
|
runcmd find ${root} -name "*.pyc" -type f -exec ln -sf /dev/null {} \;
|
||||||
|
@ -141,5 +141,8 @@ installpkg gdisk
|
|||||||
## yum plugins
|
## yum plugins
|
||||||
installpkg yum-langpacks
|
installpkg yum-langpacks
|
||||||
|
|
||||||
|
## RHEL packages
|
||||||
|
installpkg subscription-manager
|
||||||
|
|
||||||
## actually install all the requested packages
|
## actually install all the requested packages
|
||||||
run_pkg_transaction
|
run_pkg_transaction
|
||||||
|
Loading…
Reference in New Issue
Block a user