aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorGeoff Levand <geoff@infradead.org>2009-08-24 20:12:41 +0000
committerGeoff Levand <geoff@infradead.org>2009-08-24 20:12:41 +0000
commit78b9c06e06701bb2654311e20a03a8cbb6c86c61 (patch)
tree3880a3adcf4a9c16dd362fd0819dcced9add6c8b /package
parent2aa44e86687404f89d3ba72e25bed4336fd17eea (diff)
downloadupstream-78b9c06e06701bb2654311e20a03a8cbb6c86c61.tar.gz
upstream-78b9c06e06701bb2654311e20a03a8cbb6c86c61.tar.bz2
upstream-78b9c06e06701bb2654311e20a03a8cbb6c86c61.zip
kexec-tools: Make link /sbin/kexec for compatability with other distros
Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17375 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r--package/kexec-tools/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/kexec-tools/Makefile b/package/kexec-tools/Makefile
index 7ee1c2cd5b..c7e5290389 100644
--- a/package/kexec-tools/Makefile
+++ b/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))