It is useful to display the size of initrd in human-friendly form.
Signed-off-by: Amerigo Wang <amwang@redhat.com>
exit $?
fi
-echo "$image:"
+echo "$image: $(du -h $image | awk '{print $1}')"
echo "========================================================================"
$CAT "$image" | cpio --extract --verbose --quiet --to-stdout 'lib/dracut/dracut-*' 2>/dev/null
echo "========================================================================"