[Piuparts-commits] [piuparts] 02/07: add unowned-lib-links exception for mpi-default-dev

Holger Levsen holger at moszumanska.debian.org
Fri Jul 3 09:37:45 UTC 2015


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch develop
in repository piuparts.

commit 00f641cdc5be08a1b7b64e0ed4265b0d49accadf
Author: Andreas Beckmann <anbe at debian.org>
Date:   Tue Jun 30 19:01:33 2015 +0200

    add unowned-lib-links exception for mpi-default-dev
    
    some links are managed by alternatives,
    and ldconfig adds some soname links
    
    Signed-off-by: Andreas Beckmann <anbe at debian.org>
---
 custom-scripts/scripts/pre_remove_40_find_unowned_lib_links | 12 ++++++++++++
 debian/changelog                                            |  2 ++
 2 files changed, 14 insertions(+)

diff --git a/custom-scripts/scripts/pre_remove_40_find_unowned_lib_links b/custom-scripts/scripts/pre_remove_40_find_unowned_lib_links
index b2da032..8567cce 100755
--- a/custom-scripts/scripts/pre_remove_40_find_unowned_lib_links
+++ b/custom-scripts/scripts/pre_remove_40_find_unowned_lib_links
@@ -17,6 +17,18 @@ do
 					# created by lsb-core
 					continue
 					;;
+				/usr/lib/libfmpich.so.12|\
+				/usr/lib/libmpich.so.12|\
+				/usr/lib/libmpichcxx.so.12|\
+				/usr/lib/libmpichf90.so.12)
+					if [ -f /etc/alternatives/libmpi.so ]
+					then
+						# managed by mpi-default-dev via alternatives
+						# to /usr/lib/<triplet>/lib${impl}.so
+						# ldconfig adds the "real" soname links
+						continue
+					fi
+					;;
 			esac
 			echo "UNOWNED SYMLINK $f -> $rl"
 		fi
diff --git a/debian/changelog b/debian/changelog
index d903b08..4dd0eb9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,8 @@ piuparts (0.65) UNRELEASED; urgency=medium
   * scripts/post_distupgrade_exceptions:
     - Fix the /etc/nsswitch.conf wheezy -> jessie upgrade handling.
   * Add bug template for wheezy -> jessie -> stretch upgrades.
+  * scripts/pre_remove_40_find_unowned_lib_links: Ignore some symlinks caused
+    by mpi-default-dev.
 
  -- Holger Levsen <holger at debian.org>  Fri, 12 Jun 2015 13:43:42 +0200
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/piuparts/piuparts.git



More information about the Piuparts-commits mailing list