summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2017-02-23 16:19:36 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-03-04 23:18:18 +0000
commitbf3e8c450063c7cc2dad3a01cfa44e622ca9cad3 (patch)
tree4ec7543dc7547cbd6993dfb83076ef84da2a8fd2 /scripts
parentaad85050d7ff1ef293cae786103ba06f78cc505a (diff)
downloadpoky-bf3e8c450063c7cc2dad3a01cfa44e622ca9cad3.tar.gz
wic: bootimg-pcbios: add support for syslinux vesamenu
Installed vesamenu.c32 and its dependencies to support vesamenu ui in syslinux config. (From OE-Core rev: 6d7e57ca7e77f3164e4d24470bb1e3ee91a07a89) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/lib/wic/plugins/source/bootimg-pcbios.py20
1 files changed, 13 insertions, 7 deletions
diff --git a/scripts/lib/wic/plugins/source/bootimg-pcbios.py b/scripts/lib/wic/plugins/source/bootimg-pcbios.py
index bbc9f473e2..bd03eaa228 100644
--- a/scripts/lib/wic/plugins/source/bootimg-pcbios.py
+++ b/scripts/lib/wic/plugins/source/bootimg-pcbios.py
@@ -160,13 +160,19 @@ class BootimgPcbiosPlugin(SourcePlugin):
160 160
161 hdddir = "%s/hdd/boot" % cr_workdir 161 hdddir = "%s/hdd/boot" % cr_workdir
162 162
163 install_cmd = "install -m 0644 %s/bzImage %s/vmlinuz" \ 163 cmds = ("install -m 0644 %s/bzImage %s/vmlinuz" %
164 % (staging_kernel_dir, hdddir) 164 (staging_kernel_dir, hdddir),
165 exec_cmd(install_cmd) 165 "install -m 444 %s/syslinux/ldlinux.sys %s/ldlinux.sys" %
166 166 (bootimg_dir, hdddir),
167 install_cmd = "install -m 444 %s/syslinux/ldlinux.sys %s/ldlinux.sys" \ 167 "install -m 0644 %s/syslinux/vesamenu.c32 %s/vesamenu.c32" %
168 % (bootimg_dir, hdddir) 168 (bootimg_dir, hdddir),
169 exec_cmd(install_cmd) 169 "install -m 444 %s/syslinux/libcom32.c32 %s/libcom32.c32" %
170 (bootimg_dir, hdddir),
171 "install -m 444 %s/syslinux/libutil.c32 %s/libutil.c32" %
172 (bootimg_dir, hdddir))
173
174 for install_cmd in cmds:
175 exec_cmd(install_cmd)
170 176
171 du_cmd = "du -bks %s" % hdddir 177 du_cmd = "du -bks %s" % hdddir
172 out = exec_cmd(du_cmd) 178 out = exec_cmd(du_cmd)