Open dashaub opened 3 years ago
Shellcheck doesn't like this. Same occurrences in other script locations that I'm changing for now. DRY principle suggests these functions could be pulled out in a refactor.
$ shellcheck scripts/InstallScripts/InstallPackages.sh
In scripts/InstallScripts/InstallPackages.sh line 36:
get_emmc_devname() {
^-- SC1009: The mentioned syntax error was in this brace group.
In scripts/InstallScripts/InstallPackages.sh line 38:
if [ -z "$devname" ]
^-- SC1046: Couldn't find 'fi' for this 'if'.
^-- SC1073: Couldn't parse this if expression. Fix to allow more checks.
In scripts/InstallScripts/InstallPackages.sh line 40:
echo "Unknown device! can't determine emmc devname. Please file an issue with the output of fdisk -l if you get this on a supported device"; exit 1;;
^-- SC1047: Expected 'fi' matching previously mentioned 'if'.
^-- SC1072: Unexpected . Fix any mentioned problems and try again.
@dashaub apologies for getting to this so late, could you clarify the use case for apparmor?
274
Kernel 5.10.4 builds fine, but installing the deb fails. Issue might be unrelated.
Boot on
/dev/mmcblk2
seems fine