dispatcher: uuu: Allow filesystem image as rootfs

Currently, it's only possible to apply overlay on disk images(e.g. wic)
since ApplyOverlay requests (by default) a root_partition parameter.

Allow to use standard filesystem image (e.g ext4) by setting the
ApplyOverlay() use_root_partition parameter to false when there
is no root_parition defined, and so consider it as standard filesystem
image.

Change-Id: If7ed27fbdcfa13cf3141db054107e737aed15922
Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
15 jobs for uuu in 13 minutes and 21 seconds (queued for 3 seconds)
latest
Status Job ID Name Coverage
  Test
passed #105458
amd64
dispatcher-debian-10

00:03:45

passed #105460
amd64
dispatcher-debian-11

00:04:09

passed #105459
amd64
server-debian-10

00:04:23

passed #105461
amd64
server-debian-11

00:06:52

 
  Analyze
failed #105462
amd64-dind allowed to fail
bandit-sast

failed #105463
amd64
black

00:00:28

passed #105464
amd64
code_quality

00:00:19

passed #105465
amd64
coverage

00:06:27

59.35%
passed #105466
amd64
dockerfiles

00:00:14

passed #105468
amd64
pylint

00:03:00

passed #105467
amd64
schemas

00:00:35

 
  Build
skipped #105470
amd64
debian/10
skipped #105469
amd64
doc
skipped #105471
amd64-dind
docker-amd64-dispatcher
skipped #105472
amd64-dind
docker-amd64-server
 
Name Stage Failure
failed
bandit-sast Analyze There has been a timeout failure or the job got stuck. Check your timeout limits or try again
No job log
failed
black Analyze
+                            ApplyOverlayImage(
+ image_key=image, use_root_partition=use_root_part
+ )
)

would reformat lava_dispatcher/actions/deploy/uuu.py
All done! 💥 💔 💥
1 file would be reformatted, 514 files would be left unchanged.
ERROR: Job failed: exit code 1