From patchwork Sat Jan 3 18:54:49 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gergely Kiss X-Patchwork-Id: 425123 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from arrakis.dune.hu (arrakis.dune.hu [78.24.191.176]) (using TLSv1.1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 2C315140081 for ; Sun, 4 Jan 2015 05:55:05 +1100 (AEDT) Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id 51F7728147E; Sat, 3 Jan 2015 19:52:51 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on arrakis.dune.hu X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID autolearn=unavailable version=3.3.2 Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id 2A60C2810B2 for ; Sat, 3 Jan 2015 19:52:47 +0100 (CET) X-policyd-weight: using cached result; rate: -8.5 Received: from mail-wi0-f178.google.com (mail-wi0-f178.google.com [209.85.212.178]) by arrakis.dune.hu (Postfix) with ESMTPS for ; Sat, 3 Jan 2015 19:52:46 +0100 (CET) Received: by mail-wi0-f178.google.com with SMTP id em10so1089383wid.11 for ; Sat, 03 Jan 2015 10:54:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=Ue5xg54TTqIasQUVpHVza52fbFBtLPADHFqRKI1fKvc=; b=Eb613CdLy7iZg35/f0ZgSnVDTZvsNWfYySprFFuXEUorCMO9m+Eo1COhuGIxBwJfoa A5stoTlh74ZmY1W+2VGAcRmbx8c+AXPDmY+ulRdFBnITr5o7zK0/vFn3z19e9OtpLAUy ISt6RpHxRY6X8NWjz5Oa06ZMGxQeAq/MrkWwmrFKwxEuED/tqAYeKqiFibIVvu0t0J6D m+RK1cth9hOG8kXNUP5WoJ11V3bK/DKP8LDWCL0nQUnr/K+pAqd1zNjSDBGS0Rn6GpsA 3ECmON/Rz5u/m+Gk3CjLLbq09dMCpydxZHCNBKi/4XZTIZjsHCROYRKmVmgr6GyNfgQ2 lTtw== X-Received: by 10.194.62.235 with SMTP id b11mr84726089wjs.73.1420311291609; Sat, 03 Jan 2015 10:54:51 -0800 (PST) Received: from nb.nb (catv-80-99-31-146.catv.broadband.hu. [80.99.31.146]) by mx.google.com with ESMTPSA id o1sm24193451wjf.41.2015.01.03.10.54.50 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 03 Jan 2015 10:54:50 -0800 (PST) Message-ID: <54A83AF9.1010000@gmail.com> Date: Sat, 03 Jan 2015 19:54:49 +0100 From: Gergely Kiss User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: OpenWrt Development List Subject: [OpenWrt-Devel] [PATCH] util-linux: fix packaging issues X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: openwrt-devel-bounces@lists.openwrt.org Sender: "openwrt-devel" From 0a2d389843c104f919a31d444639cfcb32b2d3f9 Mon Sep 17 00:00:00 2001 From: Gergely Kiss Date: Sat, 3 Jan 2015 19:09:43 +0100 Subject: [PATCH] util-linux: fix packaging issues Signed-off-by: Gergely Kiss Tested-by: Gergely Kiss --- Hi Guys, contributing some slight fixes for util-linux: * losetup: missing dependency added * losetup: include the binary in the package instead of the libtool wrapper script * shared libraries: include all the symlink variations in the packages I'd advise to nominate a maintainer for the util-linux package, PKG_MAINTAINER is not currently set in the Makefile. Thanks, Gergely package/utils/util-linux/Makefile | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/package/utils/util-linux/Makefile b/package/utils/util-linux/Makefile index 70a865c..7ce3a77 100644 --- a/package/utils/util-linux/Makefile +++ b/package/utils/util-linux/Makefile @@ -248,6 +248,7 @@ endef define Package/losetup $(call Package/util-linux/Default) TITLE:=set up and control loop devices + DEPENDS:= +libsmartcols endef define Package/losetup/description @@ -422,22 +423,22 @@ endef define Package/libblkid/install $(INSTALL_DIR) $(1)/usr/lib - $(CP) $(PKG_BUILD_DIR)/.libs/libblkid.so.* $(1)/usr/lib/ + $(CP) $(PKG_BUILD_DIR)/.libs/libblkid.so* $(1)/usr/lib/ endef define Package/libmount/install $(INSTALL_DIR) $(1)/usr/lib - $(CP) $(PKG_BUILD_DIR)/.libs/libmount.so.* $(1)/usr/lib/ + $(CP) $(PKG_BUILD_DIR)/.libs/libmount.so* $(1)/usr/lib/ endef define Package/libsmartcols/install $(INSTALL_DIR) $(1)/usr/lib - $(CP) $(PKG_BUILD_DIR)/.libs/libsmartcols.so.* $(1)/usr/lib/ + $(CP) $(PKG_BUILD_DIR)/.libs/libsmartcols.so* $(1)/usr/lib/ endef define Package/libuuid/install $(INSTALL_DIR) $(1)/usr/lib - $(CP) $(PKG_BUILD_DIR)/.libs/libuuid.so.* $(1)/usr/lib/ + $(CP) $(PKG_BUILD_DIR)/.libs/libuuid.so* $(1)/usr/lib/ endef define Package/agetty/install @@ -502,7 +503,7 @@ endef define Package/losetup/install $(INSTALL_DIR) $(1)/usr/sbin - $(INSTALL_BIN) $(PKG_BUILD_DIR)/losetup $(1)/usr/sbin/ + $(INSTALL_BIN) $(PKG_BUILD_DIR)/.libs/losetup $(1)/usr/sbin/ endef define Package/lsblk/install