Install optional product and updates packages (#1155228)

To make it easier for users to add product and updates images look for
any packages that provide lorax-product-* or lorax-updates-*

Related: rhbz#1155228
This commit is contained in:
Brian C. Lane 2014-11-20 13:48:46 -08:00
parent e7fd9c0117
commit 232451a4a2
2 changed files with 8 additions and 0 deletions

View File

@ -16,3 +16,5 @@ you would put your custom class here:
/usr/share/lorax/product/run/install/product/pyanaconda/installclasses/custom.py
If the repository that lorax uses contains packages with lorax-product-* and/or
lorax-updates-* provides it will add these packages to the image.

View File

@ -45,6 +45,12 @@ installpkg grubby
installpkg lsscsi s390utils-base s390utils-cmsfs-fuse
%endif
## optional product.img or updates.img files
log "Looking for extra lorax-product- packages..."
-installpkg lorax-product-*
log "Looking for extra lorax-updates- packages..."
-installpkg lorax-updates-*
## yay, plymouth
installpkg plymouth