[LEDE-DEV] [PATCH] util-linux: fix sfdisk

Dirk Neukirchen dirkneukirchen at web.de
Wed May 25 01:48:20 PDT 2016


reported by reproducible openwrt project[1]:
we package some libtool shell script

- add missing dependencies

[1]: https://reproducible.debian.net/openwrt/openwrt.html

Signed-off-by: Dirk Neukirchen <dirkneukirchen at web.de>
---
 package/utils/util-linux/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/package/utils/util-linux/Makefile b/package/utils/util-linux/Makefile
index c128b48..96d1581 100644
--- a/package/utils/util-linux/Makefile
+++ b/package/utils/util-linux/Makefile
@@ -389,6 +389,7 @@ define Package/sfdisk
 $(call Package/util-linux/Default)
   TITLE:=partition table manipulator for Linux
   SUBMENU=disc
+  DEPENDS:= +libblkid +libfdisk +libsmartcols
 endef
 
 define Package/sfdisk/description
@@ -613,7 +614,7 @@ endef
 
 define Package/sfdisk/install
 	$(INSTALL_DIR) $(1)/usr/sbin
-	$(INSTALL_BIN) $(PKG_BUILD_DIR)/sfdisk $(1)/usr/sbin/
+	$(INSTALL_BIN) $(PKG_BUILD_DIR)/.libs/sfdisk $(1)/usr/sbin/
 endef
 
 define Package/swap-utils/install
-- 
2.8.2




More information about the Lede-dev mailing list