aboutsummaryrefslogtreecommitdiffstats
path: root/src/fripost-partman-udeb
diff options
context:
space:
mode:
Diffstat (limited to 'src/fripost-partman-udeb')
-rw-r--r--src/fripost-partman-udeb/base.sh10
1 files changed, 5 insertions, 5 deletions
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