diff options
author | Dieter Plaetinck <dieter@plaetinck.be> | 2008-12-14 18:27:19 +0100 |
---|---|---|
committer | Dieter Plaetinck <dieter@plaetinck.be> | 2008-12-14 18:27:19 +0100 |
commit | 801b3d4a7f925e7b9ad63f795f7a7bdc92fd75a7 (patch) | |
tree | 6e3266792d5abb99d134a530e47750bbaf1208a2 /unofficial/modules | |
parent | 1b5b6ed697fdce45da8657bd580211f682f2bee8 (diff) |
switch from dead-end 'try to be smart and clean environment first' approach to 'rollback in case of failures' system
Diffstat (limited to 'unofficial/modules')
-rw-r--r-- | unofficial/modules/dieter/procedures/automatic | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unofficial/modules/dieter/procedures/automatic b/unofficial/modules/dieter/procedures/automatic index 3420232..3907fa2 100644 --- a/unofficial/modules/dieter/procedures/automatic +++ b/unofficial/modules/dieter/procedures/automatic @@ -79,7 +79,7 @@ worker_prepare_disks () cryptsetup luksClose sda2_crypt 2>/dev/null dd if=/dev/urandom of=/dev/sda bs=512 count=1 - #TODO: integrate this stuff into the functions in the libs + do error checking and handling + #TODO: integrate this stuff into the functions in the libs (process_partitions and filesystems, rollback and bailout if needed) + do error checking and handling #NOTE: i don't think i should quote to prevent globbing, but it does seem to help i think (hard to check as resource is busy and you can't reload kernel partition tables) sfdisk /dev/sda 2>&1 | grep -v 'not have an msdos signature' << EOF ,10,L,'*' |