[yast-commit] r40525 - /trunk/product-creator/src/ProductCreator.ycp
Author: jsuchome Date: Tue Aug 28 11:12:00 2007 New Revision: 40525 URL: http://svn.opensuse.org/viewcvs/yast?rev=40525&view=rev Log: include the package from "post-packages" section of autoyast profile (#291776 Modified: trunk/product-creator/src/ProductCreator.ycp Modified: trunk/product-creator/src/ProductCreator.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/product-creator/src/ProductCreator.ycp?rev=40525&r1=40524&r2=40525&view=diff ============================================================================== --- trunk/product-creator/src/ProductCreator.ycp (original) +++ trunk/product-creator/src/ProductCreator.ycp Tue Aug 28 11:12:00 2007 @@ -2292,6 +2292,18 @@ PackageAI::toinstall = software["packages"]:[]; Config["packages"] = AutoinstSoftware::autoinstPackages(); + + // add "post-packages" + list post_packages = software["post-packages"]:[]; + if (size(post_packages) > 0) + { + y2milestone("Adding \"post-packages\": %1", post_packages); + Config["packages"] = union(Config["packages"]:[], post_packages); + } + + // TODO: remove also "remove-packages" from the list? + // Is it safe to remove them due to possible dependencies?? + y2milestone("Config: %1", Config ); profile_parsed = true; return true; -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
jsuchome@svn.opensuse.org