From: Karl Ramm Date: Tue, 5 Apr 2005 16:13:54 +0000 (+0000) Subject: Give the modules packages a fighting chance of working with the 1.2.x X-Git-Tag: debian/1.3.81-1~4 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=ebaa38494b39bd440cf78d2daa9e9f242edf869b;p=packages%2Fo%2Fopenafs.git Give the modules packages a fighting chance of working with the 1.2.x rc scripts by linking openafs.mp.o to to openafs.o if openafs.o exists. --- diff --git a/debian/rules b/debian/rules index 2d583aa1f..a84ad3f3d 100755 --- a/debian/rules +++ b/debian/rules @@ -244,6 +244,7 @@ binary-modules: build-modules install -g root -o root -m 755 debian/tmp/lib/openafs/*o \ debian/$(modulepkg)/lib/modules/$(KVERS)/fs # Fix some stuff up + if test -f debian/$(modulepkg)/lib/modules/$(KVERS)/fs/openafs.o -a ! -f debian/$(modulepkg)/lib/modules/$(KVERS)/fs/openafs.mp.o; then ln debian/$(modulepkg)/lib/modules/$(KVERS)/fs/openafs.o debian/$(modulepkg)/lib/modules/$(KVERS)/fs/openafs.mp.o; fi install -d -o root -g root -m 755 debian/$(modulepkg)/usr/share/doc ln -s openafs-client debian/$(modulepkg)/usr/share/doc/$(modulepkg) rm -rf debian/$(modulepkg)/usr/include