[yast-commit] r59718 - in /branches/SuSE-Code-11-SP1-Branch/bootloader: package/yast2-bootloader.changes src/clients/bootloader_proposal.ycp
Author: juhliarik Date: Mon Nov 23 16:41:40 2009 New Revision: 59718 URL: http://svn.opensuse.org/viewcvs/yast?rev=59718&view=rev Log: added fix for autoyast installation Modified: branches/SuSE-Code-11-SP1-Branch/bootloader/package/yast2-bootloader.changes branches/SuSE-Code-11-SP1-Branch/bootloader/src/clients/bootloader_proposal.ycp Modified: branches/SuSE-Code-11-SP1-Branch/bootloader/package/yast2-bootloader.changes URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP1-Branch/bootloader/package/yast2-bootloader.changes?rev=59718&r1=59717&r2=59718&view=diff ============================================================================== --- branches/SuSE-Code-11-SP1-Branch/bootloader/package/yast2-bootloader.changes (original) +++ branches/SuSE-Code-11-SP1-Branch/bootloader/package/yast2-bootloader.changes Mon Nov 23 16:41:40 2009 @@ -1,4 +1,12 @@ ------------------------------------------------------------------- +Mon Nov 23 16:38:57 CET 2009 - juhliarik@suse.cz + +- added support for installing an booting MD RAID from Intel + (fate#305883) and (fate#307447) +- added fix for updating configuration of bootloader in autoyast + installation (bnc#556052) + +------------------------------------------------------------------- Wed Nov 18 16:18:57 CET 2009 - juhliarik@suse.cz - added fix for updating device.map (bnc#477778) Modified: branches/SuSE-Code-11-SP1-Branch/bootloader/src/clients/bootloader_proposal.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP1-Branch/bootloader/src/clients/bootloader_proposal.ycp?rev=59718&r1=59717&r2=59718&view=diff ============================================================================== --- branches/SuSE-Code-11-SP1-Branch/bootloader/src/clients/bootloader_proposal.ycp (original) +++ branches/SuSE-Code-11-SP1-Branch/bootloader/src/clients/bootloader_proposal.ycp Mon Nov 23 16:41:40 2009 @@ -214,6 +214,28 @@ } + + //bnc #556052 problem with changes in storage during installation via autoyast + if ((BootCommon::cached_settings_base_data_change_time != Storage::GetTargetChangeTime()) && + (BootCommon::cached_settings_base_data_change_time != nil) && + (Bootloader::getLoaderType () == "grub") && + (Mode::autoinst ())) + { + + if (Popup::TimedOKCancel(_("Changes in disk partitioning were detected since the time the bootloader was configured. +Do you want to propose bootloader configuration again? +If yes, all previous bootloader configuration will be lost. +If not, you probably need to change the configuration manually."), 10)) + { + y2milestone ("Partitionig of disk was changed => reset proposal"); + BootCommon::Reset (true); + Bootloader::Propose(); + } else { + y2warning ("User cancel automatic changes in bootloader during autoyast installation"); + } + } + + // cache the values Bootloader::cached_settings = Bootloader::Export(); BootCommon::cached_settings_base_data_change_time = Storage::GetTargetChangeTime(); -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
juhliarik@svn.opensuse.org