diff options
author | Joel Stanley <joel@jms.id.au> | 2016-10-28 13:58:25 +1030 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2016-11-02 18:42:15 +1100 |
commit | 4382d472a517d6a39f919b139eed3c86c6db9009 (patch) | |
tree | 2b77a11ea5790f5bba661b54529df264230a6bf7 /libstb | |
parent | 30f86e5b6ad45fffdd83dc0322d0128fe0db64c3 (diff) | |
download | skiboot-4382d472a517d6a39f919b139eed3c86c6db9009.zip skiboot-4382d472a517d6a39f919b139eed3c86c6db9009.tar.gz skiboot-4382d472a517d6a39f919b139eed3c86c6db9009.tar.bz2 |
pflash: Fail when file is larger than partition
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@jms.id.au>
Reviewed-by: Cyril Bur <cyril.bur@au1.ibm.com>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'libstb')
0 files changed, 0 insertions, 0 deletions