From f4700ecb071a3510803e6c68a012d17ea011ada4 Mon Sep 17 00:00:00 2001 From: Vasant Hegde Date: Thu, 25 Sep 2014 16:33:07 +0530 Subject: [PATCH 5/5] Update PRRN location Signed-off-by: Vasant Hegde --- rtas_errd/Makefile | 4 ++-- rtas_errd/prrn.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/rtas_errd/Makefile b/rtas_errd/Makefile index 021fa65..ab1223c 100644 --- a/rtas_errd/Makefile +++ b/rtas_errd/Makefile @@ -38,12 +38,12 @@ extract_platdump: $(EXTRACT_PLATDUMP_OBJS) install: all @$(call install_sbin,$(CMDS),$(DESTDIR)) @$(call install_files,$(SCRIPTS),744,$(DESTDIR)/etc) - @$(call install_files,$(PRRN_HOTPLUG),744,$(DESTDIR)/etc/ppc64-diag) + @$(call install_files,$(PRRN_HOTPLUG),744,$(DESTDIR)/usr/libexec/ppc64-diag) uninstall: @$(call uninstall_sbin,$(CMDS),$(DESTDIR)) @$(call uninstall_files,$(SCRIPTS),$(DESTDIR)/etc) - @$(call uninstall_files,$(PRRN_HOTPLUG),$(DESTDIR)/etc/ppc64-diag) + @$(call uninstall_files,$(PRRN_HOTPLUG),$(DESTDIR)/usr/libexec/ppc64-diag) doc: $(DOXYGEN_CFG) @echo "Creating doxygen docs..." diff --git a/rtas_errd/prrn.c b/rtas_errd/prrn.c index 7a791cb..222e6e5 100644 --- a/rtas_errd/prrn.c +++ b/rtas_errd/prrn.c @@ -40,7 +40,7 @@ static int prrn_log_fd = -1; #define OFDT_BASE "/proc/device-tree" #define OFDTPATH "/proc/ppc64/ofdt" -#define PRRN_HOTPLUG "/etc/ppc64-diag/prrn_hotplug" +#define PRRN_HOTPLUG "/usr/libexec/ppc64-diag/prrn_hotplug" #define DRCONF_PATH "/proc/device-tree/ibm,dynamic-reconfiguration-memory/ibm,dynamic-memory" static int write_prrn_log(const char *buf, int len) -- 1.8.3.1