<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/syslinux.git/linux/syslinux.c, branch multifs</title>
<subtitle>git.kernel.org: pub/scm/boot/syslinux/syslinux.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/syslinux.git/'/>
<entry>
<title>libinstaller: introduce syslxrw library</title>
<updated>2015-11-11T00:14:30+00:00</updated>
<author>
<name>Paulo Alcantara</name>
<email>pcacjr@zytor.com</email>
</author>
<published>2015-11-11T00:14:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/syslinux.git/commit/?id=82aac76005b7b19f48b42cbcb192dab6d17b6b05'/>
<id>82aac76005b7b19f48b42cbcb192dab6d17b6b05</id>
<content type='text'>
Due to size constraints on DOS systems, do not include whole syslxcom
into DOS-based installer for using xpread() and xpwrite() functions,
instead make them part of another separate library and include it only.

Signed-off-by: Paulo Alcantara &lt;pcacjr@zytor.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Due to size constraints on DOS systems, do not include whole syslxcom
into DOS-based installer for using xpread() and xpwrite() functions,
instead make them part of another separate library and include it only.

Signed-off-by: Paulo Alcantara &lt;pcacjr@zytor.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>installer: Add sparse address space annotations to the syslinux image</title>
<updated>2014-01-18T00:55:34+00:00</updated>
<author>
<name>H. Peter Anvin</name>
<email>hpa@zytor.com</email>
</author>
<published>2014-01-18T00:54:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/syslinux.git/commit/?id=12eae5ce91273ba9a98b7fe9a838f5ef2f9044b7'/>
<id>12eae5ce91273ba9a98b7fe9a838f5ef2f9044b7</id>
<content type='text'>
Add sparse address space annotations for the syslinux boot image, to
make it easier to catch errors that break the DOS installer build
again.  Use "make CC=cgcc" to run sparse.

Signed-off-by: H. Peter Anvin &lt;hpa@zytor.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add sparse address space annotations for the syslinux boot image, to
make it easier to catch errors that break the DOS installer build
again.  Use "make CC=cgcc" to run sparse.

Signed-off-by: H. Peter Anvin &lt;hpa@zytor.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>linux: Clear up error message</title>
<updated>2013-04-25T14:24:35+00:00</updated>
<author>
<name>Matt Fleming</name>
<email>matt.fleming@intel.com</email>
</author>
<published>2013-04-25T14:14:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/syslinux.git/commit/?id=faff52ef2bd3dca503a6fef3129f02284e9b6ca4'/>
<id>faff52ef2bd3dca503a6fef3129f02284e9b6ca4</id>
<content type='text'>
Passing opt.device to perror() in do_open_file() results in confusing
error messages, as Jack reports,

  Last night, I was trying to install syslinux (5.01) to a SD card of
  mine, writing to a subdirectory to keep the layout neat:

  syslinux-5.01/linux# ./syslinux -i -d /boot /dev/mmcblk0p1
  /dev/mmcblk0p1: No such file or directory

  The message is coming from do_open_file() in syslinux.c: the call to
  open() fails because the containing directory isn't present, and then it
  calls perror(opt.device).

We should instead be passing 'name' to perror() so that we know _which_
file doesn't exist.

Reported-by: Jack Kelly &lt;jack@jackkelly.name&gt;
Signed-off-by: Matt Fleming &lt;matt.fleming@intel.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Passing opt.device to perror() in do_open_file() results in confusing
error messages, as Jack reports,

  Last night, I was trying to install syslinux (5.01) to a SD card of
  mine, writing to a subdirectory to keep the layout neat:

  syslinux-5.01/linux# ./syslinux -i -d /boot /dev/mmcblk0p1
  /dev/mmcblk0p1: No such file or directory

  The message is coming from do_open_file() in syslinux.c: the call to
  open() fails because the containing directory isn't present, and then it
  calls perror(opt.device).

We should instead be passing 'name' to perror() so that we know _which_
file doesn't exist.

Reported-by: Jack Kelly &lt;jack@jackkelly.name&gt;
Signed-off-by: Matt Fleming &lt;matt.fleming@intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>installers: Install ldlinux.c32 automatically</title>
<updated>2012-09-19T09:46:41+00:00</updated>
<author>
<name>Matt Fleming</name>
<email>matt.fleming@intel.com</email>
</author>
<published>2012-09-14T14:22:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/syslinux.git/commit/?id=bda54cb680676bffa731394096956f5d10fbcfaf'/>
<id>bda54cb680676bffa731394096956f5d10fbcfaf</id>
<content type='text'>
Because ldlinux.c32 is required for Syslinux to function correctly, we
should be installing it automatically much like ldlinux.sys.

Signed-off-by: Matt Fleming &lt;matt.fleming@intel.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Because ldlinux.c32 is required for Syslinux to function correctly, we
should be installing it automatically much like ldlinux.sys.

Signed-off-by: Matt Fleming &lt;matt.fleming@intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Add NTFS filesystem support to Linux and Windows installers</title>
<updated>2011-09-07T07:19:05+00:00</updated>
<author>
<name>Paulo Alcantara</name>
<email>pcacjr@gmail.com</email>
</author>
<published>2011-07-05T21:32:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/syslinux.git/commit/?id=b0ac906b283b428ba1c7f35fe1e71a84b3d3d9c6'/>
<id>b0ac906b283b428ba1c7f35fe1e71a84b3d3d9c6</id>
<content type='text'>
Signed-off-by: Paulo Alcantara &lt;pcacjr@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Paulo Alcantara &lt;pcacjr@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>syslinux: check --update option properly</title>
<updated>2011-04-15T18:28:31+00:00</updated>
<author>
<name>Paulo Alcantara</name>
<email>pcacjr@gmail.com</email>
</author>
<published>2011-04-15T18:28:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/syslinux.git/commit/?id=fa6d94a16234683002235bea6d333162ba292da8'/>
<id>fa6d94a16234683002235bea6d333162ba292da8</id>
<content type='text'>
Signed-off-by: Paulo Alcantara &lt;pcacjr@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Paulo Alcantara &lt;pcacjr@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>extlinux, linux: Ignore --force in these installers</title>
<updated>2010-07-20T03:34:04+00:00</updated>
<author>
<name>Shao Miller</name>
<email>shao.miller@yrdsb.edu.on.ca</email>
</author>
<published>2010-07-20T03:34:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/syslinux.git/commit/?id=a8ed766f8c4eea40906086228f10785745342694'/>
<id>a8ed766f8c4eea40906086228f10785745342694</id>
<content type='text'>
Previous commits described this behaviour, but did not
actually implement it. :)

Signed-off-by: Shao Miller &lt;shao.miller@yrdsb.edu.on.ca&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previous commits described this behaviour, but did not
actually implement it. :)

Signed-off-by: Shao Miller &lt;shao.miller@yrdsb.edu.on.ca&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>libinstaller: Add --mbr, --active, and --force options</title>
<updated>2010-07-03T09:28:00+00:00</updated>
<author>
<name>Shao Miller</name>
<email>shao.miller@yrdsb.edu.on.ca</email>
</author>
<published>2010-07-03T07:47:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/syslinux.git/commit/?id=591ab24b42b606caf4dabbb8bf33dbc421e8f005'/>
<id>591ab24b42b606caf4dabbb8bf33dbc421e8f005</id>
<content type='text'>
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 &lt;shao.miller@yrdsb.edu.on.ca&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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 &lt;shao.miller@yrdsb.edu.on.ca&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>installers: handle asprintf() correctly</title>
<updated>2010-07-02T16:39:18+00:00</updated>
<author>
<name>H. Peter Anvin</name>
<email>hpa@zytor.com</email>
</author>
<published>2010-07-02T16:39:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/syslinux.git/commit/?id=cb88d31c15a2803950e81663e4d808a31ba4f8c0'/>
<id>cb88d31c15a2803950e81663e4d808a31ba4f8c0</id>
<content type='text'>
It appears that the glibc version of asprintf() is braindamaged, and
doesn't set the target pointer to NULL in the event of an error (only
returns -1).  Therefore we need to check the return value.  Just in
case someone else made the *opposite* error, also check the pointer.

Bleh.  The glibc documentation states that *BSD sets the pointer to
NULL, but instead of following that, the glibc people put
warn_unused_result on asprintf.  Sigh.

Signed-off-by: H. Peter Anvin &lt;hpa@zytor.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It appears that the glibc version of asprintf() is braindamaged, and
doesn't set the target pointer to NULL in the event of an error (only
returns -1).  Therefore we need to check the return value.  Just in
case someone else made the *opposite* error, also check the pointer.

Bleh.  The glibc documentation states that *BSD sets the pointer to
NULL, but instead of following that, the glibc people put
warn_unused_result on asprintf.  Sigh.

Signed-off-by: H. Peter Anvin &lt;hpa@zytor.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Move modify_adv() into common code</title>
<updated>2010-06-23T23:33:28+00:00</updated>
<author>
<name>H. Peter Anvin</name>
<email>hpa@linux.intel.com</email>
</author>
<published>2010-06-23T23:31:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/syslinux.git/commit/?id=2e8b89f8b2d711a1689067834113483610fa18cd'/>
<id>2e8b89f8b2d711a1689067834113483610fa18cd</id>
<content type='text'>
modify_adv() should be used by any installer which uses the common
CLI, so it should go into syslxopt.c.

Signed-off-by: H. Peter Anvin &lt;hpa@linux.intel.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
modify_adv() should be used by any installer which uses the common
CLI, so it should go into syslxopt.c.

Signed-off-by: H. Peter Anvin &lt;hpa@linux.intel.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
