summaryrefslogtreecommitdiffstats
path: root/initramfs/initrd-stuff/etc/functions
diff options
context:
space:
mode:
Diffstat (limited to 'initramfs/initrd-stuff/etc/functions')
-rw-r--r--initramfs/initrd-stuff/etc/functions4
1 files changed, 2 insertions, 2 deletions
diff --git a/initramfs/initrd-stuff/etc/functions b/initramfs/initrd-stuff/etc/functions
index e3b848b1..936a073a 100644
--- a/initramfs/initrd-stuff/etc/functions
+++ b/initramfs/initrd-stuff/etc/functions
@@ -364,9 +364,9 @@ case "$tftp" in
fi
;;
esac
-# unpack part (only gzip is supported, bzip binary not present in
-# initramfs)
+# unpack part
if [ -s $dst ] ; then
+ # fixme: handle different types of packaging (gzip/bzip2)??
tar -xpzf $dst 2>/dev/null
[ "$DEBUGLEVEL" -le 2 -o "$DEBUGLEVEL" -eq 8 ] && rm $dst
return 0