[LEDE-DEV] [PATCH v2] util-linux: fix sfdisk
Dirk Neukirchen
dirkneukirchen at web.de
Wed May 25 06:15:03 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
v2: use PKG_INSTALL (suggested by jow)
- fix paths
- make in InstallDev does not seem to be necessary
tested (cal,dmesg,sfdisk) on x86 qemu VM with allyesconfig
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