Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp861777pxf; Wed, 7 Apr 2021 13:32:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxzaIEuIXp2q3zbD61y0LDkOnHVcQpaB/Dcf3BCTBH3C01iR6Hy4rjyI6J/YE14haCEYmA4 X-Received: by 2002:aa7:d699:: with SMTP id d25mr6076639edr.83.1617827561631; Wed, 07 Apr 2021 13:32:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617827561; cv=none; d=google.com; s=arc-20160816; b=o7hlQliO3hGmCemmIvupPFo76MtuIMeaLo30RpU7J7/bf5/J/PA9Il9caB/+QXI9gn ZJMM89dcUt8MPjtgf61tQIj0dfS/siGIz3E+0v89a5koSVrlHbbhHpS03uQKFOwyvZLt No++5ZcMs+RnkV3Fqc5udl8Gr5kN6KOdlSRaZjjxYzaFNjIlsQfEtT8Z0Nf/dkjR/+9R I3gEcJ0sDC5fh0TmRt+E35hKA466iA0EJVR4xkD9to4gjluIYDPo8d00JcdA8BybIGa1 RYwiqGUqZKpGkypi057bv5h4sffStAvGhC9L+2eGJpx7W5FixxlpC9Ia+yHvCJ3C5Kpl OZYg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=+xI11iuLrGTD/PulG+pHktHEh6PItvEodfuHecCQDVg=; b=laGfyEYiyVzCpHA4pGg+CPqFUCht+2QfDBL9MWE/MkKvW5nVTbFDsOFo9KnjubRG4F Khy2u8J73zoOpRfmBxecFPzsuZVKlJ2169bchAocBD0rfQFwU4N7P3EniblAU/WCPMQs JPgWwu6j4aHdOVtUBdBVZlRyoseir3GZW2AEl4mDqOhpDUcYTiNgPfLh/XbCKVOLszR0 lVwoAryyF2/iP+1Cb5cC/pydx2Lsi8YAd4MGWtODd4Sgv3KPnO4cGgwgdnIwUIpNkNLi 7TAzOfg9h/P6NiUUA8PsGMo8I1o8UrpIKWqfOZ4DVi0C9ua+zxDe7OtEHzno6FdvlPkX 6b6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="T/ZOIOux"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ox5si725066ejb.324.2021.04.07.13.32.16; Wed, 07 Apr 2021 13:32:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="T/ZOIOux"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237051AbhDGIHo (ORCPT + 99 others); Wed, 7 Apr 2021 04:07:44 -0400 Received: from mail.kernel.org ([198.145.29.99]:41026 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233970AbhDGIHm (ORCPT ); Wed, 7 Apr 2021 04:07:42 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id A359561222; Wed, 7 Apr 2021 08:07:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1617782852; bh=Roc1pgXNiDFIxi3O+PozBhZj0RIUUb4b0E+76uwfL+g=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=T/ZOIOuxBLriRB2gjvcoIn/zscjIlzFfL7/xqXUwGYF2cb3/hdlSfpAIsgT/rxO92 0Ksu+szp80r5k586GtP9bXqJfy3n37LDwrlz5+NNj1J454phfDTLcFpwMlCwZEVfC8 fV5cGIhEj62KjrmV93OMnQosMjI90IHLASV3vBKc= Date: Wed, 7 Apr 2021 10:07:29 +0200 From: Greg Kroah-Hartman To: Russell King - ARM Linux admin Cc: Geert Uytterhoeven , Masahiro Yamada , Michal Marek , linux-kbuild , Linux-Arch , Linux Kernel Mailing List , "David S. Miller" , "James E.J. Bottomley" , Albert Ou , Borislav Petkov , Catalin Marinas , Christian Borntraeger , Greentime Hu , Heiko Carstens , Helge Deller , Ingo Molnar , Ley Foon Tan , Michael Ellerman , Nick Hu , Palmer Dabbelt , Paul Walmsley , Rich Felker , Thomas Gleixner , Vasily Gorbik , Vincent Chen , Will Deacon , Yoshinori Sato , the arch/x86 maintainers Subject: Re: [PATCH 00/20] kbuild: unify the install.sh script usage Message-ID: References: <20210407053419.449796-1-gregkh@linuxfoundation.org> <20210407080229.GF1463@shell.armlinux.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210407080229.GF1463@shell.armlinux.org.uk> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 07, 2021 at 09:02:29AM +0100, Russell King - ARM Linux admin wrote: > On Wed, Apr 07, 2021 at 09:46:18AM +0200, Greg Kroah-Hartman wrote: > > On Wed, Apr 07, 2021 at 09:18:11AM +0200, Geert Uytterhoeven wrote: > > > Hi Greg, > > > > > > Thanks for your series! > > > > > > On Wed, Apr 7, 2021 at 7:34 AM Greg Kroah-Hartman > > > wrote: > > > > Almost every architecture has copied the "install.sh" script that > > > > originally came with i386, and modified it in very tiny ways. This > > > > patch series unifies all of these scripts into one single script to > > > > allow people to understand how to correctly install a kernel, and fixes > > > > up some issues regarding trying to install a kernel to a path with > > > > spaces in it. > > > > > > > > Note that not all architectures actually seem to have any type of way to > > > > install a kernel, they must rely on external scripts or tools which > > > > feels odd as everything should be included here in the main repository. > > > > I'll work on trying to figure out the missing architecture issues > > > > afterward. > > > > > > I'll bite ;-) > > > > > > Does anyone actually use these scripts (outside of x86)? > > Yes, every time I build a kernel. My kernel build system involves > typing "kbuild " and the kernel gets > built in ../build/. When the build completes, it gets > installed into ~/systems/, tar'd up, and copied to the > destination machines, unpacked, installed as appropriate, and > the machine rebooted if requested. > > The installation step is done via the ~/bin/installkernel script. So you don't use install.sh at all except to invoke your local script. > > > I assume the architectures that have them, only have them because they > > > were copied from x86 while doing the initial ports ("oh, a file I don't > > > have to modify at all."). > > > But installing the kernel can be very platform-specific. > > > Do you need the vmlinux, vmlinux.gz, Image, zImage, uImage, ...? > > > With separate or appended DTB? > > My scripts deal with all that. > > However, I haven't been able to review the changes that are being > made because I have no visibility of the common "scripts" version. > Provided it offers exactly the same functionality as the arm32 > version, I'm happy. If it doesn't, it may cause a regression, and > I will be reporting that. It should be identical, if I got something wrong please let me know. thanks, greg k-h