diff --git a/xCAT-server/debian/postinst b/xCAT-server/debian/postinst index 3a87d05c5..5bbbe0d08 100644 --- a/xCAT-server/debian/postinst +++ b/xCAT-server/debian/postinst @@ -32,7 +32,13 @@ case "$1" in fi fi ln -sf /opt/xcat/sbin/xcatd /usr/sbin/xcatd - + #SHA1 has been get rid of after Squeeze released. Its functionality is also provided by Digest::SHA (which is in core). + #but ipmi.pm need SHA1.pm, so create this link + shalocate=`find / -name "SHA.pm"` + shalocate=${shalocate%SHA.pm} + cd $shalocate + ln -s SHA.pm SHA1.pm + cd - ;; abort-upgrade|abort-remove|abort-deconfigure)