From d4efa678c78999859eecccf2fc149d2807aab1dd Mon Sep 17 00:00:00 2001 From: Marek Marczykowski Date: Sat, 16 Feb 2013 20:48:55 +0100 Subject: [PATCH] fedorize_image: support per-DIST packages.list Conflicts: Makefile --- fedorize_image | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fedorize_image b/fedorize_image index ba8f398..0752339 100755 --- a/fedorize_image +++ b/fedorize_image @@ -39,7 +39,8 @@ else fi -export PKGGROUPS=$(cat scripts_"${DIST}/packages.list") +PKGLISTFILE=$(shell [ -r scripts_"${DIST}/packages_$(DIST).list" ] && echo scripts_"${DIST}/packages_$(DIST).list" || echo scripts_"${DIST}/packages.list") +export PKGGROUPS=$(cat $PKGLISTFILE) echo "-> Installing package groups..." scripts_"${DIST}"/02_install_groups.sh