Paulo Alcantara [Mon, 25 Jul 2011 00:24:24 +0000 (00:24 +0000)]
ntfs: heh :-)
Signed-off-by: Paulo Alcantara <pcacjr@gmail.com>
Paulo Alcantara [Sun, 24 Jul 2011 20:36:25 +0000 (20:36 +0000)]
ntfs: set block shift and size to their correct values
Signed-off-by: Paulo Alcantara <pcacjr@gmail.com>
Paulo Alcantara [Sun, 24 Jul 2011 08:04:58 +0000 (08:04 +0000)]
ntfs: implement fixups_realloc()
Signed-off-by: Paulo Alcantara <pcacjr@gmail.com>
Paulo Alcantara [Sat, 23 Jul 2011 16:52:20 +0000 (16:52 +0000)]
ntfs: implement ntfs_next_extent() and ntfs_getfssec()
Signed-off-by: Paulo Alcantara <pcacjr@gmail.com>
Paulo Alcantara [Wed, 20 Jul 2011 23:27:13 +0000 (23:27 +0000)]
ntfs: implement ntfs_readdir()
Read one directory entry at one time.
Signed-off-by: Paulo Alcantara <pcacjr@gmail.com>
Paulo Alcantara [Wed, 20 Jul 2011 01:59:23 +0000 (01:59 +0000)]
ntfs: implement get_inode_mode()
Determine the mode of an inode from a given file record.
Signed-off-by: Paulo Alcantara <pcacjr@gmail.com>
Paulo Alcantara [Mon, 11 Jul 2011 17:17:26 +0000 (17:17 +0000)]
ntfs: implement ntfs_iget()
Return an allocated inode of a given UTF-16LE LFN passed as 2nd
argument.
Signed-off-by: Paulo Alcantara <pcacjr@gmail.com>
Paulo Alcantara [Fri, 8 Jul 2011 01:59:33 +0000 (01:59 +0000)]
ntfs: implement ntfs_iget_root()
Return an allocated inode of the respective root directory along with
its information.
Signed-off-by: Paulo Alcantara <pcacjr@gmail.com>
Paulo Alcantara [Fri, 8 Jul 2011 00:57:26 +0000 (00:57 +0000)]
ntfs: implement for_each_mft_record() macro
Walk through the MFT records from a given block number. Also add more
NTFS-specific structures that'll be used in turn.
Signed-off-by: Paulo Alcantara <pcacjr@gmail.com>
Paulo Alcantara [Thu, 7 Jul 2011 22:17:10 +0000 (22:17 +0000)]
ntfs: implement new_ntfs_inode()
Signed-off-by: Paulo Alcantara <pcacjr@gmail.com>
Paulo Alcantara [Thu, 7 Jul 2011 21:28:05 +0000 (21:28 +0000)]
Initial NTFS readonly support code to Syslinux
Basically add the NTFS filesystem structures and also implement
ntfs_fs_init() to only initialize the filesystem metadata and return the
block size in bits.
Signed-off-by: Paulo Alcantara <pcacjr@gmail.com>
Paulo Alcantara [Tue, 5 Jul 2011 21:32:51 +0000 (21:32 +0000)]
Add NTFS filesystem support to Linux and Windows installers
Signed-off-by: Paulo Alcantara <pcacjr@gmail.com>
H. Peter Anvin [Thu, 25 Aug 2011 17:58:44 +0000 (10:58 -0700)]
ifmemdsk: remove spurious +x bit
This is not an executable...
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Wed, 24 Aug 2011 22:40:05 +0000 (15:40 -0700)]
Merge remote-tracking branch 'sha0/ifmemdsk'
Conflicts:
NEWS
H. Peter Anvin [Wed, 24 Aug 2011 22:39:35 +0000 (15:39 -0700)]
NEWS: document isohybrid -m
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Matthew Garrett [Thu, 11 Aug 2011 18:58:09 +0000 (19:58 +0100)]
isohybrid: Generate GPT and Mac bootable images
EFI systems typically don't support booting off ISO 9660 filesystems,
even if written to USB sticks. This patch adds support for generating a
GPT that covers the stick as well, with an additional partition entry
pointing purely at the secondary El Torito image. When burned to CD the
secondary El Torito will be used as an EFI boot image, and when written
to a USB stick the GPT partition will be found and may be booted from.
However, some earlier EFI Macs don't support booting from El Torito
images via EFI. To cater for them this also supports generating an Apple
partition table, allowing a third El Torito image in HFS+ format to be
made available to the firmware. This requires padding the MBR images
slightly in order to leave space for the Apple header, but should have
no functional impact.
Sadly, this breaks the workaround for Acer BIOSes (magic xor
instruction) when Mac support is enabled via -m... not much that can
be done about that.
Signed-off-by: Matthew Garrett <mjg@redhat.com>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Shao Miller [Sat, 6 Aug 2011 09:24:46 +0000 (05:24 -0400)]
ifmemdsk.c32: Allow boot options based on presence of MEMDISK
Like 'ifcpu.c32' and 'ifplop.c32', this COMBOOT32 module will
check for the presence of MEMDISK(s) and choose one of two
(optionally) specified commands.
Signed-off-by: Shao Miller <shao.miller@yrdsb.edu.on.ca>
H. Peter Anvin [Thu, 28 Jul 2011 21:13:31 +0000 (14:13 -0700)]
extlinux: remove dead code in installer
Remove some dead code in the installer, which caused build error with
gcc 4.6 and -Werror.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Yi Yang [Tue, 12 Jul 2011 06:53:50 +0000 (14:53 +0800)]
btrfs: Correctly determine the installation subvolume
There are multiple ways to set up subvolumes in btrfs. Use a general
determination method which works for all schemes.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Paulo Alcantara [Tue, 5 Jul 2011 22:12:24 +0000 (22:12 +0000)]
extlinux: remove wrong use of strstr()
strstr() is only used for zero-terminated strings, so OEM Name is not
guaranteed to be zero-terminated. Instead, use fat_check_sb_fields() to
sanity check FAT superblock.
Signed-off-by: Paulo Alcantara <pcacjr@gmail.com>
Paulo Alcantara [Tue, 5 Jul 2011 22:08:04 +0000 (22:08 +0000)]
implement fat_check_sb_fields()
Sanity check for FAT volumes
Signed-off-by: Paulo Alcantara <pcacjr@gmail.com>
P J P [Tue, 28 Jun 2011 23:31:38 +0000 (16:31 -0700)]
isohybrid: unbreak hex/octal arguments in C version
Allow hex/octal arguments in the C version of isohybrid, since they
were accepted by the Perl version.
H. Peter Anvin [Tue, 28 Jun 2011 23:20:48 +0000 (16:20 -0700)]
Merge remote-tracking branch 'genec/extlinux-geo-for-hpa'
H. Peter Anvin [Tue, 28 Jun 2011 02:06:43 +0000 (19:06 -0700)]
com32: make syslinux_dump_*() pure debugging functions
Make the syslinux_dump_*() functions pure debugging functions; that is
the way that they are used anyway, and this way they log to the same
place as dprintf.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Tue, 28 Jun 2011 01:51:11 +0000 (18:51 -0700)]
Use <dprintf.h> instead of an ad hoc definition
Instead of using ad hoc definitions of dprintf, dprintf2, vdprintf and
vdprintf2, use <dprintf.h> everywhere possible.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Tue, 21 Jun 2011 04:33:38 +0000 (21:33 -0700)]
dprintf: always define dprintf2/vdprintf2
Always define dprintf2/vdprintf2 even with no debugging at all
enabled.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Tue, 21 Jun 2011 04:31:51 +0000 (21:31 -0700)]
libupload: use %zx to print a size_t argument
To print an argument of type size_t we should use the %z size
modifier.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Tue, 21 Jun 2011 04:30:39 +0000 (21:30 -0700)]
lib: sync <stdint.h> and <stddef.h> from klibc
The stdint.h definition appears to be a total mess. Clean it up with
the current version from klibc, and revert change of size_t being long
rather than int (it is not on i386).
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Tue, 21 Jun 2011 04:19:46 +0000 (21:19 -0700)]
lib/shuffle: use <dprintf.h>
Another straggler not yet using <dprintf.h> for debugging.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Tue, 21 Jun 2011 04:19:17 +0000 (21:19 -0700)]
dprintf: add the ability to log to stdio
Add the ability to redirect dprintf to stdio when there is no other
choice.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Tue, 21 Jun 2011 04:18:49 +0000 (21:18 -0700)]
chain.c32: fix types in dprintf()
Correct invalid types in dprintf().
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Tue, 21 Jun 2011 04:17:23 +0000 (21:17 -0700)]
lib: Add missing bits to stddef.h, stdint.h; pointers are "long"
Add missing bits to stddef.h and stdint.h and correct the basic
pointer type to "long". We really should use the gcc macros for
this...
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Tue, 24 May 2011 16:40:12 +0000 (09:40 -0700)]
core: extend conventional memory warning with amount seen
Extend the conventional memory warning with the amount actually seen.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Gene Cumm [Wed, 11 May 2011 16:03:30 +0000 (12:03 -0400)]
extlinux/main.c: Fix geometry handling
1) ioctl HDIO_GETGEO expects a pointer to a struct hd_geometry
2) struct stat's st_dev is the parent file used; st_rdev is what we want
Reported-by: Michael Tokarev <mjt@tls.msk.ru>
Tested-By: Michael Tokarev <mjt@tls.msk.ru>
Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
H. Peter Anvin [Tue, 10 May 2011 03:02:27 +0000 (20:02 -0700)]
Add "make strip" target
Add a "make strip" target, to make doing the official build easier.
We want the official build to have stripped binaries for size reasons,
so do it right and make it an actual build target.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Mon, 9 May 2011 22:04:29 +0000 (15:04 -0700)]
Remove -s for host binaries
Remove -s for host binaries; current practice is to let the distro
packaging systems do that themselves. For the official binaries, we
should probably strip them, but via an external tool.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
H. Peter Anvin [Mon, 9 May 2011 22:01:45 +0000 (15:01 -0700)]
linux: remove debugging OPTFLAGS
Remove debugging OPTFLAGS which really should have made it in.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
H. Peter Anvin [Mon, 2 May 2011 01:01:22 +0000 (18:01 -0700)]
syslinux.mk: $(MAKEDIR), not $(makefiledir)
Fix the path for the optional makefile segments.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Mon, 2 May 2011 01:00:19 +0000 (18:00 -0700)]
chain.c32: allow specifying arbitrary seg/offs/entry
Augment the seg= option to also allow for the offset and entry point
to be specified.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Shao Miller [Sun, 1 May 2011 17:49:43 +0000 (13:49 -0400)]
chain: Support loading ReactOS' FreeLdr
Use something like:
LABEL freeldr
COM32 chain.c32
APPEND freeldr=freeldr.sys
Signed-off-by: Shao Miller <shao.miller@yrdsb.edu.on.ca>
Shao Miller [Sun, 1 May 2011 16:43:09 +0000 (12:43 -0400)]
chain: Run Nindent on chain.c
Minor formatting fix-ups
Signed-off-by: Shao Miller <shao.miller@yrdsb.edu.on.ca>
Gene Cumm [Fri, 29 Apr 2011 21:16:57 +0000 (17:16 -0400)]
diag/geodsp/Makefile: Use make variables
Use the appropriate variables but for now the flags/options are
overridden in this Makefile. Also add XZ to mk/syslinux.mk
Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
Gene Cumm [Tue, 26 Apr 2011 23:47:09 +0000 (19:47 -0400)]
diag/geodsp: Save the .bin files
They are a BTARGET file
Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
Gene Cumm [Tue, 26 Apr 2011 23:43:44 +0000 (19:43 -0400)]
diag/geodsp: Makefile cleanup
Unneeded statements; delete *.lst like other Makefiles
Gene Cumm [Tue, 26 Apr 2011 23:10:52 +0000 (19:10 -0400)]
diag/geodsp: Fix .img.gz prerequisite
H. Peter Anvin [Tue, 26 Apr 2011 08:30:29 +0000 (01:30 -0700)]
hdt: add back -I$(com32)
hdt picks up include files from outside the include directory and so
needs an explicit -I$(com32). This probably should be fixed.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Tue, 26 Apr 2011 08:29:28 +0000 (01:29 -0700)]
sysdump: add $(LIBS) to the link rule
$(C_LIBS) doesn't include $(LIBS) so we need to add it explicitly.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Tue, 26 Apr 2011 08:18:18 +0000 (01:18 -0700)]
Merge remote-tracking branch 'mfleming/for-hpa/makefile-cleanup'
Resolved Conflicts:
com32/hdt/Makefile
com32/sysdump/Makefile
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Tue, 26 Apr 2011 03:18:07 +0000 (20:18 -0700)]
isolinux: remove broken and obsolete open_file_t
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Tue, 26 Apr 2011 03:16:07 +0000 (20:16 -0700)]
isolinux: remove .img file support
Remove disk image support from ISOLINUX. Very few BIOSes support this
call correctly, and it is likely to have been broken for a very long
time anyway.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Tue, 26 Apr 2011 00:15:40 +0000 (17:15 -0700)]
com32: inet_ntoa() takes struct in_addr
The standard definition for inet_ntoa() is to take struct in_addr, and
not doing that causes a conflict on the lwip branch.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Tue, 26 Apr 2011 00:00:22 +0000 (17:00 -0700)]
hdt: remove set-but-unused variable
Remove a set but unused variable in HDT, which prevents building with
gcc 4.6. This is probably a bug; presumably the active flag should be
presented to the user, too.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Mon, 25 Apr 2011 22:24:33 +0000 (15:24 -0700)]
Merge remote-tracking branch 'sherbszt/gfxboot32'
Steffen Winterfeldt [Tue, 19 Apr 2011 13:27:26 +0000 (15:27 +0200)]
gfxboot: pass current working dir to gfxboot core
Pass current working dir to (and back from) gfxboot core via gfx_config
struct. This way I can implement a chdir() in the gfxboot core without
the need for additional 16-bit comboot calls. gfxboot may change the
directory, so you have to read and apply the current setting in boot() (to
read kernel etc. from right location).
Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
H. Peter Anvin [Mon, 25 Apr 2011 21:34:30 +0000 (14:34 -0700)]
Merge remote-tracking branch 'hdt/master'
H. Peter Anvin [Mon, 25 Apr 2011 21:32:08 +0000 (14:32 -0700)]
diag/geodsp: zero-fill sectors in -1 mode
In -1 mode, zero-fill the sector instead of writing whatever garbage
was in the buffer already.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Mon, 25 Apr 2011 21:27:28 +0000 (14:27 -0700)]
diag/geodsp: fix ordering of args to fread/fwrite in mk-lba-img
If we want the return value to be in bytes, make sure we pass the byte
count in the nmemb field instead of the size field.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Mon, 25 Apr 2011 19:39:08 +0000 (12:39 -0700)]
diag/geodsp: Avoid large intermediate files
Allow the generation program mk-lba-img to merge the prefix file and
output to stdout, so it can be fed directly to the compressor; that
way we avoid generating huge intermediate files on disk.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Mon, 25 Apr 2011 19:22:21 +0000 (12:22 -0700)]
ppmtolss16: remove obsolete Perl construct
defined() on an array is considered obsolete; instead check for a
nonzero number of elements with scalar().
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Steffen Winterfeldt [Tue, 19 Apr 2011 13:27:26 +0000 (15:27 +0200)]
gfxboot: handle INITRD config line
Handle case where there is no initrd= option but a separate initrd config line.
Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
H. Peter Anvin [Fri, 22 Apr 2011 04:32:01 +0000 (21:32 -0700)]
version: now working on version 4.05
4.04 is out, next version will be 4.05 (or later).
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Erwan Velu [Thu, 21 Apr 2011 19:47:57 +0000 (21:47 +0200)]
hdt: Final release 0.5.0
Thanks for all who participe in this release.
Erwan Velu [Thu, 21 Apr 2011 19:43:54 +0000 (21:43 +0200)]
hdt: Using dashed instead of . into label name
When generating floppy images some version of mtools (< 4.0.14) are
buggy and generate incorrect labels. So using > 4.0.13 is recommended.
Anyway, let's use _ into the volume name, that cleaner :
We now have
disk label="HDT_0_5_0_B"
instead of
disk label="HDT_0~5~0-B"
Erwan Velu [Wed, 20 Apr 2011 19:06:14 +0000 (21:06 +0200)]
hdt: Fixing ACPI display
Some screenshots shows that we have some troubles for aligning items.
This is now fixed.
Erwan Velu [Wed, 20 Apr 2011 18:44:29 +0000 (20:44 +0200)]
hdt: New release beta5
Erwan Velu [Wed, 20 Apr 2011 18:21:21 +0000 (20:21 +0200)]
libupload: Adding tftp.h missing file
Oups, this while wasn't commited :/
Erwan Velu [Wed, 20 Apr 2011 18:20:22 +0000 (20:20 +0200)]
hdt: Showing specific message for auto mode
That's a nice info to know that some output were generated by the
automatic mode.
Erwan Velu [Wed, 20 Apr 2011 18:14:45 +0000 (20:14 +0200)]
hdt: Removing useless printf in dump mode
This message was clearly boring to read ;o)
Erwan Velu [Wed, 20 Apr 2011 18:12:24 +0000 (20:12 +0200)]
libupload: Fixing tftp return value
The default return value for the tftp mode.
This made the tftp to return error even if the upload was succesful.
Erwan Velu [Tue, 19 Apr 2011 18:23:20 +0000 (20:23 +0200)]
hdt: New release Beta4
Erwan Velu [Tue, 19 Apr 2011 18:05:35 +0000 (20:05 +0200)]
hdt: Adding dump mode on pre-built images
As we now have a dump mode, let's add an entry in our menu for that.
Erwan Velu [Tue, 19 Apr 2011 18:00:46 +0000 (20:00 +0200)]
hdt: Preventing dump mode if no PXE config
Dump mode can only work if PXE is present.
H. Peter Anvin [Mon, 18 Apr 2011 21:53:45 +0000 (14:53 -0700)]
Merge commit 'syslinux-4.04' into dynamic-sector
H. Peter Anvin [Mon, 18 Apr 2011 21:24:17 +0000 (14:24 -0700)]
spec: Use BuildRequires, add diag/ subdirectory
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Mon, 18 Apr 2011 21:12:58 +0000 (14:12 -0700)]
diag: Don't remove BTARGET on make clean
"make clean" should not remove BTARGET
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Erwan Velu [Mon, 18 Apr 2011 21:12:22 +0000 (23:12 +0200)]
Merge branch 'master' of git://git./boot/syslinux/syslinux
H. Peter Anvin [Mon, 18 Apr 2011 21:11:26 +0000 (14:11 -0700)]
Merge remote-tracking branch 'pcacjr/syslinux-update-for-hpa'
Erwan Velu [Mon, 18 Apr 2011 21:08:21 +0000 (23:08 +0200)]
hdt: Reporting TFTP errors in dump mode
If we get some errors from the tftp, let's report it to the user.
This will make user's life easier to understand why the dumping mode
isn't working.
Erwan Velu [Mon, 18 Apr 2011 21:07:39 +0000 (23:07 +0200)]
libupload: Implementing error code on tftp
When using the tftp backend, let's return the errors we got on the
server.
H. Peter Anvin [Mon, 18 Apr 2011 21:06:54 +0000 (14:06 -0700)]
menu: allow "menu hiddenkey" to take multiple keys; run unlabel
- Allow "menu hiddenkey" to take a comma-separated list of keys.
- Run unlabel() on the commands passed to menu hiddenkey.
XXX: Consider moving unlabelling to post-menu instead.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Erwan Velu [Mon, 18 Apr 2011 20:37:15 +0000 (22:37 +0200)]
hdt: Fixing automatic mode parsing
Parsing of the auto='' mode was weak an non functionnal in many
configuration like
auto='dump'
This is now fixed.
H. Peter Anvin [Mon, 18 Apr 2011 20:53:19 +0000 (13:53 -0700)]
NEWS: Document MENU HIDDENKEY
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Erwan Velu [Mon, 18 Apr 2011 19:07:33 +0000 (21:07 +0200)]
libupload: Fixing memset call
We have to use the size of the element, not the size of the pointer.
Erwan Velu [Sun, 17 Apr 2011 17:44:21 +0000 (19:44 +0200)]
hdt: New release 0.5.0-beta3
Erwan Velu [Sat, 16 Apr 2011 18:34:40 +0000 (20:34 +0200)]
cpuid: Using generic model if cyrix id is unknown
When using the specific Cyrix call to determine the model, if the model
is unknown, let's consider the generic call was right.
This insure a better display of the model id.
Matt Fleming [Tue, 12 Apr 2011 13:44:32 +0000 (14:44 +0100)]
lua: Delete superfluous $(LIBS) prerequisite
com32.mk already includes the necessary library in $(C_LIBS), we don't
need to list them again in $(LIBS).
Signed-off-by: Matt Fleming <matt.fleming@linux.intel.com>
Matt Fleming [Tue, 12 Apr 2011 13:39:57 +0000 (14:39 +0100)]
sysdump: Delete superfluous $(LIBS) prerequisite
com32.mk already includes the necessary libraries in $(C_LIBS), we
don't need to list them again in $(LIBS).
Signed-off-by: Matt Fleming <matt.fleming@linux.intel.com>
Matt Fleming [Mon, 11 Apr 2011 13:44:44 +0000 (14:44 +0100)]
hdt: Delete superfluous $(LIBS) prerequisites
com32.mk already includes the necessary libraries in $(C_LIBS), we
don't need to list them again in $(LIBS).
Signed-off-by: Matt Fleming <matt.fleming@linux.intel.com>
Matt Fleming [Mon, 11 Apr 2011 12:38:36 +0000 (13:38 +0100)]
menu.c32: Delete superfluous $(LIBS) prerequistite
com32.mk already includes the necessary libraries in $(C_LIBS), we
don't need to list them again in $(LIBS).
Signed-off-by: Matt Fleming <matt.fleming@linux.intel.com>
Erwan Velu [Sat, 16 Apr 2011 06:06:01 +0000 (08:06 +0200)]
cpuid: Improving Cyrix/NSC detection
This code add the specific detection code for Cyrix/NSC processor.
Code came from the Linux kernel.
Erwan Velu [Fri, 15 Apr 2011 19:26:52 +0000 (21:26 +0200)]
hdt: Fixing buffer corruption in PXE menu
Jim Cromie reported that PXE menu behave like :
gPXE Detected: ]No
This commit avoid this buffer corruption.
Paulo Alcantara [Fri, 15 Apr 2011 18:28:31 +0000 (15:28 -0300)]
syslinux: check --update option properly
Signed-off-by: Paulo Alcantara <pcacjr@gmail.com>
Paulo Alcantara [Fri, 15 Apr 2011 18:21:10 +0000 (15:21 -0300)]
extlinux: remove already_installed
Signed-off-by: Paulo Alcantara <pcacjr@gmail.com>
Paulo Alcantara [Fri, 15 Apr 2011 18:13:54 +0000 (15:13 -0300)]
extlinux: use syslinux_already_installed instead of already_installed
Signed-off-by: Paulo Alcantara <pcacjr@gmail.com>
Paulo Alcantara [Fri, 15 Apr 2011 17:55:29 +0000 (14:55 -0300)]
libinstaller: implement syslinux_already_installed
syslinux_already_installed function will be used in both extlinux and
syslinux for checking if the boot sector has either the string
"SYSLINUX" or "EXTLINUX" in the OEMID field.
Signed-off-by: Paulo Alcantara <pcacjr@gmail.com>
Erwan Velu [Thu, 14 Apr 2011 18:58:05 +0000 (20:58 +0200)]
cpuid: Managing UNKNOWN CPU better
It's safe to manage the unknown cpu as a regular one. This will avoid
weird behavior when CPU isn't well detected.
Erwan Velu [Wed, 13 Apr 2011 19:13:37 +0000 (21:13 +0200)]
hdt: Changing boot flag semantic in menu mode
What we report is the presence of the boot flag and not the ability of a
partition to be bootable. A partition can have a valid bootloader with a
boot flag not set. So the 'Bootable' semantic was wrong.
Jim Cromie [Wed, 13 Apr 2011 19:03:58 +0000 (21:03 +0200)]
cpuid: add cpuid info for "Geode by NSC"
Without this, cpu_detect(), and set_generic_info() would take 416
seconds on a soekris 4801 and hdt would report ?????????? as the
processor vendor.
Jim Cromie [Wed, 13 Apr 2011 18:57:31 +0000 (20:57 +0200)]
hdt: fix precedence problem in double-space check
Erwan Velu [Wed, 13 Apr 2011 18:42:38 +0000 (20:42 +0200)]
hdt: Display non-sequentials disks configurations
If the location of the disks wasn't sequential on the system, the menu
mode was missing some.
This commit fix ticket #46.
Thanks gerth for reporting.