From 232451a4a23af2ac38155c63f54b6d6d7eb0d86c Mon Sep 17 00:00:00 2001 From: "Brian C. Lane" Date: Thu, 20 Nov 2014 13:48:46 -0800 Subject: [PATCH] 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 --- README.product | 2 ++ share/runtime-install.tmpl | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/README.product b/README.product index ec6e516f..190f6c55 100644 --- a/README.product +++ b/README.product @@ -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. diff --git a/share/runtime-install.tmpl b/share/runtime-install.tmpl index cc3ec00f..d9c678d0 100644 --- a/share/runtime-install.tmpl +++ b/share/runtime-install.tmpl @@ -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