File powerpc-utils-papr.drmgr-symlinks.patch of Package powerpc-utils

---
 cmds/drmgr/Makefile |   14 ++++++++++++++
 1 file changed, 14 insertions(+)

Index: powerpc-utils-papr-1.1.3/cmds/drmgr/Makefile
===================================================================
--- powerpc-utils-papr-1.1.3.orig/cmds/drmgr/Makefile
+++ powerpc-utils-papr-1.1.3/cmds/drmgr/Makefile
@@ -31,6 +31,20 @@ lsslot: $(LSSLOT_OBJS)
 
 install: $(CMDS)
 	@$(call install_sbin,$(CMDS),$(DESTDIR))
+	@for i in \
+	drslot_chrp_slot \
+	drslot_chrp_pci \
+	drslot_chrp_cpu \
+	drslot_chrp_phb \
+	drslot_chrp_mem \
+	drslot_chrp_hea \
+	drmig_chrp_pmig \
+	; do \
+	ln -sfvbn drmgr $(DESTDIR)$(SBIN_DIR)/$$i ; \
+	done
+	@ln -sfvbn usysattn $(DESTDIR)$(SBIN_DIR)/usysfault
+	@ln -sfvbn serv_config  $(DESTDIR)$(SBIN_DIR)/uspchrp
+
 
 uninstall:
 	@$(call uninstall_sbin,$(CMDS),$(DESTDIR))
openSUSE Build Service is sponsored by