From patchwork Sat Aug 9 08:26:50 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Koen Kooi X-Patchwork-Id: 35181 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ie0-f200.google.com (mail-ie0-f200.google.com [209.85.223.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 506D72136C for ; Sat, 9 Aug 2014 08:27:15 +0000 (UTC) Received: by mail-ie0-f200.google.com with SMTP id at20sf26994924iec.7 for ; Sat, 09 Aug 2014 01:27:14 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:delivered-to:from:to:date :message-id:in-reply-to:references:cc:subject:precedence:list-id :list-unsubscribe:list-archive:list-post:list-help:list-subscribe :mime-version:sender:errors-to:x-original-sender :x-original-authentication-results:mailing-list:content-type :content-transfer-encoding; bh=R5/19r33mnTxE6CyIjtrzwqJoxbxpjQGMccP5dCK9yU=; b=OTPVIBb4nkfjaUAq1eLtq1luovcWCmRlU2Bhx/Y85KpJn3pFjyPEAnwtNIgDOllGNR XiwWeohxlzwMDPVKarXZijlqdTM9Hzi3lDN/U1j39WUyj5OZ+FOTAy4NtAubNrD5EbEQ 5CcIL9RRWK1EwlHuqatw6iAl4sR043wEkBwtrP96AcT9H981UE/Wq02JW3nQu2GTtYC0 elXq8r1ls35+B2D2c2iE4BwUlLUVcfWxrtiBIrUASD22hrdy3Dg4aTQOdZyNPPyOYbNq F0oFx8rnMCaj8KTLNoiSk2mIcm25vjZCMFAt3A1+u0MoQLKfFdoehpPdsYx3FlAcF3hm eclw== X-Gm-Message-State: ALoCoQneNbJg2pt7OWt4tHx++AUcL2XXGwygI17VEm4UHsRKhw13CCQSAKWmMcI4kZlyLS9T+5/9 X-Received: by 10.182.126.198 with SMTP id na6mr15351586obb.4.1407572834884; Sat, 09 Aug 2014 01:27:14 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.40.134 with SMTP id x6ls442274qgx.45.gmail; Sat, 09 Aug 2014 01:27:14 -0700 (PDT) X-Received: by 10.52.160.10 with SMTP id xg10mr10101411vdb.1.1407572834794; Sat, 09 Aug 2014 01:27:14 -0700 (PDT) Received: from mail-vc0-f171.google.com (mail-vc0-f171.google.com [209.85.220.171]) by mx.google.com with ESMTPS id b9si3671987vdc.99.2014.08.09.01.27.14 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 09 Aug 2014 01:27:14 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.171 as permitted sender) client-ip=209.85.220.171; Received: by mail-vc0-f171.google.com with SMTP id hq11so9495730vcb.2 for ; Sat, 09 Aug 2014 01:27:14 -0700 (PDT) X-Received: by 10.52.129.200 with SMTP id ny8mr10227005vdb.27.1407572834559; Sat, 09 Aug 2014 01:27:14 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.221.37.5 with SMTP id tc5csp15694vcb; Sat, 9 Aug 2014 01:27:13 -0700 (PDT) X-Received: by 10.70.87.177 with SMTP id az17mr29409088pdb.114.1407572833502; Sat, 09 Aug 2014 01:27:13 -0700 (PDT) Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id m10si4358400pdo.130.2014.08.09.01.27.12 for ; Sat, 09 Aug 2014 01:27:13 -0700 (PDT) Received-SPF: none (google.com: openembedded-core-bounces@lists.openembedded.org does not designate permitted sender hosts) client-ip=140.211.169.62; Received: from mail.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id DC41170A51; Sat, 9 Aug 2014 08:27:09 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-wi0-f178.google.com (mail-wi0-f178.google.com [209.85.212.178]) by mail.openembedded.org (Postfix) with ESMTP id DC86265E2B for ; Sat, 9 Aug 2014 08:26:56 +0000 (UTC) Received: by mail-wi0-f178.google.com with SMTP id hi2so2014542wib.17 for ; Sat, 09 Aug 2014 01:26:57 -0700 (PDT) X-Received: by 10.194.104.72 with SMTP id gc8mr1489849wjb.105.1407572817311; Sat, 09 Aug 2014 01:26:57 -0700 (PDT) Received: from localhost ([2001:610:612:0:5e51:4fff:fec8:7c15]) by mx.google.com with ESMTPSA id fv10sm16412158wic.23.2014.08.09.01.26.56 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 09 Aug 2014 01:26:56 -0700 (PDT) From: Koen Kooi To: openembedded-core@lists.openembedded.org Date: Sat, 9 Aug 2014 10:26:50 +0200 Message-Id: <1407572810-26063-2-git-send-email-koen.kooi@linaro.org> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1407572810-26063-1-git-send-email-koen.kooi@linaro.org> References: <1407572810-26063-1-git-send-email-koen.kooi@linaro.org> Cc: Koen Kooi Subject: [OE-core] [RFC][PATCH 2/2] systemd: rprovide/rreplace/rconflict nss-myhostname X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: koen.kooi@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.171 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 Systems builds and packages nss-myhostname so add the appropriate lines to the recipe. Signed-off-by: Koen Kooi --- I'm not 100% sure how this works with the debian shlib renaming for nss-myhostname_0.3.bb and how to handle this in the default providers include. Hence the RFC. meta/recipes-core/systemd/systemd_213.bb | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/meta/recipes-core/systemd/systemd_213.bb b/meta/recipes-core/systemd/systemd_213.bb index 4fb7ffc..8572dbd 100644 --- a/meta/recipes-core/systemd/systemd_213.bb +++ b/meta/recipes-core/systemd/systemd_213.bb @@ -6,7 +6,11 @@ LIC_FILES_CHKSUM = "file://LICENSE.GPL2;md5=751419260aa954499f7abaabaa882bbe \ file://LICENSE.LGPL2.1;md5=4fbd65380cdd255951079008b364516c \ file://LICENSE.MIT;md5=544799d0b492f119fa04641d1b8868ed" -PROVIDES = "udev" +MYHOSTNAME = "nss-myhostname" +# See EXTRA_OECONF_uclibc below +MYHOSTNAME_uclibc = "" + +PROVIDES = "udev ${MYHOSTNAME}" PE = "1" @@ -195,6 +199,10 @@ RRECOMMENDS_${PN}-binfmt = "kernel-module-binfmt-misc" RRECOMMENDS_${PN}-vconsole-setup = "kbd kbd-consolefonts" +RPROVIDES_{$PN} = "${MYHOSTNAME}" +RREPLACES_${PN} = "${MYHOSTNAME}" +RCONFLICTS_${PN} = "${MYHOSTNAME}" + CONFFILES_${PN} = "${sysconfdir}/systemd/journald.conf \ ${sysconfdir}/systemd/logind.conf \ ${sysconfdir}/systemd/system.conf \