clearfog: Prepare data for flashing via USB to eMMC

At first, I tried to use just one `genimage` configuration file for this
purpose, but I wasn't able to come up with any method to either leverage
the sparseness of the sdcard.img file, or to make `genimage` compress
it. It would be quite wasteful to create huge image files, after all.
However, I wasn't able to find any proper way for doing that just with
`genimage`. I tried:

- The `tar` and `cpio` backends which implement compression. This didn't
work because it seems that one cannot redefine their actual *content*.
- Using `exec_pre` and `exec_post` to force a command. That didn't work
either because genimage checks for file availability prior to running
them.

In the end, this extra shell script simply compresses the SD card image
and calls `genimage` once more. I chose `mksquashfs` because it was much
faster with sparse input than both `gzip` and `bzip2`.

Change-Id: Ia80443108e879fe89b0815e45e5338c5eebf33f3
diff --git a/configs/czechlight_clearfog_defconfig b/configs/czechlight_clearfog_defconfig
index e3cd782..60b84e1 100644
--- a/configs/czechlight_clearfog_defconfig
+++ b/configs/czechlight_clearfog_defconfig
@@ -13,7 +13,7 @@
 # BR2_TARGET_GENERIC_REMOUNT_ROOTFS_RW is not set
 BR2_ROOTFS_OVERLAY="$(BR2_EXTERNAL_CZECHLIGHT_PATH)/board/czechlight/common/overlay/ $(BR2_EXTERNAL_CZECHLIGHT_PATH)/board/czechlight/clearfog/overlay/"
 BR2_ROOTFS_POST_BUILD_SCRIPT="$(BR2_EXTERNAL_CZECHLIGHT_PATH)/board/czechlight/common/mk-empty-cfg-fs.sh $(BR2_EXTERNAL_CZECHLIGHT_PATH)/board/czechlight/common/install-rauc-cert.sh $(BR2_EXTERNAL_CZECHLIGHT_PATH)/board/czechlight/clearfog/copy-boot-scr.sh"
-BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh $(BR2_EXTERNAL_CZECHLIGHT_PATH)/board/czechlight/clearfog/mk-rauc-bundle.sh"
+BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh $(BR2_EXTERNAL_CZECHLIGHT_PATH)/board/czechlight/clearfog/mk-rauc-bundle.sh ${BR2_EXTERNAL_CZECHLIGHT_PATH}/board/czechlight/clearfog/usb-flash-genimage.sh"
 BR2_ROOTFS_POST_SCRIPT_ARGS="-c $(BR2_EXTERNAL_CZECHLIGHT_PATH)/board/czechlight/clearfog/genimage.cfg"
 BR2_LINUX_KERNEL=y
 BR2_LINUX_KERNEL_CUSTOM_VERSION=y