Skip to content
Commit 3dcf6f9c authored by Alexander Filippov's avatar Alexander Filippov Committed by Joel Stanley
Browse files

Check size of the firmware image parts



Prevent building unbootable firmware images.

Resolves: openbmc/openbmc#3314

Tested: I checked builds for `palmetto` and `romulus`.
To reproduce the problem I appended a big file to initramfs by modify
`meta-phosphor/common/recipes-phosphor/initfs/obmc-phosphor-initfs.bb`.
The building process failed with message about too large initramfs image.

Change-Id: I0176e9c47a9cb26ce8ba588794e681b6426d567d
Signed-off-by: default avatarAlexander Filippov <a.filippov@yadro.com>
parent 1c054b8e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment