Raspi-image-spec/rootfs/etc/initramfs-tools
Diederik de Haas 9bb0488096
Fix shellcheck issue SC2154
SC2154: var is referenced but not assigned.

The 'rootmnt' variable is set in /usr/share/initramfs-tools/init and if
it's not available, that would be bad.
According to SC2154 you can fix that issue by using '${var:?}' so it
would fail if unset or empty.
So apply that and reference that SC item in the comments.

Also remove it from the exclude list in the CI config file.
2022-11-14 22:38:47 +01:00
..
hooks resizerootfs: switch from using sfdisk to parted for resizing partitions 2021-08-25 01:23:20 +02:00
scripts/local-bottom Fix shellcheck issue SC2154 2022-11-14 22:38:47 +01:00