diff options
Diffstat (limited to 'scripts/lib/mic/plugins/source/bootimg-pcbios.py')
| -rw-r--r-- | scripts/lib/mic/plugins/source/bootimg-pcbios.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/lib/mic/plugins/source/bootimg-pcbios.py b/scripts/lib/mic/plugins/source/bootimg-pcbios.py index 1da2a41fa7..3cd446f052 100644 --- a/scripts/lib/mic/plugins/source/bootimg-pcbios.py +++ b/scripts/lib/mic/plugins/source/bootimg-pcbios.py | |||
| @@ -135,7 +135,7 @@ class BootimgPcbiosPlugin(SourcePlugin): | |||
| 135 | if not bootimg_dir: | 135 | if not bootimg_dir: |
| 136 | msger.error("Couldn't find STAGING_DATADIR, exiting\n") | 136 | msger.error("Couldn't find STAGING_DATADIR, exiting\n") |
| 137 | # just so the result notes display it | 137 | # just so the result notes display it |
| 138 | cr.bootimg_dir = bootimg_dir | 138 | cr.set_bootimg_dir(bootimg_dir) |
| 139 | 139 | ||
| 140 | staging_kernel_dir = kernel_dir | 140 | staging_kernel_dir = kernel_dir |
| 141 | staging_data_dir = bootimg_dir | 141 | staging_data_dir = bootimg_dir |
| @@ -181,7 +181,7 @@ class BootimgPcbiosPlugin(SourcePlugin): | |||
| 181 | rc, out = exec_cmd(du_cmd) | 181 | rc, out = exec_cmd(du_cmd) |
| 182 | bootimg_size = out.split()[0] | 182 | bootimg_size = out.split()[0] |
| 183 | 183 | ||
| 184 | part.size = bootimg_size | 184 | part.set_size(bootimg_size) |
| 185 | part.source_file = bootimg | 185 | part.set_source_file(bootimg) |
| 186 | 186 | ||
| 187 | 187 | ||
