Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp2295209pxp; Mon, 21 Mar 2022 16:09:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxiYtBxWzVRqA51HlGF8d3+cePGs2ZOR02wWEwcgaj3k0QVVMeVWeE7YN1y8Xq8cla4CrMP X-Received: by 2002:a17:902:864b:b0:14c:d45e:a77b with SMTP id y11-20020a170902864b00b0014cd45ea77bmr15064165plt.143.1647904145597; Mon, 21 Mar 2022 16:09:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647904145; cv=none; d=google.com; s=arc-20160816; b=vyInPqVMSy2VFlzFualeQmLV9AN6b4SmGltJo8FCyxYSTUPGeNsHouAxqMnnQ8coUY k0+iqL2w7J//eYO7Kd+ws55vR0jomrWoKbAHnRT5B3b8BRHZ4p2+IRquZ+NwO+fvs448 7A0oLkHl5VH38o4IOfDgKln0DuzyQpmo5rv4nwucekADP4HzQxsEz6PJ3vHnoSLHAyII 0+H8vQ+wzBD96/fQHFJ6CJ5FuPa0DqFIYkFRTe29rYzCdD9RDliaX9pPiWCIxzPqspgO Bl3L8LI69tNHPUwNrc0Pwq6uDta6oSnVQe0YaFgIuWGJC8ZQth51WBpQ169by5+Ik3+5 2ODw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id:dkim-signature; bh=mWMxWcRS8Z/IDtUohHoNOgheys/hQKbnBKUi38w+/+w=; b=mUxBs/7F4e4AbtXbWgiAIHE+CQ9Wog9Sjv2LSyZ7dU89A4k9bOxGlytEMKh+5uHj+u WcvdTzoPvVc5XOW6Pn0f1oAQrsUs7UwmcNZ2AO9JdvKkNhaV1cxH90USx1vbNmqHQowy xCXLfDQx2qPZKlCGNl3ot4OmIehOnUL4IHIkQBRd8Tlyxx6pG9C688ozlLo13VjMC1dD 3ZAiHXbmS1WDwB2YzLp6bKGKKteD58zNZZRwOlBVU7R7qJlOCQujLwHjVXxHrNYgKT1T qWIe1ZrdAchpUD9MDJw8nw/nR9EiDbMKSX5+eeU51xuXYyxaOQapS0HQoP52TUQD+9xU DUjw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gnuweeb.org header.s=default header.b=iRorJ7lp; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnuweeb.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id w6-20020a1709027b8600b00153b2d165f1si11589929pll.505.2022.03.21.16.09.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Mar 2022 16:09:05 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@gnuweeb.org header.s=default header.b=iRorJ7lp; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnuweeb.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id A63E335F822; Mon, 21 Mar 2022 15:07:18 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243154AbiCTJc0 (ORCPT + 99 others); Sun, 20 Mar 2022 05:32:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39790 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235912AbiCTJcX (ORCPT ); Sun, 20 Mar 2022 05:32:23 -0400 Received: from gnuweeb.org (gnuweeb.org [51.81.211.47]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CB8102DAB5 for ; Sun, 20 Mar 2022 02:30:59 -0700 (PDT) Received: from [192.168.1.101] (unknown [88.235.220.59]) by gnuweeb.org (Postfix) with ESMTPSA id B19977E2BC; Sun, 20 Mar 2022 09:30:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gnuweeb.org; s=default; t=1647768658; bh=ygkrm1RT86tyG8j/iRFsG6RBtkprW94+sdWpA72M23g=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=iRorJ7lpwjGI+5bAXnD11w50y3D0M4kIeiuKV11AUxq5EwUATViGgDdmJy2RYcXLq hpDaPpc5u3oIyAOdjcEIR9IJlVKq2m49l24ORVZ4Y9Cc8JCPk3hTNExeJZ2YI16bLw L7ixiy8sEFON+dzXkkf1DwSpWJ9UGJsda+0cG2+xoRzK4PJkWYkZv2vrHOyo/ZJsyv eHI+3pgFd3OrW9UErrviJRaw3EBlbqJoOmWp48WVZrdWMLsAA30HQ4GHJKMDt6RFg7 BVvq632iyyrMCi1f8AjzJM/DHUAYyZO93yq4N2bGfumqgCTcHJfvI1/8HzwoKnEZNU RFt7kAuHiVpDw== Message-ID: Subject: Re: [PATCH] boot install: Partially refactor the logic for detecting bootloader From: Beru Shinsetsu To: Borislav Petkov Cc: Thomas Gleixner , Ingo Molnar , Dave Hansen , x86@kernel.org, "H. Peter Anvin" , linux-kernel@vger.kernel.org, GNU/Weeb Mailing List , Alviro Iskandar Setiawan Date: Sun, 20 Mar 2022 12:30:51 +0300 In-Reply-To: References: <20220316173221.5937-1-windowz414@gnuweeb.org> <2E28CA0C-34F2-4985-86CC-B1823AF8D747@alien8.de> <7b4f98d92a57af35c927aef6c85373f8eeeab29c.camel@gnuweeb.org> <221F34C3-C3E0-4401-BEF2-422F11BF8324@alien8.de> <9fa42069edf92d0ca7d64e967e1b9c0030d9a6ec.camel@gnuweeb.org> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.4 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 2022-03-19 at 22:20 +0100, Borislav Petkov wrote: > On Thu, Mar 17, 2022 at 04:46:48PM +0300, Beru Shinsetsu wrote: > > > Well, I saw this on SLE15-SP4 (brand new) yesterday while I haven't > > > seen it on previous service packs. So this doesn't look like it has > > > been there since 2007. I'll try to debug it when I get a chance. > > > > Hmm alright. Good luck from now! Hope everything goes flawlessly. > > Here it is: > > From arch/x86/boot/install.sh: > > ... > # User may have a custom install script > > if [ -x ~/bin/${INSTALLKERNEL} ]; then exec ~/bin/${INSTALLKERNEL} "$@"; fi > if [ -x /sbin/${INSTALLKERNEL} ]; then exec /sbin/${INSTALLKERNEL} "$@"; fi > ... > > so distros *usually* should supply a custom, distro-specific > installkernel script which does that. The distros which you are seeing > it on simply don't have that script installed and I need to talk to > distro people as to what the rule there is for supplying such a script > now. > > Because most distros should supply it though and those new distros > dropping it looks like some new "strategy" or so. > > We'll see. I have seen that, and I had pretty much the same thoughts as well. Arch isn't quite new either. And as I said, installing from AUR works pretty fine (package is `linux-mainline`, it also compiles the kernel on *your* PC locally, then installs it as a PacMan package). Just compiling manually doesn't. I suppose that's one of the quirks of the distro being installed manually by the user from the very first stage. Not even counting Gentoo though, I haven't tried it out as I'm scared it can explode my laptop as it *compiles the whole system locally*. But let's see how it goes. Thank you so much by the way! -- Beru Shinsetsu