From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 20A16C433B4 for ; Wed, 7 Apr 2021 07:18:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E8CAE610E6 for ; Wed, 7 Apr 2021 07:18:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346562AbhDGHSt (ORCPT ); Wed, 7 Apr 2021 03:18:49 -0400 Received: from mail-vs1-f51.google.com ([209.85.217.51]:37652 "EHLO mail-vs1-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234913AbhDGHSd (ORCPT ); Wed, 7 Apr 2021 03:18:33 -0400 Received: by mail-vs1-f51.google.com with SMTP id 2so8215220vsh.4; Wed, 07 Apr 2021 00:18:23 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=kNIWCvfs0ZW4eVgsk+0zdu8i1BkoDuHPkcI6NnFD88o=; b=gsQC9RPM63DO358lomakf4DbH2WZfVVo9SyciFu+0xqndIdhpu5FrRBvpC7eC6kPJZ OP9ACkDWCXHZhZ4XO+rP9w4NWCtD6WkT0fKqsptMMP0ZVPXxoJkS0yxSAd3ixkQgP2om CmyCb7nyYIONWTo68WMY+VmHt43EIXXM/Qyniz6VGzL1ihWOTR3RgnH1lsHHAze4AIaa hw1CClXHnQbuUwdakC0BBBaTPlDPJE5zysWU4GA3hqXKr/9DrUDRllsCpMAukquSZMOF dP9cfG96dIwdkfv1hdeDEnZra7V+pkktKa776ZQK+xCZlEdEkhBa7R2c32fFI4rfTtBp ZKUQ== X-Gm-Message-State: AOAM5336vEhhMaP74Fyr4MHG+u9crT+F347ujIYb4dSo2AdUjscQsF0n F8jdsrDG+Qfq6Ij+VAaTowpKLGuzG479fedd9Q4= X-Google-Smtp-Source: ABdhPJyftQlnHFXdM0yzdSgYYSKctCxPQ9kcTX65FNLj2mQMzON5fJBl/zAARa/sp8zjhgK4//xwDDnuTn6hpklj5ZM= X-Received: by 2002:a67:7d02:: with SMTP id y2mr1034896vsc.18.1617779902678; Wed, 07 Apr 2021 00:18:22 -0700 (PDT) MIME-Version: 1.0 References: <20210407053419.449796-1-gregkh@linuxfoundation.org> In-Reply-To: <20210407053419.449796-1-gregkh@linuxfoundation.org> From: Geert Uytterhoeven Date: Wed, 7 Apr 2021 09:18:11 +0200 Message-ID: Subject: Re: [PATCH 00/20] kbuild: unify the install.sh script usage To: Greg Kroah-Hartman Cc: 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 , Russell King , 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 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)? 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? Even on x86, the script will bail out with "Cannot find LILO." if you're using Grub. Anyway, having less of them is good. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds