Author: blogic
Date: 2014-10-26 17:57:27 +0100 (Sun, 26 Oct 2014)
New Revision: 43069

Modified:
   trunk/package/utils/util-linux/Makefile
Log:
util-linux-dmesg: Add missing install section

Package util-linux-dmesg is broken (at least) in Barrier Breaker git repo
as you can select it within menuconfig, it will compile (as a part of
util-linux) but it will not install as install section is missing from
package Makefile.

Signed-off-by: Tomasz Wasiak <[email protected]>

Modified: trunk/package/utils/util-linux/Makefile
===================================================================
--- trunk/package/utils/util-linux/Makefile     2014-10-26 16:18:24 UTC (rev 
43068)
+++ trunk/package/utils/util-linux/Makefile     2014-10-26 16:57:27 UTC (rev 
43069)
@@ -152,6 +152,7 @@
 define Package/dmesg
 $(call Package/util-linux/Default)
   TITLE:=print or control the kernel ring buffer
+  DEPENDS:= +librt
 endef
 
 define Package/dmesg/description
@@ -438,6 +439,11 @@
        $(INSTALL_BIN) $(PKG_BUILD_DIR)/.libs/cfdisk $(1)/usr/sbin/
 endef
 
+define Package/dmesg/install
+       $(INSTALL_DIR) $(1)/usr/sbin
+       $(INSTALL_BIN) $(PKG_BUILD_DIR)/dmesg $(1)/usr/sbin/
+endef
+
 define Package/fdisk/install
        $(INSTALL_DIR) $(1)/usr/sbin
        $(INSTALL_BIN) $(PKG_BUILD_DIR)/.libs/fdisk $(1)/usr/sbin/
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to