/[smeserver]/rpms/e-smith-base/sme8/e-smith-base-5.2.0-weak-updates.patch
ViewVC logotype

Contents of /rpms/e-smith-base/sme8/e-smith-base-5.2.0-weak-updates.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Tue Nov 30 19:58:45 2010 UTC (13 years, 11 months ago) by slords
Branch: MAIN
CVS Tags: e-smith-base-5_2_0-67_el5_sme, e-smith-base-5_2_0-71_el5_sme, e-smith-base-5_2_0-68_el5_sme, e-smith-base-5_2_0-77_el5_sme, e-smith-base-5_2_0-59_el5_sme, e-smith-base-5_2_0-56_el5_sme, e-smith-base-5_2_0-55_el5_sme, e-smith-base-5_2_0-78_el5_sme, e-smith-base-5_2_0-86_el5_sme, e-smith-base-5_2_0-76_el5_sme, e-smith-base-5_2_0-84_el5_sme, e-smith-base-5_2_0-65_el5_sme, e-smith-base-5_2_0-88_el5_sme, e-smith-base-5_2_0-64_el5_sme, e-smith-base-5_2_0-81_el5_sme, e-smith-base-5_2_0-82_el5_sme, e-smith-base-5_2_0-57_el5_sme, e-smith-base-5_2_0-89_el5_sme, e-smith-base-5_2_0-90_el5_sme, e-smith-base-5_2_0-87_el5_sme, e-smith-base-5_2_0-80_el5_sme, e-smith-base-5_2_0-70_el5_sme, e-smith-base-5_2_0-66_el5_sme, e-smith-base-5_2_0-63_el5_sme, e-smith-base-5_2_0-61_el5_sme, e-smith-base-5_2_0-60_el5_sme, e-smith-base-5_2_0-58_el5_sme, e-smith-base-5_2_0-85_el5_sme, e-smith-base-5_2_0-69_el5_sme, e-smith-base-5_2_0-79_el5_sme, e-smith-base-5_2_0-72_el5_sme, e-smith-base-5_2_0-75_el5_sme, e-smith-base-5_2_0-73_el5_sme, e-smith-base-5_2_0-62_el5_sme, e-smith-base-5_2_0-74_el5_sme, e-smith-base-5_2_0-83_el5_sme
* Tue Nov 30 2010 Shad L. Lords <slords@lordsfam.net> 5.2.0-55.sme
- Only remove dangling symlinks in weak-updates directories [SME: 6376]

1 diff -up e-smith-base-5.2.0/root/etc/e-smith/events/actions/conf-modules.weak-updates e-smith-base-5.2.0/root/etc/e-smith/events/actions/conf-modules
2 --- e-smith-base-5.2.0/root/etc/e-smith/events/actions/conf-modules.weak-updates 2010-11-30 12:50:14.000000000 -0700
3 +++ e-smith-base-5.2.0/root/etc/e-smith/events/actions/conf-modules 2010-11-30 12:57:26.000000000 -0700
4 @@ -25,7 +25,7 @@ use Errno;
5 use File::Find;
6
7 # Remove stale symlinks from /lib/modules
8 -finddepth(sub{unlink unless -e $_}, '/lib/modules/');
9 +finddepth({ wanted => sub{unlink if m{/weak-updates/} && ! -e $_}, no_chdir => 1}, '/lib/modules/');
10
11 opendir(BOOT, "/boot") or die("Can't open /boot directory: $!\n");
12

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed