Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C4D77535B7 for ; Sat, 9 Mar 2024 23:36:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710027370; cv=none; b=TrVD1yXzCpmvFtY/3QLtG02e1wHpkWGE8Ecb0AFDnctT9Yr4g/2sQKAnnk7GQ4qIrhyQJWVObXO202BO72RljsYm7vC9rx2qweu0Vun43wmo0dwrFDzuRUa2qPC+k1d5TO4Pe8rRzNiejNvCmEbyTdV7kYe6TiuhkOd9C3S/cOg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710027370; c=relaxed/simple; bh=o3KgW5O/AypIjrOMT1tMkS7c2KS7sqKj0QMxr1haD8E=; h=From:To:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=UbkXwo2JC+Qw65L9uPeAQXWxAuLxK1iwMeatjc58MCpazRN+9pkTkUthk8VmIOuJJNmg8I46Od8a0ZNYorFzKU+Qis6fSKpNOe6yiONBdGbgOucmMi3x+1prAcG/ti17JTPDKg9xz1bl4Px9ZXZpqBg1hQZS/xkpXFmQsqRLOYA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=cbLVO289; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="cbLVO289" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1710027367; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=iC3P8wyPboTAfKUFK4DxgIRBt2lJwZZM0BI7dVclPTg=; b=cbLVO289UeNoP6uHBp2i3q0ONZe2+bJkJtVO+0SnoT3vIJDwbz02uj+gejGB1jwbvBmA/V IR00ydobMTrgJQbtJWi59Rsva3tbHzBkieJwDgqCktO6YPJwQeGVScsAe9eG9f92ixIKD3 AuFESDq+rkrrejX6WZ2f1a6yMyfZQn8= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-475-2fN08U-IN2-UJm5g5qcPJg-1; Sat, 09 Mar 2024 18:36:04 -0500 X-MC-Unique: 2fN08U-IN2-UJm5g5qcPJg-1 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 40F7785A58C for ; Sat, 9 Mar 2024 23:36:04 +0000 (UTC) Received: from aion.redhat.com (unknown [10.22.16.116]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 35D68492BD7 for ; Sat, 9 Mar 2024 23:36:04 +0000 (UTC) Received: from aion.redhat.com (localhost [IPv6:::1]) by aion.redhat.com (Postfix) with ESMTP id DD05712D1FA for ; Sat, 9 Mar 2024 18:36:03 -0500 (EST) From: Scott Mayhew To: kdevops@lists.linux.dev Subject: [PATCH v2 03/10] nfsd: use EXTRA_VAR_INPUTS for export options Date: Sat, 9 Mar 2024 18:35:56 -0500 Message-ID: <20240309233603.1306533-4-smayhew@redhat.com> In-Reply-To: <20240309233603.1306533-1-smayhew@redhat.com> References: <20240309233603.1306533-1-smayhew@redhat.com> Precedence: bulk X-Mailing-List: kdevops@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.10 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII"; x-default=true The most_extra_vars target in Makefile.extra_vars replaces '=' with ':', which breaks any export options that use '='. So use EXTRA_VAR_INPUTS and quote the export options string instead. Signed-off-by: Scott Mayhew --- scripts/nfsd.Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/scripts/nfsd.Makefile b/scripts/nfsd.Makefile index d3549a29..a337390c 100644 --- a/scripts/nfsd.Makefile +++ b/scripts/nfsd.Makefile @@ -2,10 +2,16 @@ NFSD_EXTRA_ARGS += nfsd_export_device_prefix='$(subst ",,$(CONFIG_NFSD_EXPORT_DE NFSD_EXTRA_ARGS += nfsd_export_device_count='$(subst ",,$(CONFIG_NFSD_EXPORT_DEVICE_COUNT))' NFSD_EXTRA_ARGS += nfsd_export_fstype='$(subst ",,$(CONFIG_NFSD_EXPORT_FSTYPE))' NFSD_EXTRA_ARGS += nfsd_export_path='$(subst ",,$(CONFIG_NFSD_EXPORT_PATH))' -NFSD_EXTRA_ARGS += nfsd_export_options='$(subst ",,$(CONFIG_NFSD_EXPORT_OPTIONS))' NFSD_EXTRA_ARGS += nfsd_threads=$(CONFIG_NFSD_THREADS) NFSD_EXTRA_ARGS += nfsd_lease_time=$(CONFIG_NFSD_LEASE_TIME) +EXTRA_VAR_INPUTS += extend-extra-args-nfsd + +extend-extra-args-nfsd: + $(Q)echo "nfsd_export_options: '$(CONFIG_NFSD_EXPORT_OPTIONS)'" >> $(KDEVOPS_EXTRA_VARS) ;\ + +PHONY += extend-extra-args-nfsd + ANSIBLE_EXTRA_ARGS += $(NFSD_EXTRA_ARGS) nfsd: -- 2.43.0