diff options
author | Michael Brown <mbrown@fensystems.co.uk> | 2008-06-10 00:11:25 +0100 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2008-06-09 16:22:45 -0700 |
commit | 78b21d2bdd5846a21318c428e49755f08f95fb01 (patch) | |
tree | 0ad9b738a73e7c6ba274f21b56b5d380f3cd7557 /version | |
parent | 1428a3cf777fb3daca91c25db8985ecb8e699756 (diff) | |
download | wraplinux-78b21d2bdd5846a21318c428e49755f08f95fb01.tar.gz wraplinux-78b21d2bdd5846a21318c428e49755f08f95fb01.tar.xz wraplinux-78b21d2bdd5846a21318c428e49755f08f95fb01.zip |
Fix NBI flags in the presence of segment merging
output_nbi() was calculating ihdr.flags before merging in subsequent
segments; this meant that if the last segment got merged,
NBI_IFLAG_LAST was never set. This breaks mknbi's disnbi.pl and
causes gPXE to reject the NBI file as invalid.
Move the calculation of ihdr.flags until after segment merging has
taken place.
Signed-off-by: Michael Brown <mcb30@etherboot.org>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'version')
0 files changed, 0 insertions, 0 deletions