[debian-lan-devel] [debian-lan] 01/02: Not needed anymore, fixed upstream.

Andreas B. Mundt andi at moszumanska.debian.org
Thu Aug 7 15:47:17 UTC 2014


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

andi pushed a commit to branch master
in repository debian-lan.

commit 81655a30a4e3fe851fc1240444400a1693608b8b
Author: Andreas B. Mundt <andi at debian.org>
Date:   Thu Aug 7 15:39:15 2014 +0200

    Not needed anymore, fixed upstream.
---
 fai/config/hooks/partition.DEFAULT | 19 -------------------
 1 file changed, 19 deletions(-)

diff --git a/fai/config/hooks/partition.DEFAULT b/fai/config/hooks/partition.DEFAULT
deleted file mode 100755
index e99ce80..0000000
--- a/fai/config/hooks/partition.DEFAULT
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/bin/bash
-#
-#  Wipe old partition table.
-#
-
-set -e
-
-# FIXME:  This is needed because of #693701
-
-VG=$(vgscan | grep -o '".*"' | sed "s/\"//g")
-if [ -n "$VG" ] ; then
-    echo "Deactivating volume group \"$VG\"."
-    lvchange -a n $VG
-fi
-
-for DEV in $(lsblk -n -o NAME,TYPE | grep disk | cut -d ' ' -f 1) ; do
-    echo "Wiping MBR of /dev/${DEV}."
-    parted -s /dev/${DEV} mklabel msdos
-done

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



More information about the debian-lan-devel mailing list