bug fixes
Leonardo Rangel
lrangel at linux.vnet.ibm.com
Thu May 17 03:11:23 EST 2007
Hi Paul,
I'm sending a fix for a bug I found on netboot and three little patches to
fix compilation warnings.
on netboot_path.patch i fixed the problem on netboot. According to pxe
approach, after failing loading /etc/MACADDRESS, yaboot tries do
retrieve /etc/IP. If it fails, we chop one digit from IP e try again.
The bug was that we were chopping digits from fspec.file until the
string was empty, and looking for "/etc/","/etc", "/et","/e" and "/"
files before looking for default /etc/yaboot.conf. Now we stop in the
last "/" found in fspec.file
Other minor patches:
exit_return.patch - we were calling exit instead of return 10 times in
this file. weird thing... had it any purpose some time ago? It was
causing compilation warnings.
include_string.patch - just put a new "#include string.h" in some files.
return_type.patch - fixed return type of the function
cfg_set_default_by_mac. This is used on paulo's new patch for netfarm.
best regards,
Leo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: netboot_path.patch
Type: text/x-diff
Size: 487 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/yaboot-devel/attachments/20070516/48503323/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: exit_return.patch
Type: text/x-diff
Size: 1697 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/yaboot-devel/attachments/20070516/48503323/attachment-0001.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: include_string.patch
Type: text/x-diff
Size: 519 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/yaboot-devel/attachments/20070516/48503323/attachment-0002.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: return_type.patch
Type: text/x-diff
Size: 432 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/yaboot-devel/attachments/20070516/48503323/attachment-0003.patch>
More information about the Yaboot-devel
mailing list