[OpenAFS] OpenAFS on mandriva linux 2006

Derek Atkins warlord@MIT.EDU
Tue, 28 Mar 2006 10:34:24 -0500


"Paul Johnson" <pauljohn32@gmail.com> writes:

> Forgot to mention one thing.  After you install the RPM file, it is
> necessary (as root) to do
>
> /sbin/depmod -a
>
> This should be in the SPEC file, but it is not.

Sure it is!  (Or at least it's in my development version and will be
in 1.4.1).

[snip]
%if %{up_package}
%post kernel
/sbin/depmod -ae %{kernvers}

%postun kernel
/sbin/depmod -ae %{kernvers}

%endif
%if %{smp_package}

%post kernel-smp
/sbin/depmod -ae %{kernvers}%{?smp_ext:%{smp_ext}}

%postun kernel-smp
/sbin/depmod -ae %{kernvers}%{?smp_ext:%{smp_ext}}

%endif
[snip]

-derek
-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord@MIT.EDU                        PGP key available