diff options
| author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2015-09-02 13:58:13 +0300 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-09-03 12:43:29 +0100 |
| commit | e7287e5157eb8a1486b8896ae4c9a050b86562c7 (patch) | |
| tree | 2a159f38b30b26cc94567dd419329a8eda566ed2 /scripts/lib/wic/plugins/source/bootimg-efi.py | |
| parent | e3a062ab1e90be6f6bed1e2facb9bfcbc0274f00 (diff) | |
| download | poky-e7287e5157eb8a1486b8896ae4c9a050b86562c7.tar.gz | |
wic: fix pylint warning unused-variable
Removed or reworked code with unused variables.
(From OE-Core rev: 3644b9f5ca25dfc61d4f5eda0f073c8a879b492b)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/wic/plugins/source/bootimg-efi.py')
| -rw-r--r-- | scripts/lib/wic/plugins/source/bootimg-efi.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/scripts/lib/wic/plugins/source/bootimg-efi.py b/scripts/lib/wic/plugins/source/bootimg-efi.py index 49d5c8ae82..b48cc835d6 100644 --- a/scripts/lib/wic/plugins/source/bootimg-efi.py +++ b/scripts/lib/wic/plugins/source/bootimg-efi.py | |||
| @@ -45,12 +45,6 @@ class BootimgEFIPlugin(SourcePlugin): | |||
| 45 | """ | 45 | """ |
| 46 | Create loader-specific (grub-efi) config | 46 | Create loader-specific (grub-efi) config |
| 47 | """ | 47 | """ |
| 48 | splash = os.path.join(cr_workdir, "/EFI/boot/splash.jpg") | ||
| 49 | if os.path.exists(splash): | ||
| 50 | splashline = "menu background splash.jpg" | ||
| 51 | else: | ||
| 52 | splashline = "" | ||
| 53 | |||
| 54 | options = cr.ks.handler.bootloader.appendLine | 48 | options = cr.ks.handler.bootloader.appendLine |
| 55 | 49 | ||
| 56 | grubefi_conf = "" | 50 | grubefi_conf = "" |
