From patchwork Mon Sep 2 18:54:15 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 172764 Delivered-To: patch@linaro.org Received: by 2002:a92:d204:0:0:0:0:0 with SMTP id y4csp4636099ily; Mon, 2 Sep 2019 11:54:24 -0700 (PDT) X-Google-Smtp-Source: APXvYqxFnAlz5E6y6NCDhYu6LEvKPZw3aqWPxjYlzHx9b2lWO8+vPGS299vTtuUSjXMy4u8IsmaQ X-Received: by 2002:a17:902:6843:: with SMTP id f3mr30059098pln.97.1567450463939; Mon, 02 Sep 2019 11:54:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567450463; cv=none; d=google.com; s=arc-20160816; b=EX1HWb0n+ILteJLP0nNzPuDm/86OizFvIL67Y9+ygdiBtcs3h3KS4UxblUu9Wg2hfH rUHcQskfupgE7F6kazL7qA3qGremLiXzaplWFA+tjTmkyWp8wcRrMVOCOS+jCdTTxs0N 3PkdOHuyAIp0RT+carGmwgagC82Dbnh8OG89K997eL2jlqYvPTog4vpIkelznZS4yCOU XvNhd9tsKCDmoI0yWW9zDwSCa3xbCcW2gvIjuJLK8hBRMQ91+uwdZFEd+q4wb4WeQCfp 8GQ+d49L9GdMXPpQaP1ZWk5ZXKEzJvONhQDvlzpVaV0f+FBff62nyDn2zlYGA3cYKh1h 2AjQ== 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:message-id:date:to:from:dkim-signature:delivered-to; bh=OpZ6o7BFTlGX0h4+iRzU+IMKMps3ocWqC7Ix2WHO5nE=; b=0DVlnRcomCgCi2JrbPrJQYDi5yKxqSNLO+bDfUAib39z7zgt0/yE0R9YFV4a9XcNEE yY6zg6/jvJwSk3Ucs1veMGTBgxTOqkLHMQqzMdm2m8HOpUSGh+8B2at9uzqWrdSZnLIr FXNazbGwAwRoc1uiO+xa5guA6xpM+gUSuUbf2jeYQqoDZGSYBlz+P9wxvOIIawKP6btD Xtg8FInJJb6dsb3STzcC9itDSdJR8rzVRLxb8/0cb3Vm9c/PQ3cbIz7azPOKs4n01hKC 4y4+SuANVgCU5+myvKvYyfnHzcDcU2Zx5CQI2UaipsFABCYUrS48iFOq5YirsCjuL+L2 JGUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=WtNDQIxM; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id l184si12247314pge.286.2019.09.02.11.54.23; Mon, 02 Sep 2019 11:54:23 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-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=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=WtNDQIxM; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.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 83D677F32C; Mon, 2 Sep 2019 18:54:20 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-wr1-f41.google.com (mail-wr1-f41.google.com [209.85.221.41]) by mail.openembedded.org (Postfix) with ESMTP id B32DE6BCA4 for ; Mon, 2 Sep 2019 18:54:18 +0000 (UTC) Received: by mail-wr1-f41.google.com with SMTP id j16so14940600wrr.8 for ; Mon, 02 Sep 2019 11:54:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=ieV5V3S8+fTbxXUc4WqEMqfn0YumQ8xkLQDO+8QiAmY=; b=WtNDQIxMGLFIIat4dn0V5IGfKnd70UFsz1+lyRlL67R2dJfCFeBMiyPUXJ89tPSwQd pWsuCddVWmfDxDtvRqvqAYqHdZctl//R6hz4mc6ZAw2Jy7YPgex0VLsiFf1ogwu4JKjU cGsSUIdJlF4zDG638oWeaDWOZuJfXKpxgkQuk+EvGgRkHWK7sPt5Q815wr1pMx9yPuMb FJxA9P3VBOEkWnPpgFELgovoO5I3idwMbrS6JrXMaYHRkWSejc3IP4SpInkZ0Q83AUIJ EhUT0id+5wy7tN5hN58Q/WDXewYunULrGVRy/9fFxcIF862dlx0zbvaUCQRyv5ZG7IKf zgAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=ieV5V3S8+fTbxXUc4WqEMqfn0YumQ8xkLQDO+8QiAmY=; b=MGgRiTrwx4SufSOcej5QkXy3MOunKwr3CNUowukGnG9/j/B1NUZseLPHwyVAYGQ47U bf21qV82O0vuw6xhUF7SucaO0VF3PD7QPKgoUzOaRw2IZeMsn4ncKwVt80QF9T0A5EGe zFb1n4yy9TLEaiOsKdhtJnHAXFW03T68eByPBIcvZ1CB9Gx6j9z5mv0GwedzE4lHaKH6 GZb1FQDssbBx7OlsBptVf1NsP/hwN3zrO6AA7V4g0+lT7EqkfYfzXS4NfML59g6mMxnR E+AkegaH4xQyAjwPE4LKfTn+JDuriA02bojj3Zo/ijWrEHg9Kt/0MaaA071C/QPsPMr9 9Xzg== X-Gm-Message-State: APjAAAWw6XDPIaSykTjONqitbIRbZDTmRUoELEUGmL6CjU54ZFmmjJJI +h4UMY6XSeiVng+R/rTUve7qDKi49WA= X-Received: by 2002:a5d:62ce:: with SMTP id o14mr6372311wrv.279.1567450458892; Mon, 02 Sep 2019 11:54:18 -0700 (PDT) Received: from flashheart.burtonini.com (35.106.2.81.in-addr.arpa. [81.2.106.35]) by smtp.gmail.com with ESMTPSA id a16sm8713579wmg.5.2019.09.02.11.54.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Sep 2019 11:54:17 -0700 (PDT) From: Ross Burton To: openembedded-core@lists.openembedded.org Date: Mon, 2 Sep 2019 19:54:15 +0100 Message-Id: <20190902185415.12267-1-ross.burton@intel.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [OE-core] [PATCH] systemd: explicitly set the path to nologin X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org Set the path to nologin as with sulogin etc so we don't try to execute binaries from the build path on the target (as the build finds a nologin in the sysroot at build time). Signed-off-by: Ross Burton --- meta/recipes-core/systemd/systemd_242.bb | 1 + 1 file changed, 1 insertion(+) -- 2.20.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-core/systemd/systemd_242.bb b/meta/recipes-core/systemd/systemd_242.bb index 6fbb8548868..759d6af6022 100644 --- a/meta/recipes-core/systemd/systemd_242.bb +++ b/meta/recipes-core/systemd/systemd_242.bb @@ -206,6 +206,7 @@ EXTRA_OEMESON += "-Dkexec-path=${sbindir}/kexec \ -Dquotacheck-path=${sbindir}/quotacheck \ -Dquotaon-path=${sbindir}/quotaon \ -Dsulogin-path=${base_sbindir}/sulogin \ + -Dnologin-path=${base_sbindir}/nologin \ -Dumount-path=${base_bindir}/umount" do_install() {