cros_make_image_bootable: fix shellcheck warnings
Fixed mostly quoting and declaration and assignment being
over multiple lines.
Rework a couple traps to resolve the single quoting traps
shellcheck complaint.
Add exceptions for unused parameters to avoid possibly
breaking any callers that might still add those.
BUG=None
TEST=patch an exit after loopback remove trap to confirm
it still works
TEST=build_image --board=reven test;
boot resulting image in a vm
TEST=CQ
Change-Id: Ie21f7d94733d6c62e48f72693351c35c445a1748
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosutils/+/4544338
Commit-Queue: Jeffery Miller <jefferymiller@google.com>
Tested-by: Jeffery Miller <jefferymiller@google.com>
Reviewed-by: Mike Frysinger <vapier@chromium.org>
1 file changed