Skip to content

[WIP] Add more feature flags - #199

Draft
mkopec wants to merge 1 commit into
dasharo-stable202402from
feature_flags
Draft

[WIP] Add more feature flags#199
mkopec wants to merge 1 commit into
dasharo-stable202402from
feature_flags

Conversation

@mkopec

@mkopec mkopec commented Dec 18, 2024

Copy link
Copy Markdown
Member

With everything set to FALSE, the payload is 140KB smaller.

Signed-off-by: Michał Kopeć <michal.kopec@3mdeb.com>
@miczyg1

miczyg1 commented Dec 18, 2024

Copy link
Copy Markdown
Contributor

For some platforms it may be useful, e.g. Protectli, where we know that there is no SATA or EMMC or SD.

But the optimization is mainly on the binary size, not exactly boot time.

@mkopec

mkopec commented Dec 18, 2024

Copy link
Copy Markdown
Member Author

Sure, I just thought it might be valuable security-wise to remove as much unused code as possible

SCSI, (P)ATA and mouse related drivers seem like a waste of space for most of our platforms

@miczyg1
miczyg1 changed the base branch from dasharo to dasharo-stable202402 March 28, 2025 12:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants