[coreboot-gerrit] New patch to review for coreboot: nvramtool: Change binary install directory from sbin to bin

Paul Kocialkowski (contact@paulk.fr) gerrit at coreboot.org
Wed Nov 23 00:41:15 CET 2016


Paul Kocialkowski (contact at paulk.fr) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/17573

-gerrit

commit 537a154bc216e4b3a59c22a8dc1b387ef6cf37af
Author: Jerome Coste <jerome.coste at etu.utc.fr>
Date:   Mon Nov 21 23:23:30 2016 +0100

    nvramtool: Change binary install directory from sbin to bin
    
    Installing nvramtool to sbin breaks the installation process on recent
    systems, where sbin is a symlink to bin and creating the sbin directory
    overrides it.
    
    Changing the binary install directory to bin instead solves the issue.
    
    Change-Id: Ia5febccf07c0313ed2f1f60142fc76e9c9a4dc27
    Signed-off-by: Jerome Coste <jerome.coste at etu.utc.fr>
---
 util/nvramtool/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/util/nvramtool/Makefile b/util/nvramtool/Makefile
index b92adda..54233b0 100644
--- a/util/nvramtool/Makefile
+++ b/util/nvramtool/Makefile
@@ -59,8 +59,8 @@ dep:
 	@$(CC) -MM -MG *.c > .dependencies
 
 install: $(PROGRAM)
-	mkdir -p $(DESTDIR)$(PREFIX)/sbin
-	$(INSTALL) $(PROGRAM) $(DESTDIR)$(PREFIX)/sbin
+	mkdir -p $(DESTDIR)$(PREFIX)/bin
+	$(INSTALL) $(PROGRAM) $(DESTDIR)$(PREFIX)/bin
 	mkdir -p $(DESTDIR)$(PREFIX)/share/man/man8
 	$(INSTALL) -p -m644 cli/$(PROGRAM).8 $(DESTDIR)$(PREFIX)/share/man/man8
 



More information about the coreboot-gerrit mailing list