Re: [systemd-devel] Is `kernel-install` called automatically?
On Sat, 17 Jul 2021, Mike Beaton wrote: > > I've managed to get it to be called > automatically on both Fedora and CentOS/Rocky 8 > > Thank you. How? I'm not asking for excruciating detail, just roughly. Your > own scripts, or something in the distribution? On Fedora, the kernel-core RPM's %posttrans scriptlet calls kernel-install directly. See for example: https://src.fedoraproject.org/rpms/kernel/blob/7464e60427be7b6af8d65b8db72db1ef2bb28549/f/kernel.spec#_2608 ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel
Re: [systemd-devel] Is `kernel-install` called automatically?
> I've managed to get it to be called automatically on both Fedora and CentOS/Rocky 8 Thank you. How? I'm not asking for excruciating detail, just roughly. Your own scripts, or something in the distribution? On Fri, 16 Jul 2021, 13:00 , wrote: > Send systemd-devel mailing list submissions to > systemd-devel@lists.freedesktop.org > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.freedesktop.org/mailman/listinfo/systemd-devel > or, via email, send a message with subject or body 'help' to > systemd-devel-requ...@lists.freedesktop.org > > You can reach the person managing the list at > systemd-devel-ow...@lists.freedesktop.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of systemd-devel digest..." > Today's Topics: > >1. Re: Is `kernel-install` called automatically? (Ian Pilcher) > > > > -- Forwarded message -- > From: Ian Pilcher > To: systemd-devel@lists.freedesktop.org > Cc: > Bcc: > Date: Thu, 15 Jul 2021 08:58:46 -0500 > Subject: Re: [systemd-devel] Is `kernel-install` called automatically? > On 7/15/21 4:40 AM, Mike Beaton wrote: > > I may not have understood correctly, but it seems that after `bootcl > > install`, `kernel-install` is _not_ called automatically; neither > > initially, nor after any system kernel update. > > > > Is this correct? And if so can anyone help with the reasoning behind > > this or status of this issue? > > > > To clarify: I would have expected that this would be called > > automatically, since (as I understand it) it is part of letting > > systemd-boot actually successfully boot the user's system. > > 'bootctl install' does not call kernel-install. > > Whether or not it's called when an updated kernel is installed is > dependent on the distribution. I've managed to get it to be called > automatically on both Fedora and CentOS/Rocky 8, but I haven't managed > to get it working on CentOS 7. > > -- > > In Soviet Russia, Google searches you! > > > > ___ > systemd-devel mailing list > systemd-devel@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/systemd-devel > ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel
Re: [systemd-devel] Is `kernel-install` called automatically?
On 7/15/21 4:40 AM, Mike Beaton wrote: I may not have understood correctly, but it seems that after `bootcl install`, `kernel-install` is _not_ called automatically; neither initially, nor after any system kernel update. Is this correct? And if so can anyone help with the reasoning behind this or status of this issue? To clarify: I would have expected that this would be called automatically, since (as I understand it) it is part of letting systemd-boot actually successfully boot the user's system. 'bootctl install' does not call kernel-install. Whether or not it's called when an updated kernel is installed is dependent on the distribution. I've managed to get it to be called automatically on both Fedora and CentOS/Rocky 8, but I haven't managed to get it working on CentOS 7. -- In Soviet Russia, Google searches you! ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel
[systemd-devel] Is `kernel-install` called automatically?
I may not have understood correctly, but it seems that after `bootcl install`, `kernel-install` is _not_ called automatically; neither initially, nor after any system kernel update. Is this correct? And if so can anyone help with the reasoning behind this or status of this issue? To clarify: I would have expected that this would be called automatically, since (as I understand it) it is part of letting systemd-boot actually successfully boot the user's system. ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel