/**
 * File:
 *   auto_finish.ycp
 *
 * Module: 
 *    
 *
 * Summary:
 *
 * Authors:
 *    Unknown <yast2-hacker@suse.de>
 *
 * $Id: auto_finish.ycp 21828 2005-02-22 13:04:15Z fehr $
 *
 */
{
 
    import "Storage";


define void rewrite_settings( list partitions, map target, map<string,map> targetMap ) 
    ``{
    target = add (target, "partitions", partitions);
    targetMap = add (targetMap, target_is, target);

    targetMap = Storage::SpecialBootHandling(targetMap);
    targetMap = Storage::DeleteDestroyedLvmVgs(targetMap);
    Storage::SetTargetMap( targetMap );

    SCR::Write( .target.ycp, Storage::SaveDumpPath("final_partitions"), 
                partitions );
    };

}
