1 |
--- smeserver-yum-2.2.0/root/etc/e-smith/templates/etc/sysconfig/protected-packages/template-begin.protected 2008-11-24 09:06:30.000000000 -0700 |
2 |
+++ smeserver-yum-2.2.0/root/etc/e-smith/templates/etc/sysconfig/protected-packages/template-begin 2008-11-24 09:06:30.000000000 -0700 |
3 |
@@ -0,0 +1,4 @@ |
4 |
+{ |
5 |
+ $pkgs = $yum{Protected} || 'e-smith-base,smeserver-support'; |
6 |
+ $OUT = join "\n", split /[,;]/, $pkgs; |
7 |
+} |
8 |
--- smeserver-yum-2.2.0/createlinks.protected 2008-11-24 09:02:03.000000000 -0700 |
9 |
+++ smeserver-yum-2.2.0/createlinks 2008-11-24 09:07:31.000000000 -0700 |
10 |
@@ -4,7 +4,8 @@ |
11 |
use File::Basename; |
12 |
use File::Path; |
13 |
|
14 |
-foreach my $file (qw(/etc/yum.conf /etc/yum.smerepos.d/sme-base.repo)) |
15 |
+foreach my $file (qw(/etc/yum.conf /etc/sysconfig/protected-packages |
16 |
+ /etc/yum.smerepos.d/sme-base.repo)) |
17 |
{ |
18 |
templates2events($file, qw(yum-modify bootstrap-console-save)); |
19 |
} |