Mailinglist Archive: yast-commit (502 mails)
| < Previous | Next > |
[yast-commit] r64501 - /branches/SuSE-Code-11-SP2-Branch/storage/storage/src/modules/Storage.ycp
- From: aschnell@xxxxxxxxxxxxxxxxx
- Date: Tue, 21 Jun 2011 09:17:24 -0000
- Message-id: <20110621091724.6356132641@svn2.opensuse.org>
Author: aschnell
Date: Tue Jun 21 11:17:23 2011
New Revision: 64501
URL: http://svn.opensuse.org/viewcvs/yast?rev=64501&view=rev
Log:
- install snapper when root is on btrfs
Modified:
branches/SuSE-Code-11-SP2-Branch/storage/storage/src/modules/Storage.ycp
Modified:
branches/SuSE-Code-11-SP2-Branch/storage/storage/src/modules/Storage.ycp
URL:
http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP2-Branch/storage/storage/src/modules/Storage.ycp?rev=64501&r1=64500&r2=64501&view=diff
==============================================================================
--- branches/SuSE-Code-11-SP2-Branch/storage/storage/src/modules/Storage.ycp
(original)
+++ branches/SuSE-Code-11-SP2-Branch/storage/storage/src/modules/Storage.ycp
Tue Jun 21 11:17:23 2011
@@ -4985,6 +4985,9 @@
}
+global map GetEntryForMountpoint(string mp);
+
+
global list<string> AddPackageList()
{
list<string> pl = hw_packages;
@@ -5032,6 +5035,13 @@
pl = add( pl, "pam_mount" );
}
+ map part = GetEntryForMountpoint("/");
+ if (part["used_fs"]:`unknown == `btrfs)
+ {
+ pl = add(pl, "snapper");
+ pl = add(pl, "yast2-snaper");
+ }
+
y2milestone("AddPackageList ret %1", pl);
return pl;
}
--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx
Date: Tue Jun 21 11:17:23 2011
New Revision: 64501
URL: http://svn.opensuse.org/viewcvs/yast?rev=64501&view=rev
Log:
- install snapper when root is on btrfs
Modified:
branches/SuSE-Code-11-SP2-Branch/storage/storage/src/modules/Storage.ycp
Modified:
branches/SuSE-Code-11-SP2-Branch/storage/storage/src/modules/Storage.ycp
URL:
http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP2-Branch/storage/storage/src/modules/Storage.ycp?rev=64501&r1=64500&r2=64501&view=diff
==============================================================================
--- branches/SuSE-Code-11-SP2-Branch/storage/storage/src/modules/Storage.ycp
(original)
+++ branches/SuSE-Code-11-SP2-Branch/storage/storage/src/modules/Storage.ycp
Tue Jun 21 11:17:23 2011
@@ -4985,6 +4985,9 @@
}
+global map GetEntryForMountpoint(string mp);
+
+
global list<string> AddPackageList()
{
list<string> pl = hw_packages;
@@ -5032,6 +5035,13 @@
pl = add( pl, "pam_mount" );
}
+ map part = GetEntryForMountpoint("/");
+ if (part["used_fs"]:`unknown == `btrfs)
+ {
+ pl = add(pl, "snapper");
+ pl = add(pl, "yast2-snaper");
+ }
+
y2milestone("AddPackageList ret %1", pl);
return pl;
}
--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx
| < Previous | Next > |