Skip to content

Add manifest for fde tests (BugFix) #1898

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 23, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions providers/base/units/disk/encryption.pxu
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@ category_id: com.canonical.plainbox::disk
plugin: shell
template-engine: jinja2
user: root
imports: from com.canonical.plainbox import manifest
requires:
executable.name == 'lsblk'
executable.name == 'dmsetup'
executable.name == 'cryptsetup'
manifest.has_fde == 'True'
_summary: Test that Full Disk Encryption is in use
_purpose:
Examine the system to detect if one of the standard full disk encryption
Expand Down Expand Up @@ -45,3 +47,5 @@ _verification:
category_id: com.canonical.plainbox::disk
estimated_duration: 45m
plugin: manual
imports: from com.canonical.plainbox import manifest
requires: manifest.has_fde == 'True'
5 changes: 5 additions & 0 deletions providers/base/units/disk/manifest.pxu
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,8 @@ unit: manifest entry
id: has_md_raid
_name: Software RAID
value-type: bool

unit: manifest entry
id: has_fde
_name: Full Disk Encryption (FDE)
value-type: bool
Loading