In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/libexec/migrate-sd line 10:
. /lib/rcscripts/sh/error.sh
  ^------------------------^ SC1091 (info): Not following: /lib/rcscripts/sh/error.sh was not specified as input (see shellcheck -x).


In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/libexec/migrate-sd line 18:
	for dir in $MPOINT/*; do
                   ^-----^ SC2231 (info): Quote expansions in this for loop glob to prevent wordsplitting, e.g. "$dir"/*.txt .


In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/libexec/migrate-sd line 28:
	local version
        ^-----------^ SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/libexec/migrate-sd line 45:
	. /etc/release
          ^----------^ SC1091 (info): Not following: /etc/release was not specified as input (see shellcheck -x).


In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/libexec/migrate-sd line 88:
FSTYPE=`blkid -c /dev/null -o value -s TYPE $SD_DEV`
       ^-- SC2006 (style): Use $(...) notation instead of legacy backticks `...`.

Did you mean: 
FSTYPE=$(blkid -c /dev/null -o value -s TYPE $SD_DEV)


In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/libexec/migrate-sd line 99:
ount -t $FSTYPE -o $MOUNTOPTS $SD_DEV $MPOINT || {
         ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
mount -t "$FSTYPE" -o $MOUNTOPTS $SD_DEV $MPOINT || {

For more information:
  https://www.shellcheck.net/wiki/SC3043 -- In POSIX sh, 'local' is undefined.
  https://www.shellcheck.net/wiki/SC1091 -- Not following: /etc/release was n...
  https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ...