Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp875007pxf; Wed, 7 Apr 2021 13:53:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyMtbUl5dmimuRWTO3HieoTf/vVNuAT51IiBRcZdUB2MJExx1/r4PlGJaJIYIaLTQSPyNoU X-Received: by 2002:a05:6402:2744:: with SMTP id z4mr6808474edd.347.1617828819686; Wed, 07 Apr 2021 13:53:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617828819; cv=none; d=google.com; s=arc-20160816; b=EgUDrXowRGH0GLKGY3VddKDKuqOjKISVCJh/pEBaf5pW244ZwdZPRWzmrP3Myy4SQf ba2pwKlbVLxVPgaghhK8PVUZcQwKgwBn7cO+VVrKSaeNisg0veAhEsBWQgxJ7HSD+IqM 24aH8JvEiLwXoDlbtVNe/K8pxwfWMDisf0Rf2JzB7DzrUdG5+thNjbvRRQtG6RU3pUwk 8GcWWDZ7vDkubXlqmiUxygtEtU054/GbqK0iqU+MvbXLKq2sqIXxPjNX7pJgWzqEZZIF ee4J6SuTC0eHzT70RK+cyTo/IS64jDNNnx3LacS/hP+GaYhb7g2MQZkXixtMhIWQ6dYa PLbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature:dkim-filter; bh=GHNPkbKKRD5a2nOrnlcUrTtHVkd1LKSTOkdi37JpDHU=; b=fdKCJQi84mx1qVLmHlixzlT7/iGzNo0N+aZqlNfW3QtCxDLyVIctV9bu0bGRbz+KrR B9+wxnkVaTKq/F56ddj8dEKSCam31fkeFJlgUloyJqv1kmsw4pZeZh3nxqQCWRuoc9u/ q88BGvHYR2smNjxjLW8Un/sWRU7RLHHFNIi+S0DijNCtWPEO32S8byKHdm0MB2BLmZ6J 9FVVyOJLIxEdcfiRyxKQSx/jyhgQiimFNiuedS0VnPV4F666EbXMVHrzRTuIjNiyuO8t gN2x72T0C/TM1lB0u24iiRIZ+T0DnJlDOVs3eNGbg8Tdg0mLrDvIfg8VptUDT/XvT45S 0jJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=hglKVWsW; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x7si9623723ejs.494.2021.04.07.13.53.16; Wed, 07 Apr 2021 13:53:39 -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=@nifty.com header.s=dec2015msa header.b=hglKVWsW; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1351700AbhDGKyy (ORCPT + 99 others); Wed, 7 Apr 2021 06:54:54 -0400 Received: from conssluserg-01.nifty.com ([210.131.2.80]:39262 "EHLO conssluserg-01.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1351677AbhDGKys (ORCPT ); Wed, 7 Apr 2021 06:54:48 -0400 Received: from mail-pg1-f179.google.com (mail-pg1-f179.google.com [209.85.215.179]) (authenticated) by conssluserg-01.nifty.com with ESMTP id 137As8HD019478; Wed, 7 Apr 2021 19:54:08 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-01.nifty.com 137As8HD019478 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1617792849; bh=GHNPkbKKRD5a2nOrnlcUrTtHVkd1LKSTOkdi37JpDHU=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=hglKVWsWPoSPlcAkB7IWZyL8TfhVMtb1jwzW+vYGb7wNj/VqvKxpqzmj/NdEW4qXA FQLoPxx0FMcuz1+W0NNdg3pzarv/8JmbjLR+Jnpfx16p6+iczYBPXDbke9C5/dHRsD GOHDAgpezkdzPQDaKKGQaBPcvJ93VNMiky+g9E4W3rkoMdQWC1d0/2nUH7E3/g7KZx 3/xGroEPRtvv0S5Rq39a4spV5mp40qOcuD2x9oDdM2hr15OZyxmE5QNrmp8LVvxLIM UAtEqygWYCjWXMu7pNQ1WuyOQhO143xps5qMp+CaY8ET8CbzwNa9p1AAuO8PQawhNy 6GjPJmCpAnTqA== X-Nifty-SrcIP: [209.85.215.179] Received: by mail-pg1-f179.google.com with SMTP id t140so12730227pgb.13; Wed, 07 Apr 2021 03:54:08 -0700 (PDT) X-Gm-Message-State: AOAM531JOiy2I9USoPy4H1GkaaaI/CBKCkTjPwxvko7aE3pW7iPQ2Van fNBAlmmw5Jps+VA3q46t536s89VBYpZzacESjrk= X-Received: by 2002:aa7:8d84:0:b029:1f8:3449:1bc6 with SMTP id i4-20020aa78d840000b02901f834491bc6mr2286908pfr.76.1617792847926; Wed, 07 Apr 2021 03:54:07 -0700 (PDT) MIME-Version: 1.0 References: <20210407053419.449796-1-gregkh@linuxfoundation.org> <20210407080229.GF1463@shell.armlinux.org.uk> <20210407081436.GG1463@shell.armlinux.org.uk> In-Reply-To: From: Masahiro Yamada Date: Wed, 7 Apr 2021 19:53:30 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 00/20] kbuild: unify the install.sh script usage To: Greg Kroah-Hartman Cc: Russell King - ARM Linux admin , Geert Uytterhoeven , 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" Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 7, 2021 at 5:37 PM Greg Kroah-Hartman wrote: > > On Wed, Apr 07, 2021 at 09:14:36AM +0100, Russell King - ARM Linux admin wrote: > > 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. > > The placement depends on the caller to the script, so that's not an > issue here. The name for the output does differ from x86, but the > "common" script handles all of that (or it should, if not I messed up.) > > Attached below is the common scripts/install.sh that this patch series > produces at the end of it, if you want to check to see if I missed > anything for your arch. > > thanks, > > greg k-h Thanks for nice cleanups! I will give some nit-picking comments to individual patches. Overall, this series looks nice. -- Best Regards Masahiro Yamada