]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
Give the modules packages a fighting chance of working with the 1.2.x
authorKarl Ramm <kcr@debian.org>
Tue, 5 Apr 2005 16:13:54 +0000 (16:13 +0000)
committerKarl Ramm <kcr@debian.org>
Tue, 5 Apr 2005 16:13:54 +0000 (16:13 +0000)
rc scripts by linking openafs.mp.o to to openafs.o if openafs.o exists.

debian/rules

index 2d583aa1f381dba4481ffce02e86ec491aafc4f3..a84ad3f3d2db5e7a0b225a213fdcf5b0dbaca16a 100755 (executable)
@@ -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