From 95af037624e4d78873ab142dd2fe543d2f38b15f Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Wed, 25 Jun 2014 02:43:06 +0200 Subject: wibble --- src/fripost-partman-udeb/base.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/fripost-partman-udeb/base.sh b/src/fripost-partman-udeb/base.sh index 8080bc0..d757670 100644 --- a/src/fripost-partman-udeb/base.sh +++ b/src/fripost-partman-udeb/base.sh @@ -18,7 +18,6 @@ true ${DEBIAN_HAS_FRONTEND:=} ${DEBCONF_REDIR:=} . /usr/share/debconf/confmodule # TODO: -# * support sofware RAID (mdadm) # * encryption without SSH daemon (eg when /home is on a separate device) # * encryption of multiple disks with the same key (eg / on a software raid) @@ -36,6 +35,7 @@ fatal() { # Ensure stdout is opened with line buffering. If some day stdbuf(1) is # available in busybox, we should replace the LD_PRELOAD by 'stdbuf -oL -eL'. +# XXX: see #751394 stdbuf() { LD_PRELOAD=/lib/fripost-partman/stdbuf.so "$@" } @@ -87,7 +87,7 @@ seed_urandom() { db_progress SET $bytes; sleep 0.25 rm -f "$fifo" - trap '' EXIT + trap - EXIT db_progress STOP db_unregister fripost/seed_urandom_progress_title @@ -146,7 +146,7 @@ fripost_wipe() { db_progress SET $(( $size / $bs )); sleep 0.25 rm -f "$fifo" - trap '' EXIT + trap - EXIT db_progress STOP db_unregister fripost/wipe-device_progress_title @@ -348,7 +348,7 @@ fripost_encrypt() { db_progress SET 100; sleep 0.25 rm -f "$fifo" - trap '' EXIT + trap - EXIT db_progress STOP db_unregister fripost/cryptsetup-genkey_progress_title @@ -459,7 +459,7 @@ fripost_mkfs() { done 7< "$fifo" rm -f "$fifo" - trap '' EXIT + trap - EXIT [ "$total" ] && db_progress STOP db_unregister fripost/mkfs_progress_title -- cgit v1.2.3