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

Stefan Reinauer stepan at coresystems.de
Wed Oct 17 01:15:29 CEST 2007


Uwe Hermann wrote:
> 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.
>   
Acked-by: Stefan Reinauer <stepan at coresystems.de>

-- 
coresystems GmbH • Brahmsstr. 16 • D-79104 Freiburg i. Br.
      Tel.: +49 761 7668825 • Fax: +49 761 7664613
Email: info at coresystems.dehttp://www.coresystems.de/
Registergericht: Amtsgericht Freiburg • HRB 7656
Geschäftsführer: Stefan Reinauer • Ust-IdNr.: DE245674866





More information about the coreboot mailing list