summaryrefslogtreecommitdiff
path: root/extlinux
Commit message (Collapse)AuthorAgeFilesLines
...
* pathbased: fix relative path in the extlinux installerAlek Du2010-02-101-1/+1
| | | | | | | | Fix a bug in the extlinux installer where the relative path is not found correctly. Signed-off-by: Alek Du <alek.du@intel.com> Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Merge branch 'fsc' into pathbasedH. Peter Anvin2010-02-101-1/+1
|\ | | | | | | | | | | | | Resolved Conflicts: core/fs/ext2/ext2.c Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| * Merge branch 'master' into fscH. Peter Anvin2010-01-241-1/+1
| |\ | | | | | | | | | | | | | | | Conflicts: com32/lib/MCONFIG com32/lib/readdir.c
| | * Makefile: replace -W -Wall with centralized $(GCCWARN)H. Peter Anvin2010-01-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | Replace -W -Wall hardcoded into a bunch of Makefiles with $(GCCWARN), a centralized variable defined in the root MCONFIG. Add -Wstrict-prototypes to the list of global warnings: we should never have non-prototyped declarations. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | | extlinux: make installer rewrite the whole fileH. Peter Anvin2010-01-221-8/+11
| | | | | | | | | | | | | | | | | | | | | | | | With the additional patchable areas outside the main patch area, it is now much more complicated to keep track of a high water mark of what needs to be modified. It's easier to just rewrite the whole thing. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | | pathbased: clean up diskstart address numbers, 256 byte subvolsH. Peter Anvin2010-01-131-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | Clean up the uses of hard-coded addresses in diskstart.inc. Furthermore, the btrfs spec allows 255 characters for a subvolume, so we might as well allocate that much. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | | pathbased:btrfs: initial subvol supportAlek Du2010-01-131-6/+46
| | | | | | | | | | | | | | | | | | Added "Subvol" name in the extlinux.sys, and then btrfs fs code will handle the subvol correctly. Also fixed the bug where CurrentDirName and SubvolName should not exist in the first sector.
* | | core: initial work on path-based cwd selectionH. Peter Anvin2010-01-061-10/+44
|/ / | | | | | | | | | | | | | | | | | | | | Work on picking the initial cwd by storing a path instead of by storing an inode number. This should be both more general (in the sense of supporting filesystems in a generic way) as well as conceptually cleaner. The code doesn't work yet, but this at least provides support for the extlinux installer to store its subpath into the installed image. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | btrfs: add btrfs file system support to extlinuxsyslinux-4.00-pre7Alek Du2009-12-222-56/+230
| | | | | | | | | | | | | | | | the extlinux.sys will be installed in btrfs first 64K blank area, and the extlinux.conf must be in root dir... Signed-off-by: Alek Du <alek.du@intel.com> Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | extlinux: add ext4 support to the installersyslinux-4.00-pre1H. Peter Anvin2009-08-071-4/+5
| | | | | | | | | | | | | | The filesystem code now supports ext4, so support it in the installer as well. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | extlinux: handle more than one sector of sector pointersH. Peter Anvin2009-07-161-5/+12
| | | | | | | | | | | | | | | | Fix the extlinux installer so we can handle more than one sector of sector pointers. This code should be merged with the equivalent code in the syslinux installer. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | Merge branch 'master' into core32H. Peter Anvin2009-06-261-2/+0
|\ \ | |/
| * extlinux: remove duplicate "const char *program;"Gilles Espinasse2009-06-191-2/+0
| | | | | | | | Remove redundant declaration.
* | Merge branch 'master' into core32H. Peter Anvin2009-05-292-863/+838
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: com32/include/netinet/in.h com32/include/sys/cpu.h dos/argv.c dos/malloc.c dos/syslinux.c extlinux/main.c libinstaller/setadv.c libinstaller/syslinux.h libinstaller/syslxint.h libinstaller/syslxmod.c linux/syslinux.c mtools/syslinux.c win32/syslinux.c Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| * Run Nindent on extlinux/main.cH. Peter Anvin2009-05-291-702/+688
| | | | | | | | | | | | | | | | | | Automatically reformat extlinux/main.c using Nindent. Do this for all files except HDT, gPXE and externally maintained libraries (zlib, tinyjpeg, libpng). Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| * Run Nindent on extlinux/ext2_fs.hH. Peter Anvin2009-05-291-176/+165
| | | | | | | | | | | | | | | | | | Automatically reformat extlinux/ext2_fs.h using Nindent. Do this for all files except HDT, gPXE and externally maintained libraries (zlib, tinyjpeg, libpng). Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | Standardize the names SECTOR_SIZE and SECTOR_SHIFTH. Peter Anvin2009-05-191-4/+4
| | | | | | | | | | | | | | Use the names SECTOR_SIZE and SECTOR_SHIFT everywhere, instead of an odd mix of symbols and hard-coded constants. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | FAT: change DOS installer to EXE; additional 32K limit fixesH. Peter Anvin2009-05-191-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Additional fixes for the 32K limits in the installers. In the case of the DOS installer, that means changing it from COM format to EXE format (since COM format has a 63K hard limit); retain the name syslinux.com for user compatibility, though (DOS doesn't care what the extension except for pathname search; if it finds an MZ EXE header it will use it.) With the change to EXE means having to handle more than one segment. Since we don't have a real DOS compiler we have to wing it a bit. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | core: handle more than 32K of code for disk-based derivativesH. Peter Anvin2009-05-141-81/+44
|/ | | | | | | | | | | | Handle more than 32K worth of code for disk-based derivatives. We do this by allowing the sector pointers to overflow past sector 1; this is OK because we limit a run to be based on only the pointers that we have read so far. XXX: This is implemented for EXTLINUX, but breaks SYSLINUX. Need to update (and unify!) the SYSLINUX installers to cope. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Unify dependency generationH. Peter Anvin2009-04-271-3/+3
| | | | | | | | | | | | Make the dependency generation more common; have a general pattern in MCONFIG, and use it in rules (not in CFLAGS). For NASM source, in order to stay compatible with old versions of NASM, run NASM twice; newer versions of NASM is capable of generating dependencies simultaneously like gcc can, but that would break compatibility with older distros. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Major Makefile cleanups; gcc 4.3.0 compatiblityH. Peter Anvin2008-08-201-12/+23
| | | | | Cleanup and centralize the Makefile system even more. Fix a gcc 4.3 incompatibility in memdisk (definition of strlen).
* Centralize more of the version number machineryH. Peter Anvin2008-07-071-2/+3
| | | | Centralize more (most) of the version number machinery to version.pl.
* extlinux: fix handling of /etc/mtabsyslinux-3.71-pre3H. Peter Anvin2008-07-021-27/+30
| | | | | | When we didn't find the filesystem in /proc/mounts, we would go through /etc/mtab, but then completely botch the parsing thereof. Move the parsing to a common function to avoid this problem.
* Build _bin.c files in libinstaller; clean up B/I separationH. Peter Anvin2008-06-271-3/+5
| | | | | | | Clean up the BSUBDIR/ISUBDIR separation further. Build _bin.c files, which are an intermediate stage toward building the installers, in the libinstaller directory, since that directory is used by all the installers anyway. That also lets us get bin2c.pl out of the root.
* Move files out of root into core, dos, and utilsH. Peter Anvin2008-05-291-3/+3
| | | | | | | | Move source files out of the root directory; the root is a mess and has become virtually unmaintainable. The Syslinux core now lives in core/; the Linux and generic utilities has moved into utils/, and copybs.com has moved into dos/; it had to go somewhere, and it seemed as good a place as any.
* Assemble via ELF, to enable future linkingH. Peter Anvin2008-05-282-1/+2
| | | | | Assemble all files to ELF instead of using the NASM built-in linker. This can enable us to do actual linking in the future.
* Fixed the various Makefiles so that SYSLINUX compiles on platforms with GCC ↵Stefan Bucur2008-05-121-1/+1
| | | | -fstack-protector flag enabled by default.
* Use $(CC) in gcc_ok macro, not plain gccH. Peter Anvin2008-03-051-1/+1
| | | | | Use $(CC) in gcc_ok macro, not plain gcc. This seems to work, iff the gcc_ok macro is declared with =, not :=
* extlinux: compile hack for old distrossyslinux-3.62-pre16H. Peter Anvin2008-02-251-0/+2
| | | | | Some old distros would have <linux/fs.h> poison the namespace with a non-glibc "struct statfs". Hack around it.
* Whitespace cleanup...syslinux-3.62-pre11H. Peter Anvin2008-02-191-1/+1
|
* extlinux: early check for ext2/ext3-ness of filesystemsyslinux-3.61-pre5H. Peter Anvin2008-01-241-0/+12
| | | | Verify that we have an ext2 or ext3 filesystem early on.
* Merge commit 'origin/master' into advH. Peter Anvin2008-01-101-1/+1
|\ | | | | | | | | | | Conflicts: extlinux/extlinux.c
| * Update copyright yearH. Peter Anvin2008-01-101-1/+1
| |
* | Create libinstaller; actually implement boot-once for extlinuxH. Peter Anvin2007-12-142-80/+261
|/ | | | | | --once now supported for extlinux; some infrastructure for syslinux there as well, need implementation in all the various installers, however.
* Remove unused set_8() functionH. Peter Anvin2007-06-011-5/+0
| | | | Remove unused set_8() function, to keep gcc quiet.
* RAID mode installer support for extlinuxH. Peter Anvin2007-06-011-12/+30
| | | | Hook up RAID mode in the extlinux installer.
* Don't clobber /dev/null when compiling as rootLuciano Rocha2007-05-251-2/+4
| | | | | | Compiling as root is highly discouraged, but some people do it anyway. gcc_ok, however, can clobber /dev/null due to "-o /dev/null"; this is bad. Instead, write a temporary file and delete it.
* Stealth whitespace cleanup (automated)H. Peter Anvin2007-03-142-14/+14
|
* Deal with various distributions breaking gcc in weird waysH. Peter Anvin2007-02-061-1/+7
|
* extlinux: when compiling against klibc, use atexit() to clean up the devnodeH. Peter Anvin2006-08-241-21/+20
|
* extlinux: when building for klibc, mknod() needs to be a block deviceH. Peter Anvin2006-08-241-1/+1
|
* Print a usage message when we get an invalid optionsyslinux-3.20-pre20H. Peter Anvin2006-08-241-2/+1
|
* Support building extlinux with klibcH. Peter Anvin2006-08-241-4/+37
|
* Remove CVS-era $Id$ tags.H. Peter Anvin2006-08-171-1/+0
|
* Across-the-board stealth whitespace cleanupH. Peter Anvin2006-05-033-22/+19
|
* Fix uninitialized variableshpa2005-09-221-2/+2
|
* Add update-only mode to extlinux; use ithpa2005-09-221-21/+49
|
* extlinux: fix multiple directory-parsing bugs.syslinux-3.08-pre6hpa2005-04-031-1/+2
|
* Private copy of <linux/ext2_fs.h>syslinux-3.07hpa2005-01-122-1/+509
|
* Total hack to work around machines with broken BLKGETSIZE64 definition.hpa2005-01-051-1/+3
|