From e698c06daba1cf95184b1d0ffe5ac630f67aeb8f Mon Sep 17 00:00:00 2001 From: Jurij Smakov Date: Thu, 7 Jul 2005 02:49:33 +0000 Subject: [PATCH] Remove the build and source symbolic links from /lib/modules/${version}, as leaving them in generates scary warnings during the image installation. svn path=/trunk/kernel/source/linux-kernel-2.6.12/; revision=3426 --- debian/templates/post-install.in | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/debian/templates/post-install.in b/debian/templates/post-install.in index 7bf793525..3e025431a 100644 --- a/debian/templates/post-install.in +++ b/debian/templates/post-install.in @@ -105,3 +105,12 @@ if [ -n "${modules}" ]; then fi done fi +# +# Clean up the build and source symlinks +# +if [ -L build ]; then + rm -f build +fi +if [ -L source ]; then + rm -f source +fi