/[smeserver]/rpms/e-smith-base/sme7/e-smith-base-4.18.0-depmod.patch
ViewVC logotype

Annotation of /rpms/e-smith-base/sme7/e-smith-base-4.18.0-depmod.patch

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


Revision 1.1 - (hide annotations) (download)
Tue Jun 12 15:16:00 2007 UTC (17 years, 5 months ago) by slords
Branch: MAIN
CVS Tags: e-smith-base-4_18_0-66_el4_sme, e-smith-base-4_18_0-78_el4_sme, e-smith-base-4_18_0-102_el4_sme, e-smith-base-4_18_0-98_el4_sme, e-smith-base-4_18_0-92_el4_sme, e-smith-base-4_18_0-99_el4_sme, e-smith-base-4_18_0-103_el4_sme, e-smith-base-4_18_0-89_el4_sme, e-smith-base-4_18_0-82_el4_sme, e-smith-base-4_18_0-63_el4_sme, e-smith-base-4_18_0-101_el4_sme, e-smith-base-4_18_0-76_el4_sme, e-smith-base-4_18_0-62_el4_sme, e-smith-base-4_18_0-61_el4_sme, e-smith-base-4_18_0-77_el4_sme, e-smith-base-4_18_0-69_el4_sme, e-smith-base-4_18_0-58_el4_sme, e-smith-base-4_18_0-88_el4_sme, e-smith-base-4_18_0-75_el4_sme, e-smith-base-4_18_0-73_el4_sme, e-smith-base-4_18_0-67_el4_sme, e-smith-base-4_18_0-90_el4_sme, e-smith-base-4_18_0-94_el4_sme, e-smith-base-4_18_0-59_el4_sme, e-smith-base-4_18_0-71_el4_sme, e-smith-base-4_18_0-60_el4_sme, e-smith-base-4_18_0-100_el4_sme, e-smith-base-4_18_0-72_el4_sme, e-smith-base-4_18_0-81_el4_sme, e-smith-base-4_18_0-79_el4_sme, e-smith-base-4_18_0-64_el4_sme, e-smith-base-4_18_0-87_el4_sme, e-smith-base-4_18_0-83_el4_sme, e-smith-base-4_18_0-104_el4_sme
Import on branch sme7 of package e-smith-base-4.18.0-58.el4.sme.src.rpm

1 slords 1.1 diff -Nur -x '*.orig' -x '*.rej' e-smith-base-4.18.0/root/etc/e-smith/events/actions/conf-modules mezzanine_patched_e-smith-base-4.18.0/root/etc/e-smith/events/actions/conf-modules
2     --- e-smith-base-4.18.0/root/etc/e-smith/events/actions/conf-modules 2005-11-20 21:28:05.000000000 -0700
3     +++ mezzanine_patched_e-smith-base-4.18.0/root/etc/e-smith/events/actions/conf-modules 2007-04-05 12:35:52.000000000 -0600
4     @@ -32,33 +32,7 @@
5     while (defined (my $file = readdir(BOOT)))
6     {
7     next unless $file =~ /System.map-(.*)/;
8     - my $version = $1;
9     - open(MODULES, "</etc/modprobe.conf") or
10     - die "Could not read /etc/modprobe.conf: $!";
11     -
12     - my $pid = open(DEPMOD, "|-");
13     - $SIG{ALRM} = sub { die "whoops, depmod pipe broke" };
14     -
15     - if ($pid)
16     - { # parent
17     - while (<MODULES>)
18     - {
19     - s/\$\(\/bin\/uname -r\)/$version/;
20     - print DEPMOD;
21     - }
22     - close(DEPMOD) || warn "depmod exited $?";
23     - close(MODULES);
24     - }
25     - else
26     - { # child
27     - exec("/sbin/depmod",
28     - "-C", "/dev/stdin",
29     - "-a",
30     - "-F", "/boot/System.map-$version",
31     - "$version")
32     - or die "can't exec depmod: $!";
33     - # NOTREACHED
34     - }
35     + exec("/sbin/depmod", "-a", "-F", "/boot/System.map-$1", "$1")
36     }
37     closedir(BOOT) or die("Can't close /boot: $!\n");
38    

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