From 146c34a2632a4295b1aef44ef79e84b4d4b9cf7e Mon Sep 17 00:00:00 2001 From: Alek Du Date: Tue, 8 Jun 2010 22:28:33 -0700 Subject: Make syslinux installer real "pathbased" The previous merging extlinux/syslinux patch is not sufficient, the syslinux is not real "patchbased", hence: * fill currentdir in patcharea * search "extlinux.conf" and "syslinux.cfg" for generic_load_config * define boot_image and boot_sector macro for ldsyslinux this could make further merging extlinux and syslinux possible Signed-off-by: Alek Du Signed-off-by: H. Peter Anvin --- linux/syslinux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'linux/syslinux.c') diff --git a/linux/syslinux.c b/linux/syslinux.c index 3032edce..1194fbb3 100644 --- a/linux/syslinux.c +++ b/linux/syslinux.c @@ -465,7 +465,7 @@ umount: /* * Patch ldlinux.sys and the boot sector */ - i = syslinux_patch(sectors, ldlinux_sectors, opt.stupid_mode, opt.raid_mode); + i = syslinux_patch(sectors, ldlinux_sectors, opt.stupid_mode, opt.raid_mode, subdir); patch_sectors = (i + SECTOR_SIZE - 1) >> SECTOR_SHIFT; /* -- cgit v1.2.1