aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix missing option -s in libinstallerHEADmasterlwipArwin Vosselman2010-09-091-1/+1
| | | | | | | | In 'libinstaller/syslxopt.c' on line 71 the "s" (undercast) is missing in: const char short_options[] = "t:fid:UuzS:H:rvho:OM:ma"; Adding the 's' there seems to solve our problem.
* pxe: add a "pxeretry" option to deal with 404's in web appsH. Peter Anvin2010-08-264-0/+18
| | | | | | | | For web downloads, sometimes a mirror site will not be fully synced. Add an option to retry the open a specific number of times before giving up. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* extlinux: try to get the disk offset from sysfsH. Peter Anvin2010-08-131-5/+38
| | | | | | | | | | | It is possible(?) that HDIO_GETGEO can't return the full offset, and in either case it is too small -- only 32 bits on 32-bit platforms. Thus query sysfs for the real value, if available. sysfs also contains information for slave devices -- this is going to really matter for the md/lvm issues. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* diskio: remove redundant register writeDon Hiatt2010-08-131-2/+0
| | | | | The disk number is set twice in diskio.c/edd_rdwr_sectors() this patch removes the redundant setting.
* version: next version will be 4.03H. Peter Anvin2010-08-111-1/+1
| | | | Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* core: look for invalid MBR handover information addressH. Peter Anvin2010-08-111-3/+12
| | | | | | | | The Win7 MBR doesn't provide proper handover information. Instead, it leaves DS:SI = 0:0x7e00, so reject that information as invalid on grounds that it is pointed into the bootloader area. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* chain: Extra comments; shrink the new space to minimumGene Cumm2010-08-011-5/+5
|
* chain: Just assign the value rather than using memcpy()Gene Cumm2010-08-011-4/+1
|
* chain: add drmk= to usageGene Cumm2010-08-011-0/+1
|
* chain: Fix up and clean up DRMK load code; fix filename length; Patch memory.Gene Cumm2010-08-011-11/+8
|
* chain.c32: prepare for loading DRMKGene Cumm2010-08-011-0/+31
|
* syslxopt: remove lengthy warning messageH. Peter Anvin2010-07-301-10/+0
| | | | | | | Remove a lengthy warning message which cause the actual command reference to overflow a 24-line screen. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* syslxopt: fix fatal warningsH. Peter Anvin2010-07-301-9/+12
| | | | | | | | | | | Fix fatal warnings in syslxopt.c partly due to legal but non-idiomatic use of switch(). Since the only purpose was to conditionalize single output statements, just do it explicitly. In addition, since they are conditional messages, there is no need to explain when they apply. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* chain.c: fix public index value in mbr and gpt iteratorsMichal Soltys2010-07-301-3/+3
| | | | | | | | | mbr and gpt iterators skip empty / non-data partitions properly, but don't update publicly visible index. With this patch, such partitions are counted as well. Signed-off-by: Michal Soltys <soltys@ziu.info> Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* libinstaller/syslxopt.c: remove unneeded usage text from certain variants.Gene Cumm2010-07-271-3/+10
| | | | Gert Hulselmans noticed this.
* Make __free_tagged actually free memorySebastian Herbszt2010-07-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | __free_tagged called by comboot_cleanup_lowmem (core/mem/free.c) doesn't seem to work correctly. Memory allocated with lmalloc() isn't marked as free after the allocating module exits: boot: mem lowmem_buf: 0x000353e0 boot: mem lowmem_buf: 0x000553f0 boot: mem lowmem_buf: 0x00075400 boot: mem lowmem_buf: 0x00000000 boot: The expected behaviour boot: mem lowmem_buf: 0x000353e0 boot: mem lowmem_buf: 0x000353e0 boot: mem lowmem_buf: 0x000353e0 can be achieved with the following patch.
* core: define and use set_flags() helperH. Peter Anvin2010-07-263-7/+18
| | | | | | | Rather than opencoding the arithmetic flag mask, define an inline to make that happen properly. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* sample: remove obsolete "raw" comboot/com32 samplesH. Peter Anvin2010-07-2614-851/+2
| | | | | | | We really don't want people to write code without using the library, so just remove these obsolete and no longer functional samples. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* libmenu: Fix cursor on exit from showmenus()Gene Cumm2010-07-261-1/+1
| | | | | | | | | | This fixes the issue in hdt.c32 that Kent Robotti noticed where exiting directly from Menu Mode caused the cursor to not be displayed. This same issue also affects com32/cmenu/simple.c32 and probably others using showmenus(). Signed-off-by: Gene Cumm <gene.cumm@gmail.com> Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* core: don't hang if no config file is foundH. Peter Anvin2010-07-255-9/+14
| | | | | | | | If we can't find a configuration file, we need to do something slightly more friendly than hanging. Reported-by: Sebastian Herbszt <herbszt@gmx.de> Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* win64: experimental Win64 installer (syslinux64.exe)H. Peter Anvin2010-07-2111-16/+148
| | | | | | | Experimental Win64 installer. This is necessary to be able to run on WinPE64, since WinPE64 doesn't support running 32-bit binaries. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* win32: fix README, adjust broken +x bitsH. Peter Anvin2010-07-212-0/+0
| | | | | | | Fix the win32/README file and adjust some stray +x bits which had crept in. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* lua: remove obsolete FIXME commentGeert Stappers2010-07-201-2/+0
| | | | | Remove an obsolete FIXME comment; the problem was caused by a stale library.
* NEWS: document IP byte order fix.H. Peter Anvin2010-07-191-0/+2
| | | | Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* pxe: fix byte order of output from parse_dotquad()H. Peter Anvin2010-07-191-1/+1
| | | | | | | parse_dotquad() incorrectly returned output in host byte order. Reported-by: Alexander Wuerstlein <arw@arw.name> Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* extlinux, linux: Ignore --force in these installersShao Miller2010-07-192-2/+2
| | | | | | | Previous commits described this behaviour, but did not actually implement it. :) Signed-off-by: Shao Miller <shao.miller@yrdsb.edu.on.ca>
* dos: Use libinstaller option parserShao Miller2010-07-195-67/+23
| | | | | | | We will produce an error message if a user attempts to use an option we don't implement. Signed-off-by: Shao Miller <shao.miller@yrdsb.edu.on.ca>
* dos: add .size directives to int2526.SH. Peter Anvin2010-07-191-0/+2
| | | | | | Add .size directives to int2526.S. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* dos: add .size attribute for syslinux_ldlinux_lenH. Peter Anvin2010-07-191-0/+1
| | | | | | | Just for the sake of good order, a .size attribute for syslinux_ldlinux_len. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* dos: add missing file ldlinux.SH. Peter Anvin2010-07-192-0/+20
| | | | | | Add missing assembly wrapper for ldlinux.sys. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* win32: remove an archive before running ar on itH. Peter Anvin2010-07-191-0/+1
| | | | | | Always remove an archive before ar... Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* dos, win32: use our own getopt_long() for bothH. Peter Anvin2010-07-194-5/+7
| | | | | | | | Use our own version of getopt_long() for both the DOS and Win32 installers. Currently, on MinGW, getopt_long() is a static library, but that could change in some installations. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* dos: fix non-executable files which were +xH. Peter Anvin2010-07-199-0/+0
| | | | | | Don't make non-executable files +x... Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* Merge branch 'master' into libinstaller_dos_wipH. Peter Anvin2010-07-1992-19874/+14619
|\ | | | | | | | | | | | | | | Resolved Conflicts: libinstaller/syslxopt.c mtools/syslinux.c Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
| * NEWS: mtools, win32 uses new CLIH. Peter Anvin2010-07-191-0/+2
| | | | | | | | Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
| * man: update syslinux.1. It is still out of date, however.H. Peter Anvin2010-07-191-21/+47
| | | | | | | | Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
| * Merge remote branch 'gerth/lua'H. Peter Anvin2010-07-193-2/+86
| |\
| | * lua: Add .syslinux.derivative() and .syslinux.version()Gert Hulselmans2010-07-073-1/+86
| | | | | | | | | | | | | | | | | | | | | Add .syslinux.derivative() and .syslinux.version(). Add an example script which shows how you can use .syslinux.derivative(). Signed-off-by: Gert Hulselmans <gerth@zytor.com>
| | * lua: remove obsolete header used for old sleep functionGert Hulselmans2010-07-061-1/+0
| | | | | | | | | | | | | | | | | | Remove obsolete header used for old sleep function. Signed-off-by: Gert Hulselmans <gerth@zytor.com>
| * | Merge remote branch 'gerth/ifplop_comments'H. Peter Anvin2010-07-192-9/+14
| |\ \
| | * | whichsys.c32: Fix example in the comments and Usage outputGert Hulselmans2010-07-131-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Fix example in the comments and Usage output. Signed-off-by: Gert Hulselmans <gerth@zytor.com>
| | * | ifplop.c32: Fix spelling errors and other mistakes in commentsGert Hulselmans2010-07-121-7/+12
| | | | | | | | | | | | | | | | | | | | | | | | Fix various spelling errors and other mistakes in the comment section. Signed-off-by: Gert Hulselmans <gerth@zytor.com>
| * | | Merge remote branch 'sha0/for_hpa'H. Peter Anvin2010-07-199-143/+100
| |\ \ \
| | * | | win32: Use libinstaller option parserShao Miller2010-07-095-79/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We will produce an error message if a user attempts to use an option we don't implement. Signed-off-by: Shao Miller <shao.miller@yrdsb.edu.on.ca>
| | * | | mtools: Use libinstaller option parserShao Miller2010-07-092-60/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We will produce an error message if a user attempts to use an option we don't implement. Signed-off-by: Shao Miller <shao.miller@yrdsb.edu.on.ca>
| | * | | libinstaller: Add --mbr, --active, and --force optionsShao Miller2010-07-094-4/+22
| | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In order to consolidate the installer option-parsing system, we add the --mbr (-m), --active (-a), and --force (-f) options from the DOS, Win32, and mtools installers to libinstaller. Since the -m and -a options are not currently valid for the Linux 'syslinux' and 'extlinux' installers, we add error messages to both of these. The -f option is allowed but does nothing for them. Signed-off-by: Shao Miller <shao.miller@yrdsb.edu.on.ca>
| * | | diskio: add a paranoia castH. Peter Anvin2010-07-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Make sure we don't overflow the shift, even though that should never be possible. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| * | | diskio: fix name for secpercyl field, remove unused type fieldH. Peter Anvin2010-07-173-12/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix the name for the incorrectly named "t" (track) field; it is in fact the sectors/cylinder (secpercyl) field. Furthermore, remove the completely unused "type" field... right now the pointer to the rdwr_sectors field acts as a proxy, and if we need more complex stuff in the future it is probably better handled by pointing to an ops structure. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| * | | NEWS: document EDD->CHS fallback.H. Peter Anvin2010-07-161-0/+2
| | | | | | | | | | | | | | | | Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
| * | | diskio: remove locally coded ilog2()H. Peter Anvin2010-07-161-13/+1
| | | | | | | | | | | | | | | | | | | | | | | | Use the centrally coded ilog2() function. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>