#!/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*}** Patch removed: "dlm.diff" https://bugs.launchpad.net/ubuntu/+source/gfs2-utils/+bug/1365444/+attachment/4290862/+files/dlm.diff ** Patch added: "dlm.diff" https://bugs.launchpad.net/ubuntu/+source/gfs2-utils/+bug/1365444/+attachment/4290863/+files/dlm.diff -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to gfs2-utils in Ubuntu. https://bugs.launchpad.net/bugs/1365444 Title: dlm has broken init script + missing a dependency To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gfs2-utils/+bug/1365444/+subscriptions -- Ubuntu-server-bugs mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
