Comment 3 for bug 1365444

Revision history for this message
Travis Bean (tlbean) wrote :

#!/bin/bash
# Compile and install Distributed Lock Manager.
apt-get -y install daemon
cd /usr/src
apt-get source dlm
apt-get build-dep dlm
cd dlm-*
# Patch for broken init reference.
sed -i "s|/etc/rc.d/init.d/functions|/lib/lsb/init-functions|" init/dlm.init
debuild -b
cd ..
dpkg -i libdlm*.deb # Prerequisite Depends for DLM.
dpkg -i dlm_*.deb
rm -rf {libdlm*,dlm*}