public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] systemd-boot on an openrc system
@ 2022-09-15  9:07 Peter Humphrey
  2022-09-28 11:05 ` Nils Freydank
  0 siblings, 1 reply; 4+ messages in thread
From: Peter Humphrey @ 2022-09-15  9:07 UTC (permalink / raw
  To: gentoo-user

Hello list,

I've had no success with that monster grub-2, so I use bootctl from systemd-
boot to maintain a boot-time menu of kernels to boot.

In recent versions of systemd-boot, when I command 'bootctl update' I get this 
request:

'Read $KERNEL_INSTALL_LAYOUT from /etc/machine-info. Please move it to the 
layout= setting of /etc/kernel/install.conf.'

My openrc boxes have no such install.conf file. Do I need to create one?

-- 
Regards,
Peter.





^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] systemd-boot on an openrc system
  2022-09-15  9:07 [gentoo-user] systemd-boot on an openrc system Peter Humphrey
@ 2022-09-28 11:05 ` Nils Freydank
  2022-09-28 12:20   ` Peter Humphrey
  0 siblings, 1 reply; 4+ messages in thread
From: Nils Freydank @ 2022-09-28 11:05 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 796 bytes --]

Hi Peter,

long story short: AFAICT it's a deprecated or moved configuration entry inside
the file /etc/machine-info and should be safe to just delete, maybe even with
the whole file machine-info itself.

On my machine with openrc and systemd-boot I don't even have /etc/machine-info
at all and things work fine together. To me it looks as the variable was just
thrown out of the machine-info file and in case you would need it you should
put it into /etc/kernel/install.conf.

I don't know which software uses the string. If you compile your kernel
manually or using the gentoo-kernel packages it seems to be not necessary.

(But as always when taking advice from strangers on the internet: First make a
backup, have a live medium for recovery at hand and test it yourself.)

Kind regards,
Nils

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 358 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] systemd-boot on an openrc system
  2022-09-28 11:05 ` Nils Freydank
@ 2022-09-28 12:20   ` Peter Humphrey
  2022-09-29 14:13     ` [gentoo-user] " Nikos Chantziaras
  0 siblings, 1 reply; 4+ messages in thread
From: Peter Humphrey @ 2022-09-28 12:20 UTC (permalink / raw
  To: gentoo-user

On Wednesday, 28 September 2022 12:05:19 BST Nils Freydank wrote:
> Hi Peter,
> 
> long story short: AFAICT it's a deprecated or moved configuration entry
> inside the file /etc/machine-info and should be safe to just delete, maybe
> even with the whole file machine-info itself.
> 
> On my machine with openrc and systemd-boot I don't even have
> /etc/machine-info at all and things work fine together. To me it looks as
> the variable was just thrown out of the machine-info file and in case you
> would need it you should put it into /etc/kernel/install.conf.
> 
> I don't know which software uses the string. If you compile your kernel
> manually or using the gentoo-kernel packages it seems to be not necessary.
> 
> (But as always when taking advice from strangers on the internet: First make
> a backup, have a live medium for recovery at hand and test it yourself.)

Thanks Nils.

Looking more carefully, I see only one machine has an /etc/machine-info. I've 
moved it and I no longer get the warning. Simple as that, eh?

-- 
Regards,
Peter.





^ permalink raw reply	[flat|nested] 4+ messages in thread

* [gentoo-user] Re: systemd-boot on an openrc system
  2022-09-28 12:20   ` Peter Humphrey
@ 2022-09-29 14:13     ` Nikos Chantziaras
  0 siblings, 0 replies; 4+ messages in thread
From: Nikos Chantziaras @ 2022-09-29 14:13 UTC (permalink / raw
  To: gentoo-user

On 28/09/2022 15:20, Peter Humphrey wrote:
> Looking more carefully, I see only one machine has an /etc/machine-info.

I'm on systemd (openrc is not installed at all), and I don't have 
/etc/machine-info. And /etc/kernel/install.d/ is empty.




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-09-29 14:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-15  9:07 [gentoo-user] systemd-boot on an openrc system Peter Humphrey
2022-09-28 11:05 ` Nils Freydank
2022-09-28 12:20   ` Peter Humphrey
2022-09-29 14:13     ` [gentoo-user] " Nikos Chantziaras

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox