Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp860985pxf; Wed, 7 Apr 2021 13:31:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxrb1XpX6ih0KxMk+ixRhTWa5mO8BSZCYp8Fwt/Vt7sTigbFb7r5ti1eK2oXK9aDc/aHFDW X-Received: by 2002:a17:906:2793:: with SMTP id j19mr6048017ejc.205.1617827484053; Wed, 07 Apr 2021 13:31:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617827484; cv=none; d=google.com; s=arc-20160816; b=N6QBREpkLaI9Z8UxpTm3RpUiibcXTl5UI05f/O6Gx6RgXZdVQ6v2Yl70ljUr2PotY0 EvTgEQIVfCg3fZbE67B7HCOpNIamaTUMxW2dmFkj/TGXb6yq2+1+qFU8NPdyIK6XJJGw HZ4URHMmSGb8Nq+ff91gkOnKTtZ3cCFz/CFBFpeMnv8/mEEV+QrEhObZh/rEOt15sSgh XMLpChctryTU7/LU/UB3bWani57JLOsvm58IPIx0rJay3K6CkNzE12C9TQtXRewvCrjB bEPSXXDJyH8sfg92n5qcgHpzaY9iP9ks397H6qe54o1AN7oOM94nHC52sNpdPaXjlArQ VcWQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=W04gx11j9HDZMoV+H3vROcmm6Pmc4F/ugFAAO2XP9Gw=; b=wEta2jwE8/VH6qSSoDCy/gowKsFe9YuFSwf8NapLM8FNT78w4hmSURV2UQVCTa2qrV jJ4OjbirGZ33sQIBETUCf7/2U+xc94DO9K8M7utGUaYeXtcyk+S/IoR7GKsKNRYGWp54 5nHFWkQIMzcpGxq40LXm1MIJiYd7H+ZCrlydRBQQkPAqatW++SBftQAaj/bPIMJ3h4eZ I73Qlw8FtRNn0RdMKzXnXs2vSZOKZ0VAPZ1uz/38GCQ8AivbHJyVYDne55d0nzpkoidu vwjHoRrLFbASvSXJFrKw+rDp0O1A3vzFPjLAPx5850DMU/SI9xwIBxdLQ22inYMNcQhk BiiA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=SHlIXxDv; 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=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id yk13si7271391ejb.255.2021.04.07.13.31.00; Wed, 07 Apr 2021 13:31:24 -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=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=SHlIXxDv; 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=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245671AbhDGIOx (ORCPT + 99 others); Wed, 7 Apr 2021 04:14:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49664 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233700AbhDGIOw (ORCPT ); Wed, 7 Apr 2021 04:14:52 -0400 Received: from pandora.armlinux.org.uk (pandora.armlinux.org.uk [IPv6:2001:4d48:ad52:32c8:5054:ff:fe00:142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 46EE5C06174A; Wed, 7 Apr 2021 01:14:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=W04gx11j9HDZMoV+H3vROcmm6Pmc4F/ugFAAO2XP9Gw=; b=SHlIXxDvv8obO873e/lJYwKtm jkx3MPSaNZZtKfa9m3ub80BedOostT3KeiBcritwdlNjHOO+M8yg40OK2OGnUJDPOd8X63Ko5tdVj Ks/ldDedQsQU64AZnm6q2tHyNGW1KPKykaSvuwojk31Y5iC7f+ABezfpZrUeRKiTS/D87SMUROO93 jGq8vqJuaCVAp7gm6696sQI5HG0dJyuofbPUUljWWvZ38ZbxTMSF0MyEVZdRT8n5qbYdWqokcA+SE Vvrg05ZSu9lpJ9fk5QseskDjLuTl2UJFkJNbNDbcrXIEoz6tXQL0p6bnJYKN06axLAO79G/XM/CX6 XNcnVUrLQ==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:52178) by pandora.armlinux.org.uk with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lU3Kg-00084X-PH; Wed, 07 Apr 2021 09:14:38 +0100 Received: from linux by shell.armlinux.org.uk with local (Exim 4.92) (envelope-from ) id 1lU3Ke-0001pr-IV; Wed, 07 Apr 2021 09:14:36 +0100 Date: Wed, 7 Apr 2021 09:14:36 +0100 From: Russell King - ARM Linux admin To: Greg Kroah-Hartman 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: <20210407081436.GG1463@shell.armlinux.org.uk> 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: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: Russell King - ARM Linux admin Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 07, 2021 at 10:07:29AM +0200, Greg Kroah-Hartman wrote: > 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. It depends where the kernel is being built; it has been used in the past (one will notice that the arm32 version is not a direct copy of the x86 version, and never was - it was modified from day 1.) It's placement and naming of the files in /boot is still used today, which is slightly different from the x86 version. -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!