From patchwork Sat Dec 21 00:06:34 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 182344 Delivered-To: patch@linaro.org Received: by 2002:a92:1f98:0:0:0:0:0 with SMTP id f24csp1204327ilf; Fri, 20 Dec 2019 16:10:19 -0800 (PST) X-Google-Smtp-Source: APXvYqwRqUKnvPKKq5zx/6iKDeKROeGkls4CP9lTwYgVJ2+3t6XrIm2Y5rLqGhpMTg3VxCf67XCD X-Received: by 2002:a62:2bca:: with SMTP id r193mr19120863pfr.251.1576887019789; Fri, 20 Dec 2019 16:10:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576887019; cv=none; d=google.com; s=arc-20160816; b=iYq5mIcBOd8EKkFnhjgi6fmP5GTQ8uCmGsyuYiP8IJBVO0J8Mt1LQs5wK2ByWfiC2T OCgix6fIHAeJwy6bet5lCqmZzRItHuQcGPdQGDApBsN5HRIVuOxUWkc6PQSZ4gy2cFg6 5PHLsPMhm8Y6WngKq9p0ZXDRKnfKPjviMjRHLf69Awe/aXtM+DRCpSEJ0JBXbv0ftbJx aLyyvKrh1KIwgF+WrFg/yiNS9Uae1lsW+qAVXHVgQHwF2b2H5nAFBOK+lgJbAn8Dh+7C 1We9P2cpVfJNPHKHKvNiMELowcRjEtCREvtudcLxpQU6+sRFJPVDBrVA9YeuS8jQPMFw /+Ag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:delivered-to; bh=0WFRd5612bBL/vV8AWneqZxpC3vM/Y+zQpLCZLjx490=; b=vGGqKf7/UCb2cLu/oCLr5HFx5dqHURLfT5f/3LXoE4sMkVdej+M0bwxrGg/ScA4BU+ M5B1YqvBkRcDEtkkB2Xlhnlnkd1vbRy2I98Kg2sAlVnFZ+LBcjfX/9TT9ymqA0I/UYPz C3Nd+TBgAuvwXU7AKghBLXJWtqNeTBqiEZBfbl9wCzZB+ilY53UHHXcbwhGXTf1YJ/HB HYlF6SxAB6pZ3UCBJpHGGE+ZQ+VRPt1E6gVfwdmg7b23jc+4rPI1BGwtNpnyZqcGj1RX JTTYa+Mi2hpi5eeXHi7aFCOtB9AgVTwO8fJFd7X2N35ASZs3ZOb+y+giYK8Y3/6bu1Bw bcyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=Y6umoeOC; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id g11si4771609pgl.407.2019.12.20.16.10.19; Fri, 20 Dec 2019 16:10:19 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=Y6umoeOC; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from ec2-34-214-78-129.us-west-2.compute.amazonaws.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id DE4D07FDB7; Sat, 21 Dec 2019 00:08:03 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pg1-f178.google.com (mail-pg1-f178.google.com [209.85.215.178]) by mail.openembedded.org (Postfix) with ESMTP id 7579E7FA32 for ; Sat, 21 Dec 2019 00:07:03 +0000 (UTC) Received: by mail-pg1-f178.google.com with SMTP id k3so5739008pgc.3 for ; Fri, 20 Dec 2019 16:07:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=D+XdUknhIN7HCRH6jN76vO/7O+h2pxcH3EeuQG5ESEc=; b=Y6umoeOC/7xFW70BsooQ4YS0QbJOmWm9fK35Hkcum7nws3r5BoyOpTR/zjVOk6ib1p nNEAZ0GEamPXkurdM/P7kVOZrimE28FS8srmuYyPxjPcFgBdEkGc2VOCEv+ZrE8RwTs3 A5xV3DLa/64h8Z9nISh0Xn5f8BHhl79wtNoNUyLQWlv6r+snNVMAsUp6Mo2yXTW9aPzB BMArR5TdqbESfGmSOJuYvWOwL6iYBjqIVy/AJPX/3DlETeKfmMwbXHulYjrifl1xmrmO RwHHag8p6CcV0iLi8EUYiuJfS5zV/l96wKEnRX5b06meLPh/RzC9OojVyBfsg0l7uGUL TtGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=D+XdUknhIN7HCRH6jN76vO/7O+h2pxcH3EeuQG5ESEc=; b=hgokmL/9Qn36nT2D3+b15ObCHGUIC+uEV3lTr5CFaUPC+qtiTs6TCJJI8clrUDm/Zi ETbxyPhPm+FSv28lM+LGFU5sutH38BR/iF0CoxDFGxxJFkjvHeSNaVVoppt7NHNjBbRY FoozralW/KBVvOzkdHn1sk/2PndiaDVNNYNEEE3TR1lZ0+Xp2taxEgKguVviWUtVuymp UrEB36fC3Ho/OPnrKwlNBOSueiJQVK0kJYVfPpXyxGuXCcMaEJXqRL6+9er1dUumVKY1 9LmzccQ5zQLw4QI9LRahHbux68oU0BFA4EWDX0NXW5iSX5GPcsa95g0vbvEuQqoyrXa5 cZHg== X-Gm-Message-State: APjAAAVtzm7ltdGg/jj+aP/w+GWdiOddUdROyuMcFcgROfz20P3byxmW r5XEtGrpvE0SH4+VSIW35KpSsv2R4mI= X-Received: by 2002:a63:8041:: with SMTP id j62mr17802618pgd.41.1576886824157; Fri, 20 Dec 2019 16:07:04 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9200:4e0::36e9]) by smtp.gmail.com with ESMTPSA id d4sm11701624pjz.12.2019.12.20.16.07.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Dec 2019 16:07:03 -0800 (PST) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Fri, 20 Dec 2019 16:06:34 -0800 Message-Id: <20191221000635.1573390-22-raj.khem@gmail.com> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20191221000635.1573390-1-raj.khem@gmail.com> References: <20191221000635.1573390-1-raj.khem@gmail.com> MIME-Version: 1.0 Subject: [oe] [meta-oe][PATCH 22/23] boinc-client: Use nonarch_libdir for systemd_units X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org Signed-off-by: Khem Raj --- meta-oe/recipes-extended/boinc/boinc-client_7.16.bb | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) -- 2.24.1 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-extended/boinc/boinc-client_7.16.bb b/meta-oe/recipes-extended/boinc/boinc-client_7.16.bb index ce3f691b2c..1b0af5549a 100644 --- a/meta-oe/recipes-extended/boinc/boinc-client_7.16.bb +++ b/meta-oe/recipes-extended/boinc/boinc-client_7.16.bb @@ -74,11 +74,14 @@ do_compile_prepend () { sed -i -e 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' ${B}/${TARGET_SYS}-libtool } do_install_append() { - if [ -e ${D}${libdir}/systemd/system/boinc-client.service ]; then - install -D -m 0644 \ - ${D}${libdir}/systemd/system/boinc-client.service \ + if [ -e ${D}${nonarch_libdir}/systemd/system/boinc-client.service ]; then + install -d ${D}${systemd_system_unitdir} + mv \ + ${D}${nonarch_libdir}/systemd/system/boinc-client.service \ ${D}${systemd_system_unitdir}/boinc-client.service - rm -rf ${D}${libdir}/systemd + rmdir --ignore-fail-on-non-empty ${D}${nonarch_libdir}/systemd/system \ + ${D}${nonarch_libdir}/systemd \ + ${D}${nonarch_libdir} fi }