diff options
author | Dieter Plaetinck <dieter@plaetinck.be> | 2008-11-01 19:45:54 +0100 |
---|---|---|
committer | Dieter Plaetinck <dieter@plaetinck.be> | 2008-11-01 19:45:54 +0100 |
commit | c0e4422f14bc873ba73248f217acf46554191ee9 (patch) | |
tree | fc35f898e14664c326ef5dac57bf3ee3b483fc11 /src | |
parent | a95bfb1aaa4cf05dbb92a409f9a5ea8db720c98d (diff) |
stupid fixes for modprobe and mkdir/mount
Diffstat (limited to 'src')
-rw-r--r-- | src/profiles/profile-dieter | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/profiles/profile-dieter b/src/profiles/profile-dieter index 6574eb0..2b28182 100644 --- a/src/profiles/profile-dieter +++ b/src/profiles/profile-dieter @@ -33,7 +33,7 @@ worker_prepare_disks () ,,L EOF modprobe dm-crypt || die_error "Cannot modprobe dm-crypt" - modprobe -q 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 @@ -45,6 +45,7 @@ EOF lvcreate -L 3G -n var cryptpool for i in home root tmp var do + mkdir -p $var_TARGET_DIR/$i mke2fs -j /dev/cryptpool/$i && mount /dev/cryptpool/$i $var_TARGET_DIR/$i done |