From eab31b017ace36683d314e0891f86e875fdc63b0 Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Sun, 24 Jun 2012 10:03:48 -0400 Subject: 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 --- lsinitcpio | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3-24-g4f1b