Browse Source

kexec-tools: Make link /sbin/kexec for compatability with other distros

Signed-off-by: Geoff Levand <[email protected]>

SVN-Revision: 17375
Geoff Levand 16 years ago
parent
commit
8de4d8abf2
1 changed files with 3 additions and 0 deletions
  1. 3 0
      package/kexec-tools/Makefile

+ 3 - 0
package/kexec-tools/Makefile

@@ -71,6 +71,9 @@ define Package/kexec-tools/install
 		$(PKG_INSTALL_DIR)/usr/sbin/kexec \
 		$(1)/usr/sbin
 
+# make a link for compatability with other distros
+	$(INSTALL_DIR) $(1)/sbin
+	ln -s /usr/sbin/kexec $(1)/sbin/kexec
 endef
 
 $(eval $(call BuildPackage,kexec-tools))