Skip to content

storage: make post-boot partition validation platform-aware#448

Open
smuppand wants to merge 1 commit intoqualcomm-linux:mainfrom
smuppand:mount_points
Open

storage: make post-boot partition validation platform-aware#448
smuppand wants to merge 1 commit intoqualcomm-linux:mainfrom
smuppand:mount_points

Conversation

@smuppand
Copy link
Copy Markdown
Contributor

@smuppand smuppand commented May 8, 2026

This PR updates Partition_PostBoot_Validation to avoid false failures on platforms where optional mount points such as /efi or /var/lib/tee are not expected to be mounted after boot.

The test previously used a single default MOUNT_MATRIX for all platforms:

/:ext4,erofs,squashfs:0:0;/efi:autofs,vfat:0:1;/var/lib/tee:ext4:1:0

Here is the sample lava job https://lava.infra.foundries.io/scheduler/job/205416#L2965

Update Partition_PostBoot_Validation to avoid treating optional
platform-specific mounts as mandatory by default.

The test now builds an auto mount matrix based on currently mounted
post-boot paths, while still allowing strict validation through
STRICT_MOUNT_MATRIX=1. This prevents false failures on platforms where
/efi or /var/lib/tee are not expected to be mounted.

Also pass STRICT_MOUNT_MATRIX from the LAVA YAML so strict behavior can
be enabled per job when required.

Signed-off-by: Srikanth Muppandam <smuppand@qti.qualcomm.com>
@smuppand smuppand added the bug Something isn't working label May 8, 2026
@smuppand smuppand marked this pull request as ready for review May 8, 2026 10:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant