mirror of
https://git.yoctoproject.org/git/poky
synced 2026-01-04 16:10:04 +00:00
wic: isoimage-isohybrid: fix splash file paths
os.path.join discards the cr_workdir var contents if the path of the second arguments is absolute. (From OE-Core rev: dba099d77dcc66b239523a55f3ed26784f9a662a) (From OE-Core rev: ef37c7d8e4abf896aa791ee01e52a74f24aadb99) Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster@mvista.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
200f6c8c35
commit
226d54067e
|
|
@ -60,7 +60,7 @@ class IsoImagePlugin(SourcePlugin):
|
|||
"""
|
||||
Create loader-specific (syslinux) config
|
||||
"""
|
||||
splash = os.path.join(cr_workdir, "/ISO/boot/splash.jpg")
|
||||
splash = os.path.join(cr_workdir, "ISO/boot/splash.jpg")
|
||||
if os.path.exists(splash):
|
||||
splashline = "menu background splash.jpg"
|
||||
else:
|
||||
|
|
@ -105,7 +105,7 @@ class IsoImagePlugin(SourcePlugin):
|
|||
msger.error("configfile is specified but failed to "
|
||||
"get it from %s." % configfile)
|
||||
else:
|
||||
splash = os.path.join(cr_workdir, "/EFI/boot/splash.jpg")
|
||||
splash = os.path.join(cr_workdir, "EFI/boot/splash.jpg")
|
||||
if os.path.exists(splash):
|
||||
splashline = "menu background splash.jpg"
|
||||
else:
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user