[LinuxBIOS] [PATCH] flashrom: /usr/sbin + manpage location

Uwe Hermann uwe at hermann-uwe.de
Wed Oct 17 01:05:09 CEST 2007


On Fri, Oct 12, 2007 at 01:06:53PM +0200, Uwe Hermann wrote:
> See patch.
> 
> After applying an 'svn mv --force flashrom.1 flashrom.8' is required.

[...]

> Multiple flashrom fixes:
> 
>  - Install binary in /usr/sbin (not /usr/bin), as it's a root-only tool.
> 
>  - Rename manpage from flashrom.1 to flashrom.8, as section 8 contains
>    "System administration commands (usually only for root)".
> 
>  - Actually install the manpage upon 'make install'.
> 
> Signed-off-by: Uwe Hermann <uwe at hermann-uwe.de>
> 
> Index: flashrom.1
> ===================================================================
> --- flashrom.1	(Revision 2849)
> +++ flashrom.1	(Arbeitskopie)
> @@ -1,4 +1,4 @@
> -.TH FLASHROM 1 "December 20, 2006"
> +.TH FLASHROM 8 "December 20, 2006"
>  .SH NAME
>  flashrom \- a universal flash programming utility
>  .SH SYNOPSIS
> Index: Makefile
> ===================================================================
> --- Makefile	(Revision 2849)
> +++ Makefile	(Arbeitskopie)
> @@ -55,7 +55,9 @@
>  	@rm -f .test.c .test
>  
>  install: $(PROGRAM)
> -	$(INSTALL) flashrom $(PREFIX)/bin
> +	$(INSTALL) flashrom $(PREFIX)/sbin
> +	mkdir -p $(PREFIX)/share/man/man8
> +	$(INSTALL) $(PROGRAM).8 $(PREFIX)/share/man/man8
>  
>  .PHONY: all clean distclean dep pciutils

*ping*

Any objections?


Uwe.
-- 
http://www.hermann-uwe.de  | http://www.holsham-traders.de
http://www.crazy-hacks.org | http://www.unmaintained-free-software.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20071017/d8da5c58/attachment.sig>


More information about the coreboot mailing list