diff options
author | Dieter Plaetinck <dieter@plaetinck.be> | 2008-11-01 18:13:10 +0100 |
---|---|---|
committer | Dieter Plaetinck <dieter@plaetinck.be> | 2008-11-01 18:13:10 +0100 |
commit | 91d4a8e82a178abe7caa6b3f8c6466554b710161 (patch) | |
tree | b00a51da8bc565d87aa3853e39f23155a0271c2e /src | |
parent | 8b619dd8609e4acaa58af11ba5aa52087c020e8e (diff) |
bogus warning fixes
Diffstat (limited to 'src')
-rw-r--r-- | src/profiles/profile-dieter | 4 |
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 |