diff options
author | Alek Du <alek.du@intel.com> | 2010-06-08 22:28:33 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2010-06-09 10:57:27 -0700 |
commit | 146c34a2632a4295b1aef44ef79e84b4d4b9cf7e (patch) | |
tree | eb744f032eaee413fcff54c3c67ad2f8daab5207 /mtools | |
parent | 0153498e9ce97fbf7329b590ddb7a373e33b12e6 (diff) | |
download | syslinux-146c34a2632a4295b1aef44ef79e84b4d4b9cf7e.tar.gz |
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 <alek.du@intel.com>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'mtools')
-rw-r--r-- | mtools/syslinux.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mtools/syslinux.c b/mtools/syslinux.c index 2c5387ed..2b82b33e 100644 --- a/mtools/syslinux.c +++ b/mtools/syslinux.c @@ -267,7 +267,7 @@ int main(int argc, char *argv[]) libfat_close(fs); /* Patch ldlinux.sys and the boot sector */ - i = syslinux_patch(sectors, nsectors, stupid, raid_mode); + i = syslinux_patch(sectors, nsectors, stupid, raid_mode, subdir); patch_sectors = (i + SECTOR_SIZE - 1) >> SECTOR_SHIFT; /* Write the now-patched first sectors of ldlinux.sys */ |