Author: lslezak Date: Fri Nov 9 10:37:52 2007 New Revision: 41902 URL: http://svn.opensuse.org/viewcvs/yast?rev=41902&view=rev Log: - install required package createrepo (#331530), install additional packages on PPC Modified: trunk/product-creator/package/yast2-product-creator.changes trunk/product-creator/src/wizards.ycp Modified: trunk/product-creator/package/yast2-product-creator.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/product-creator/package/yast2-product-creator.changes?rev=41902&r1=41901&r2=41902&view=diff ============================================================================== --- trunk/product-creator/package/yast2-product-creator.changes (original) +++ trunk/product-creator/package/yast2-product-creator.changes Fri Nov 9 10:37:52 2007 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Fri Nov 9 10:36:55 CET 2007 - lslezak@suse.cz + +- install required package createrepo (#331530), install additional + packages on PPC + +------------------------------------------------------------------- Fri Nov 2 11:13:58 CET 2007 - jsuchome@suse.cz - correctly escape strings which should be written to config.xml Modified: trunk/product-creator/src/wizards.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/product-creator/src/wizards.ycp?rev=41902&r1=41901&r2=41902&view=diff ============================================================================== --- trunk/product-creator/src/wizards.ycp (original) +++ trunk/product-creator/src/wizards.ycp Fri Nov 9 10:37:52 2007 @@ -296,7 +296,17 @@ Wizard::CreateDialog(); Wizard::SetDesktopIcon("cd-creator"); // .content_file agent is in yast2-instserver package - TODO: move it to yast2.rpm - if (!Package::InstallAll(["inst-source-utils", "mkisofs", "yast2-instserver"])) + list<string> required_packages = ["inst-source-utils", "mkisofs", "yast2-instserver", "createrepo"]; + + // add PPC specific packages + if (Arch::architecture() == "ppc" || Arch::architecture() == "ppc64") + { + // /bin/objcopy - binutils + // /bin/mkzimage - lilo + required_packages = (list<string>)union(required_packages, ["binutils", "lilo"]); + } + + if (!Package::InstallAll(required_packages)) { Popup::Error(_("Installation of required packages failed.")); -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org