From eb94bb8f7e88e8d8b7d5959ccdb0684e69e40315 Mon Sep 17 00:00:00 2001 From: Kees Cook Date: Sun, 30 Aug 2009 10:50:49 -0700 Subject: [PATCH] releasing version 0.76 --- debian/changelog | 2 +- mk-sbuild-lv | 8 +++----- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/debian/changelog b/debian/changelog index 76471d8..eb18288 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -ubuntu-dev-tools (0.76) UNRELEASED; urgency=low +ubuntu-dev-tools (0.76) karmic; urgency=low [ Nicolas Valcárcel ] * mk-sbuild-lv: diff --git a/mk-sbuild-lv b/mk-sbuild-lv index 33cca9e..cc9c46e 100755 --- a/mk-sbuild-lv +++ b/mk-sbuild-lv @@ -40,12 +40,10 @@ fi if [ ! -w /var/lib/sbuild ]; then # Load all the packages you'll need to do work sudo apt-get install sbuild schroot debootstrap lvm2 - # Make sure dm_snapshot is not built-in into the kernel - sudo bash -c "dmsetup targets | grep ^snapshot > /dev/null || BUILTIN=False" - if [ "$BUILTIN" = "False" ]; then - # Make sure LVM tools that operate on the snapshots have needed module + # Make sure LVM tools that operate on the snapshots have needed module + if ! sudo dmsetup targets | grep -q ^snapshot; then sudo modprobe dm_snapshot - sudo bash -c "grep ^dm_snapshot /etc/modules >/dev/null || echo dm_snapshot >> /etc/modules" + echo dm_snapshot | sudo tee -a /etc/modules >/dev/null fi # Add self to the sbuild group sudo adduser "$USER" sbuild