summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDieter Plaetinck <dieter@plaetinck.be>2008-11-01 18:13:10 +0100
committerDieter Plaetinck <dieter@plaetinck.be>2008-11-01 18:13:10 +0100
commit91d4a8e82a178abe7caa6b3f8c6466554b710161 (patch)
treeb00a51da8bc565d87aa3853e39f23155a0271c2e /src
parent8b619dd8609e4acaa58af11ba5aa52087c020e8e (diff)
bogus warning fixes
Diffstat (limited to 'src')
-rw-r--r--src/profiles/profile-dieter4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/profiles/profile-dieter b/src/profiles/profile-dieter
index 05e03fc..a704876 100644
--- a/src/profiles/profile-dieter
+++ b/src/profiles/profile-dieter
@@ -28,12 +28,12 @@ phase_preparation ()
worker_prepare_disks ()
{
#TODO: integrate this stuff into the functions in the libs + do error checking and handling
- sfdisk /dev/sda << EOF
+ sfdisk /dev/sda 2>&1 | grep -v 'not have an msdos signature' << EOF
,10,L,*
,,L
EOF
modprobe dm-crypt || die_error "Cannot modprobe dm-crypt"
- modprobe aes-x86-64 || modprobe aes-i586 || die_error "Cannot modprobe aes-x86-64 or aes-i586"
+ modprobe -q aes-x86-64 || modprobe aes-i586 || die_error "Cannot modprobe aes-x86-64 or aes-i586"
cryptsetup -c aes-xts-plain -y -s 512 luksFormat /dev/sda2
cryptsetup luksOpen /dev/sda2 sda2_crypt
pvcreate /dev/mapper/sda2_crypt