From patchwork Sat Dec 21 00:06:27 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 182337 Delivered-To: patch@linaro.org Received: by 2002:a92:1f98:0:0:0:0:0 with SMTP id f24csp1203486ilf; Fri, 20 Dec 2019 16:09:26 -0800 (PST) X-Google-Smtp-Source: APXvYqx3BT7U30jn43vZ8gteTc2Y36r3BpQSzbs5d+fuH76Dk4M7JU5vbMtHLzsBlWJPB7mKB0Wj X-Received: by 2002:a65:6916:: with SMTP id s22mr17342801pgq.244.1576886965843; Fri, 20 Dec 2019 16:09:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576886965; cv=none; d=google.com; s=arc-20160816; b=VGI7541hTSoCZeFsD29KJQOsKXsEpBnoNCIAIgBbGGMqV1Lm9cw3As5Pp1U2DriVb0 qQ5On9nW4m/CF2RIqxfxUmd0/tHInA9gzyV6JsCJOhcGjQpwVLzn/zfnHESfDddzQCMb KIVv2Uz59wLDfaojl+ktbZHJYrzX1SrJMxgz879+5MUnT/DFjWM0114tIXVRT7lgm85j zxP/7tTd1+1AhARY52bLKRAZkGhoiTsl5zIQeTa2jhGExUufnEJ2ji5+c3TYYphSoc1t SjoEzclSz37X4pk1Y/3SN+v3dOwzwsmhn7hQyvcME91oC1Xpw/mFCgxE0hi7uXH6YajR abuA== 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=CpDLh9J84bfor2DZnRfkz3oYWxc624Doks84iYRGEFU=; b=0CZ+9iK7jrH3YOtRy/eTfwQboQcXXIUGRDLXaq0oESxKdb68Pm32qKRuDqEIPEgT/n LWCR4bJIydgwW8srrJTiOhvlM/l4SDiyMH/v23jef+W8zPxFzNBbXNg4lwPfxPZ/U1Jq auszG9nO7OdQOsrm/RXyM9+AS0rSwuWgsLxCodMVs4H8Kuyo2iPkTdsu+ZbtfbOjNAou ZKXTmccbntuAItnBqpXThkCQWzUAHeXuPW5KA5Zv9eJO2dAgTkAglQxXfN/mnoxrR4iY c3sUE32cZGA3SPsJn/ttokweclEYR+DfNlbA+9o013r4KWFsGm5mC8vIPtcbYcS8P3zk OEiQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=t5UdL6+p; 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 h3si10443472pgc.427.2019.12.20.16.09.25; Fri, 20 Dec 2019 16:09:25 -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=t5UdL6+p; 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 A2A7A7FD7F; Sat, 21 Dec 2019 00:07:55 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pg1-f170.google.com (mail-pg1-f170.google.com [209.85.215.170]) by mail.openembedded.org (Postfix) with ESMTP id 6FFB17FCB6 for ; Sat, 21 Dec 2019 00:06:58 +0000 (UTC) Received: by mail-pg1-f170.google.com with SMTP id l24so5744555pgk.2 for ; Fri, 20 Dec 2019 16:06:59 -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=ZWwP+Jy4vrhHtxndJWEZIsNNIVvvw2IdXuLrDdq32ss=; b=t5UdL6+pHWTYBKuUC9iFnUFW36mn5qGtxK/EsUSeJzg4uhiJ/8f1ZEM22JKvQXRyfL T7HMT+0OWMsZO/prqbJ6rLgXh3cytqlrjmcQmTHJE0FfdxebU88dedzBuzQTsY9ZG3ah HkUecLlq7miApFWsb9iF0XHVfNv4M48rprhHY94TDWOGjpQeKvnqECN8P0R5ykrv1xnF 2ye6lnSIen5OoYSq+5Sb+Uut4pIlYVcmSc04xyG39luIT2plt7iYbqr2b+pTS8RWbtFj fIY1DoqwMqgJPtAVyVm7uWfsqxr72ag7EZs+o1v4yj3oD8paIrDPbvhtJQNtK4lL76Si SpUA== 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=ZWwP+Jy4vrhHtxndJWEZIsNNIVvvw2IdXuLrDdq32ss=; b=gcPEmmC5R1LzGlySF12QUEvlFZYimw8bBZzWE2k8k0/ZOsq7vnNSIV0zYjApTmBSw9 T9erRAEnXRnMvlMNeUp/nAKlLcByghCLRuQBxunirXUV6jROHMd2AL4NSdtusBOc0/aC /2jvvrFm/IrSR0TDXybxzlbqFjxLz1ihv9x1bXr1HNp1GcSEUQ5VzGP+3BRjAff6AXj3 T22khvb4L5US5HFt8JXMpN/WO/u/BcPSeX1RL0dvnMBuxNb4LWXySvZ8SCmJVThqLk1w oH2o8eG5m6AVkTj+NmCLbEhrpFqhuYNhZGMOt74hbT+MohGi2+AXzHfQ+9eYbmLQliTf DDug== X-Gm-Message-State: APjAAAWL1HC6zwA/NHfdOv9Lne/xWi2W0x/hWZIEYxpL5Wqg0ldHO4On sWX7t6icq/QIDQfA55qpFktDDTxj6bw= X-Received: by 2002:a63:1204:: with SMTP id h4mr17369339pgl.288.1576886818991; Fri, 20 Dec 2019 16:06:58 -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.06.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Dec 2019 16:06:58 -0800 (PST) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Fri, 20 Dec 2019 16:06:27 -0800 Message-Id: <20191221000635.1573390-15-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-multimedia][PATCH 15/23] rygel: 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 --- .../recipes-connectivity/rygel/rygel_0.37.0.bb | 8 +++++--- 1 file changed, 5 insertions(+), 3 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-multimedia/recipes-connectivity/rygel/rygel_0.37.0.bb b/meta-multimedia/recipes-connectivity/rygel/rygel_0.37.0.bb index 0adc721d8d..6ee02fcc04 100644 --- a/meta-multimedia/recipes-connectivity/rygel/rygel_0.37.0.bb +++ b/meta-multimedia/recipes-connectivity/rygel/rygel_0.37.0.bb @@ -37,10 +37,12 @@ do_install_append() { # Remove .la files for loadable modules rm -f ${D}/${libdir}/rygel-${LIBV}/engines/*.la rm -f ${D}/${libdir}/rygel-${LIBV}/plugins/*.la - if [ -e ${D}${libdir}/systemd/user/rygel.service ]; then + if [ -e ${D}${nonarch_libdir}/systemd/user/rygel.service ]; then mkdir -p ${D}${systemd_unitdir}/system - mv ${D}${libdir}/systemd/user/rygel.service ${D}${systemd_unitdir}/system - rmdir ${D}${libdir}/systemd/user ${D}${libdir}/systemd + mv ${D}${nonarch_libdir}/systemd/user/rygel.service ${D}${systemd_unitdir}/system + rmdir --ignore-fail-on-non-empty ${D}${nonarch_libdir}/systemd/user \ + ${D}${nonarch_libdir}/systemd \ + ${D}${nonarch_libdir} fi }