[Skiboot] [PATCH] pflash: Fail when file is larger than partition

Stewart Smith stewart at linux.vnet.ibm.com
Wed Nov 2 18:45:07 AEDT 2016


Joel Stanley <joel at jms.id.au> writes:
> Currently we warn the user and truncate the file by default. Instead
> abort as this is rarely the desired behaviour.
>
> You can still shoot yourself in the foot by passing --force.
>
> Signed-off-by: Joel Stanley <joel at jms.id.au>
> ---
>
> Compile tested only

Seems to work... and Cyril reviewed it, so merged to master as of
4382d472a517d6a39f919b139eed3c86c6db9009


-- 
Stewart Smith
OPAL Architect, IBM.



More information about the Skiboot mailing list