[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <e0fb4826470cc052b59c8cba6319df160908af5d.camel@gnuweeb.org>
Date: Sun, 20 Mar 2022 12:30:51 +0300
From: Beru Shinsetsu <windowz414@...weeb.org>
To: Borislav Petkov <bp@...en8.de>
Cc: Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...hat.com>,
Dave Hansen <dave.hansen@...ux.intel.com>, x86@...nel.org,
"H. Peter Anvin" <hpa@...or.com>, linux-kernel@...r.kernel.org,
GNU/Weeb Mailing List <gwml@...weeb.org>,
Alviro Iskandar Setiawan <alviro.iskandar@...weeb.org>
Subject: Re: [PATCH] boot install: Partially refactor the logic for
detecting bootloader
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
Powered by blists - more mailing lists