Lines Matching +full:bootloader +full:- +full:config
4 # SPDX-License-Identifier: GPL-2.0-only
7 # This implements the 'bootimg-pcbios' source plugin class for 'wic'
30 name = 'bootimg-pcbios'
44 nonarch_datadir = re.sub('/[^/]*recipe-sysroot', '/recipe-sysroot', staging_datadir)
68 raise WicError("Couldn't find %s. If using the -e option, do you "
84 Called before do_prepare_partition(), creates syslinux config
88 install_cmd = "install -d %s" % hdddir
91 bootloader = creator.ks.bootloader
94 if bootloader.configfile:
95 custom_cfg = get_custom_config(bootloader.configfile)
100 "for syslinux.cfg", bootloader.configfile)
103 "get it from %s." % bootloader.configfile)
115 syslinux_conf += "TIMEOUT " + str(bootloader.timeout) + "\n"
129 (creator.rootdev, bootloader.append)
131 logger.debug("Writing syslinux config %s/hdd/boot/syslinux.cfg",
155 kernel = "%s-%s.bin" % \
158 cmds = ("install -m 0644 %s/%s %s/%s" %
160 "install -m 444 %s/syslinux/ldlinux.sys %s/ldlinux.sys" %
162 "install -m 0644 %s/syslinux/vesamenu.c32 %s/vesamenu.c32" %
164 "install -m 444 %s/syslinux/libcom32.c32 %s/libcom32.c32" %
166 "install -m 444 %s/syslinux/libutil.c32 %s/libutil.c32" %
172 du_cmd = "du -bks %s" % hdddir
191 dosfs_cmd = "mkdosfs -n %s -i %s -S 512 -C %s %d" % \
195 mcopy_cmd = "mcopy -i %s -s %s/* ::/" % (bootimg, hdddir)
204 du_cmd = "du -Lbks %s" % bootimg