summaryrefslogtreecommitdiff
path: root/scripts/lib/wic/plugins/source
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2015-09-02 13:58:13 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-09-02 23:46:51 +0100
commit3644b9f5ca25dfc61d4f5eda0f073c8a879b492b (patch)
treed7cf7cfdb2e98ca65b9d11c5fdf1c72a8b002c5e /scripts/lib/wic/plugins/source
parent41e319730cdd9c320ae4d855df7aaff6f1679aaf (diff)
downloadopenembedded-core-3644b9f5ca25dfc61d4f5eda0f073c8a879b492b.tar.gz
openembedded-core-3644b9f5ca25dfc61d4f5eda0f073c8a879b492b.tar.bz2
openembedded-core-3644b9f5ca25dfc61d4f5eda0f073c8a879b492b.zip
wic: fix pylint warning unused-variable
Removed or reworked code with unused variables. 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')
-rw-r--r--scripts/lib/wic/plugins/source/bootimg-efi.py6
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):
"""
Create loader-specific (grub-efi) config
"""
- splash = os.path.join(cr_workdir, "/EFI/boot/splash.jpg")
- if os.path.exists(splash):
- splashline = "menu background splash.jpg"
- else:
- splashline = ""
-
options = cr.ks.handler.bootloader.appendLine
grubefi_conf = ""