diff options
author | Dave Reisner <dreisner@archlinux.org> | 2012-06-24 16:03:48 +0200 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2012-07-15 16:29:08 +0200 |
commit | eab31b017ace36683d314e0891f86e875fdc63b0 (patch) | |
tree | cbe05d58b5d1990548645cb09c7da127bf83ccaf | |
parent | 5f81d06e8b879e1778649405b314d60234934dfc (diff) | |
download | mkinitcpio-eab31b017ace36683d314e0891f86e875fdc63b0.tar.gz mkinitcpio-eab31b017ace36683d314e0891f86e875fdc63b0.tar.xz |
lsinitcpio: comment on why bsdtar alone isn't good enough
I almost deleted this, replacing it with only bsdtar. Add a comment so
I'm not tempted to do this again.
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
-rwxr-xr-x | lsinitcpio | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 |