Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp1702103rdb; Sat, 10 Feb 2024 13:29:22 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWgLKFuH/U2e5/xO6Pgh5xObrwE1aNhwBTDfsXRXU92Rigo28N57bFpuUHYv1yB7+6N+YHm4sB/oYf7b+bxDlPt8nBUGW9vrBKOx9P64A== X-Google-Smtp-Source: AGHT+IEpDOAdsnjXb5/NjUPpeEIvLGYkHVmXiqyv9BJG7q8pWmJTbVFijZWhTEC8SV31D17JsqtW X-Received: by 2002:a2e:9048:0:b0:2d0:85dc:bf9b with SMTP id n8-20020a2e9048000000b002d085dcbf9bmr1715711ljg.14.1707600562167; Sat, 10 Feb 2024 13:29:22 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707600562; cv=pass; d=google.com; s=arc-20160816; b=S4HabARJbQ9MoGU5NIhKYoRcOPCKUsvHkoiORSUHYMT4jWMjBLHuzc1YmtPjPq4zbs +ZfTpwTZJfELHBi5ZyEc0owrTd9YP4WVWcxbSt25oFYn3Bno9KUs3pNt+qtPtSd8up5D hcR6F34h7wVYH2mdl5SlhvYi27so51x5a4EkHmhApE8wR8+qc47rgnfaqROwvWYJVn0U n9LVaNb5hPR7woKwt843em91Pk58scHT23bZeT7ezhZ43y2QZVQfWYz0bC4UfyM6dj30 fVSpEvWCysuBHbGb5ZOC/+/YSsfiGjYciVrNPhV6G5x2rvfQ0XzNOjQs0lp4BFcWJ58u 9dgQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=feedback-id:in-reply-to:content-disposition:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:references :message-id:subject:cc:to:from:date:dkim-signature:dkim-signature :dkim-signature; bh=/a1NKqeWXcomDM15U7re5KNGNhB+KStNX+Jjw32PO8k=; fh=MkelM5Wu1J/oaqGtffmD2i3AQV1DulP2zl21hCS2J4A=; b=h+r06JwUvilTm2XSHZ+OahjDYfzDd/1IwUJgfqIMmtFJf52DD4sQYuDAx9sF7VTAHm DtYgQUckWns4syFd7iiZMUPzW5x6xZJzhvmOlHOEyEJ+LyP0BHbdoOhtiMILBZDt2R9f MBktvvdvPW5A+j6Zd1IsxN+XNNOnn6rtsE8cFLCWUvw9OEEXbSHokLZ8U8/3P1kJ90n8 CVDVAz1Dw1W1MK7MSM9MChbvM/2DATR7oIfiax2rcG+vdc6XFCDHRCn4kNBUP2uIt7yp Wog6Z26L7gK+MEzgyM9Z84Ejtqk8B+YHmXpRFA4F1Zvhy05eIeq7v9ZLx5hHRuJUIgPz fRaw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=fail header.i=@smtpservice.net header.s=mp6320.a1-4.dyn header.b="q7or/rwR"; dkim=pass header.i=@fjasle.eu header.s=s1174286 header.b=GwC03i4u; dkim=pass header.i=@fjasle.eu header.s=mail header.b=NY+lAiZu; arc=pass (i=1 spf=pass spfdomain=em1174286.fjasle.eu dkim=pass dkdomain=smtpservice.net dkim=pass dkdomain=fjasle.eu dkim=pass dkdomain=fjasle.eu dmarc=pass fromdomain=fjasle.eu); spf=pass (google.com: domain of linux-kernel+bounces-60545-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-60545-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=fjasle.eu X-Forwarded-Encrypted: i=2; AJvYcCV9k5U85ibJB9wva1vMDUGUrCqy5EqcLPn3HmBpwLPKVHrhwK3Lc9L38ZSgqlyamvnvXBfO/6StgKtSmw4GN9m8X7vjAnOmMKP4ax959g== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id cw3-20020a056402228300b00560b7196660si1137040edb.640.2024.02.10.13.29.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 10 Feb 2024 13:29:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-60545-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=fail header.i=@smtpservice.net header.s=mp6320.a1-4.dyn header.b="q7or/rwR"; dkim=pass header.i=@fjasle.eu header.s=s1174286 header.b=GwC03i4u; dkim=pass header.i=@fjasle.eu header.s=mail header.b=NY+lAiZu; arc=pass (i=1 spf=pass spfdomain=em1174286.fjasle.eu dkim=pass dkdomain=smtpservice.net dkim=pass dkdomain=fjasle.eu dkim=pass dkdomain=fjasle.eu dmarc=pass fromdomain=fjasle.eu); spf=pass (google.com: domain of linux-kernel+bounces-60545-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-60545-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=fjasle.eu Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id B62A31F2495E for ; Sat, 10 Feb 2024 21:29:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id F2D6C3D54E; Sat, 10 Feb 2024 21:29:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=smtpservice.net header.i=@smtpservice.net header.b="q7or/rwR"; dkim=pass (2048-bit key) header.d=fjasle.eu header.i=@fjasle.eu header.b="GwC03i4u"; dkim=pass (1024-bit key) header.d=fjasle.eu header.i=@fjasle.eu header.b="NY+lAiZu" Received: from e2i605.smtp2go.com (e2i605.smtp2go.com [103.2.142.93]) (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 5F4845FBBC for ; Sat, 10 Feb 2024 21:29:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=103.2.142.93 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707600553; cv=none; b=gPI4TU1c7ogs6VWJUDRv6vn0RgwjAFpXhrKBX2uoAksrLQY5BMIbG4FmWwwIl572DM6ehIEKEi0SCQQNOsc4BxuSgtBWAzvSxtfo3jqIaWfEcX+qK3D0W3WJJj7flXM7+D1ifaopFcH/Ucy3YCrLWXQg6pP9KiUeI4pDpoD83EU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707600553; c=relaxed/simple; bh=2Du69mSeHaxU4Lx7+MOepHIT2fMVUkQRRtGqtvh8tn0=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=jz2jPAzlgK5zMYM4tvrRcqNytO+VNXFb3UXo4vKJp3QUUHTyim0tOfiyyfVnwfjsmSPAJaUOcbtPbUCbP6jb19SSwQ+K6F4nvFT5RWYQhz4M937pfv8jvnGA6N/IsVa3kLit8tq/0A2udMo+9PUm5GxpCPwBPC3xkFRt/L4tpCY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=fjasle.eu; spf=pass smtp.mailfrom=em1174286.fjasle.eu; dkim=pass (2048-bit key) header.d=smtpservice.net header.i=@smtpservice.net header.b=q7or/rwR; dkim=pass (2048-bit key) header.d=fjasle.eu header.i=@fjasle.eu header.b=GwC03i4u; dkim=pass (1024-bit key) header.d=fjasle.eu header.i=@fjasle.eu header.b=NY+lAiZu; arc=none smtp.client-ip=103.2.142.93 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=fjasle.eu Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=em1174286.fjasle.eu DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=smtpservice.net; s=mp6320.a1-4.dyn; x=1707601447; h=Feedback-ID: X-Smtpcorp-Track:Message-ID:Subject:To:From:Date:Reply-To:Sender: List-Unsubscribe; bh=/a1NKqeWXcomDM15U7re5KNGNhB+KStNX+Jjw32PO8k=; b=q7or/rwR EL1SkuVAXcnmS7iG7/U5skiIjJSNY9Ty1jRHsVJCY2AupBIQfG+AXNEnRIQKPpRutFUOfskGvqDuM H4kf6o48IZs6jswrnxbSnWOs47s6fxM/9rxDEShAmFnS/ASl58InCCcVbqPQEzW1MniqGMgKYzrke xs2nwxmd9XAayq+jxERy94YU08CJmbS/siC+2kxUUZ2MGxZ8A83xS9SSX1GQwImIgzcbwN9nG0PRW EYUdou/h5h0Tq5zF793uwSnFlkYiespDbTUYHfKzTwdE+POrj5r1WzuDH+J4T3UZu6d+lhfHv5DWL 4I9zjwLxnqB+QvYN9bFl3o6xfQ==; DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fjasle.eu; i=@fjasle.eu; q=dns/txt; s=s1174286; t=1707600547; h=from : subject : to : message-id : date; bh=/a1NKqeWXcomDM15U7re5KNGNhB+KStNX+Jjw32PO8k=; b=GwC03i4uM7HxUDSsWZ9yvskSTfk6CbQxZRi2ewV9+g8a1vBMBxOE962VZvAM28YDirVZz IZvddWZW8KfW3vvQfS4ED/CoNXaLEf9vF70KWQYIQROF8dZ36F3SD5V0DPjyIsznHuoVQU4 Yk0mN2P9VMx0RNZYw4zGw1lyhAEn6/SxTm9n1RVemoTm1sRs6dr7zFZLTaffjMZvHK9F21A REiVTvLQpmWOVV6CPS/ojukyTKCMSjU+IM7VDcSe06h46uSpv+hIo7gv3tJVVXGMXbcRDpP FzpFpY+VAl5qXqNfbNLepNhkdo2xb79WbyrWA0ePWRnOGkl93SY1LePPVcjA== Received: from [10.176.58.103] (helo=SmtpCorp) by smtpcorp.com with esmtpsa (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.94.2-S2G) (envelope-from ) id 1rYurb-qt4BXu-QO; Sat, 10 Feb 2024 21:26:21 +0000 Received: from [10.85.249.164] (helo=leknes.fjasle.eu) by smtpcorp.com with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.96.1-S2G) (envelope-from ) id 1rYurb-9EMoK9-0P; Sat, 10 Feb 2024 21:26:19 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=fjasle.eu; s=mail; t=1707600370; bh=2Du69mSeHaxU4Lx7+MOepHIT2fMVUkQRRtGqtvh8tn0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=NY+lAiZuOqkS5pMrJUpcG65n5ETEJV2Y+6gc5E/FA4KrEooCHnXiFhSd0KsKLU3N/ 3V9msP+z+BGKPowTYSTTNEmBr+1NIrpx57jUGQwQqM9RCQXeavAWqRwKTkQ9w8VmVT HYORQqzNDMTLtRrB3rbNgRNY2yBj7YRn9ojD9DtY= Received: by leknes.fjasle.eu (Postfix, from userid 1000) id 07A053E9DC; Sat, 10 Feb 2024 22:26:09 +0100 (CET) Date: Sat, 10 Feb 2024 22:26:09 +0100 From: Nicolas Schier To: Zhang Bingwu Cc: Russell King , Catalin Marinas , Will Deacon , Geert Uytterhoeven , Dinh Nguyen , "James E.J. Bottomley" , Helge Deller , Paul Walmsley , Palmer Dabbelt , Albert Ou , Heiko Carstens , Vasily Gorbik , Alexander Gordeev , Christian Borntraeger , Sven Schnelle , "David S. Miller" , Andreas Larsson , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , "H. Peter Anvin" , Zhang Bingwu , Masahiro Yamada , Nathan Chancellor , x86@kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-m68k@lists.linux-m68k.org, linux-parisc@vger.kernel.org, linux-riscv@lists.infradead.org, linux-s390@vger.kernel.org, sparclinux@vger.kernel.org Subject: Re: [PATCH 2/2] kbuild: Create INSTALL_PATH directory if it does not exist Message-ID: References: <20240210074601.5363-1-xtex@envs.net> <20240210074601.5363-3-xtex@envs.net> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="W0xuwF1M0d/5Cjtp" Content-Disposition: inline In-Reply-To: <20240210074601.5363-3-xtex@envs.net> X-Smtpcorp-Track: 1rYIrP9EuoK90e.xzn_1gL1tjbT1 Feedback-ID: 1174286m:1174286a9YXZ7r:1174286sDwEn1GXPS X-Report-Abuse: Please forward a copy of this message, including all headers, to --W0xuwF1M0d/5Cjtp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Feb 10, 2024 at 03:46:01PM +0800 Zhang Bingwu wrote: > From: Zhang Bingwu >=20 > If INSTALL_PATH is not a valid directory, create it, like what > modules_install and dtbs_install will do in the same situation. >=20 > Signed-off-by: Zhang Bingwu > --- > scripts/install.sh | 4 ++++ > 1 file changed, 4 insertions(+) >=20 > diff --git a/scripts/install.sh b/scripts/install.sh > index 9bb0fb44f04a..02b845e7ab33 100755 > --- a/scripts/install.sh > +++ b/scripts/install.sh > @@ -20,6 +20,10 @@ do > fi > done > =20 > +if [ "${INSTALL_PATH}" !=3D "" ] && ! [ -e "${INSTALL_PATH}" ]; then > + mkdir -p "${INSTALL_PATH}" > +fi > + > # User/arch may have a custom install script > for file in "${HOME}/bin/${INSTALLKERNEL}" \ > "/sbin/${INSTALLKERNEL}" \ > --=20 > 2.43.0 >=20 Thanks. Reviewed-by: Nicolas Schier --W0xuwF1M0d/5Cjtp Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEh0E3p4c3JKeBvsLGB1IKcBYmEmkFAmXH6fEACgkQB1IKcBYm EmkWwhAApeau8lv5luMtDVI0MRTjPUBISiudGax4Vj5+2kq+lpcurNBfDgb8g6vz d9eKFrAY4RpiyQA/tfByDJMkOdxjeozILABmF9E/mHAU1ddjG0tdN7dCcoiadZ1C nRQsrQ0hMPgl/ohv5Gq6uSBNs9iJ76I8VPAUSGVhSEUXPIlZoPMYgvaKWDrUEKoA 6T6PTWoCQZ9rTRIRDzuiiXDVnEtF7Yc8qcdU/GhJTaxXuvO0NAZ2we1D7evgQriK pvlgl/Z3UEJuoqa7gLW0tP66I1aIoBW89cAmxOMPEbx7ILj2uz94ZmL6qxCh6Ift JIjvMM6y/6q6XnQf5a9amudS45/dT8F6+2wuPsWB5mUyUu4Jtj+nP6HgLTQsw3MO TblqqeWBw+OZFmoU/F6R2RLTkoS00OxKrNcVSQ4ztsHmbYJZC4uqx3qTdq296LDt gfm7Me4IHyqXCpR2TkCNL2L+Y4iABSspsgayVoJMMRdGphz55Aa7tRfpu+M3Su7P x21blad5Owsw9AgQwY3Eh7SUmh0ooNgFtC2w3hpwj41Whe1IcAQx8iyAaO5UG802 fweAOlp41rdel9LwyfuPqG0nFwTf3+pYdqOCTOF68S3EFav85/UDo6Mg9Zgk11Je X9KRaCfNIMNh4RXVh5toNthTBAISAYeD8tHQypeyU4J9PunrzFc= =PO1M -----END PGP SIGNATURE----- --W0xuwF1M0d/5Cjtp--