kexec-tools: Make link /sbin/kexec for compatability with other distros
authorGeoff Levand <geoffrey.levand@am.sony.com>
Mon, 24 Aug 2009 20:12:41 +0000 (20:12 +0000)
committerGeoff Levand <geoffrey.levand@am.sony.com>
Mon, 24 Aug 2009 20:12:41 +0000 (20:12 +0000)
Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
SVN-Revision: 17375

package/kexec-tools/Makefile

index 7ee1c2c..c7e5290 100644 (file)
@@ -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))