Author: aschnell Date: Tue Jun 21 17:21:23 2011 New Revision: 64511 URL: http://svn.opensuse.org/viewcvs/yast?rev=64511&view=rev Log: - configure snapper when root is on btrfs Modified: branches/SuSE-Code-11-SP2-Branch/storage/storage/src/storage_finish.ycp Modified: branches/SuSE-Code-11-SP2-Branch/storage/storage/src/storage_finish.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP2-Branch/storage/storage/src/storage_finish.ycp?rev=64511&r1=64510&r2=64511&view=diff ============================================================================== --- branches/SuSE-Code-11-SP2-Branch/storage/storage/src/storage_finish.ycp (original) +++ branches/SuSE-Code-11-SP2-Branch/storage/storage/src/storage_finish.ycp Tue Jun 21 17:21:23 2011 @@ -71,6 +71,18 @@ } Storage::SaveUsedFs(); StorageSettings::Save(); + + if (Mode::installation()) + { + map part = Storage::GetEntryForMountpoint("/"); + if (part["used_fs"]:`unknown == `btrfs) + { + y2milestone("configuring snapper"); + SCR::Execute(.target.bash, "/usr/bin/snapper create-config /"); + SCR::Write(.sysconfig.yast2.USE_SNAPPER, "yes"); + } + } + } else { -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org