summaryrefslogtreecommitdiffstats
path: root/lsinitcpio
diff options
context:
space:
mode:
Diffstat (limited to 'lsinitcpio')
-rwxr-xr-xlsinitcpio4
1 files changed, 3 insertions, 1 deletions
diff --git a/lsinitcpio b/lsinitcpio
index 4b9f77b..980596a 100755
--- a/lsinitcpio
+++ b/lsinitcpio
@@ -141,7 +141,9 @@ if (( analyze )); then
ratio=.$(( zsize * 1000 / fullsize % 1000 ))
fi
- # decompress the image since we need to read from it multiple times
+ # decompress the image since we need to read from it multiple times. we
+ # have to pass this through decomp() since the image might be lzop which
+ # bsdtar can't read.
decomp "$image" | bsdtar -C "$workdir" -xf -
# collect stats