NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
bin/45219: mkubootimage usage information does not show lzma and lzo compression options
>Number: 45219
>Category: bin
>Synopsis: mkubootimage usage information does not show lzma and lzo
>compression options
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Aug 06 10:50:00 +0000 2011
>Originator: Elie De Brauwer
>Release: -current
>Organization:
>Environment:
>Description:
src/usr.bin/mkubootimage/mkubootimage.c has recently (rev 1.10) had support for
lzma and lzo compression options in the header:
edb@lapedb:~/netbsd/src/usr.bin/mkubootimage$ cvs diff -r 1.9 -r 1.10
mkubootimage.c
Warning: Permanently added 'anoncvs.netbsd.org' (RSA) to the list of known
hosts.
Index: mkubootimage.c
===================================================================
RCS file: /cvsroot/src/usr.bin/mkubootimage/mkubootimage.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -r1.9 -r1.10
1c1
< /* $NetBSD: mkubootimage.c,v 1.9 2011/08/03 17:00:13 matt Exp $ */
---
> /* $NetBSD: mkubootimage.c,v 1.10 2011/08/03 17:46:40 matt Exp $ */
33c33
< __RCSID("$NetBSD: mkubootimage.c,v 1.9 2011/08/03 17:00:13 matt Exp $");
---
> __RCSID("$NetBSD: mkubootimage.c,v 1.10 2011/08/03 17:46:40 matt Exp $");
180a181,182
> { IH_COMP_LZMA, "lzma" },
> { IH_COMP_LZO, "lzo" },
However the usage information mkubootimage shows is incomplete:
edb@lapedb:~/netbsd/src/$
obj/tooldir.Linux-2.6.39-2-686-pae-i686/bin/nbmkubootimage -h
usage: mkubootimage -A <arm|mips|mips64|powerpc> -C <none|gz|bz2> -O
<openbsd|netbsd|freebsd|linux> -T <standalone|kernel|ramdisk|fs> -a <addr> [-e
<ep>] [-m <magic>] -n <name> <srcfile> <dstfile>
>How-To-Repeat:
Run mkubootimage -h locally
>Fix:
The following trivial patch solves this:
edb@lapedb:~/netbsd/src/usr.bin/mkubootimage$ cvs diff
Warning: Permanently added 'anoncvs.netbsd.org' (RSA) to the list of known
hosts.
? obj
cvs diff: Diffing .
Index: mkubootimage.c
===================================================================
RCS file: /cvsroot/src/usr.bin/mkubootimage/mkubootimage.c,v
retrieving revision 1.11
diff -r1.11 mkubootimage.c
215c215
< fprintf(stderr, " -C <none|gz|bz2>");
---
> fprintf(stderr, " -C <none|gz|bz2|lzma|lzo>");
Home |
Main Index |
Thread Index |
Old Index