Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 491044 - sys-apps/kexec-tools-2.0.4-r2 should install an /etc/kernel/postinst.d script
Summary: sys-apps/kexec-tools-2.0.4-r2 should install an /etc/kernel/postinst.d script
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Justin Lecher (RETIRED)
URL: https://github.com/gentoo/gentoo/pull...
Whiteboard:
Keywords: PATCH, PullRequest
Depends on:
Blocks:
 
Reported: 2013-11-11 22:42 UTC by Dennis Schridde
Modified: 2024-07-28 07:56 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
kernel/postinst.d script (90_kexec,246 bytes, application/x-shellscript)
2013-11-11 22:42 UTC, Dennis Schridde
Details
kernel/postinst.d script (90_kexec,191 bytes, application/x-shellscript)
2013-11-11 22:43 UTC, Dennis Schridde
Details
/etc/kernel/postinst.d/90_kexec (90_kexec,199 bytes, text/plain)
2013-11-11 22:45 UTC, Dennis Schridde
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Schridde 2013-11-11 22:42:13 UTC
Since the kexec-load@ systemd units were removed, the old kernel/postinst.d script does no longer work. I attached a new one.

Reproducible: Always
Comment 1 Dennis Schridde 2013-11-11 22:42:32 UTC
Created attachment 363092 [details]
kernel/postinst.d script
Comment 2 Dennis Schridde 2013-11-11 22:43:52 UTC
Created attachment 363094 [details]
kernel/postinst.d script
Comment 3 Dennis Schridde 2013-11-11 22:45:06 UTC
Created attachment 363096 [details]
/etc/kernel/postinst.d/90_kexec
Comment 4 Justin Lecher (RETIRED) gentoo-dev 2013-11-12 08:14:37 UTC
This isn't installed by kexec-tools. Where does it come from? What is that good for?
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2013-11-12 19:38:58 UTC
(In reply to Justin Lecher from comment #4)
> This isn't installed by kexec-tools. Where does it come from? What is that
> good for?

The idea is that it /should/ be installed by sys-apps/kexec-tools so that, when running installkernel(8) (from sys-apps/debianutils), usually through make install in a kernel sources directory, special things get done.
Comment 6 Dennis Schridde 2013-11-12 21:35:35 UTC
(In reply to Justin Lecher from comment #4)
> This isn't installed by kexec-tools.

Earlier versions afaik installed it.
Comment 7 Justin Lecher (RETIRED) gentoo-dev 2013-11-13 07:52:29 UTC
I never saw such a script, but I am fine with it.
Comment 8 Justin Lecher (RETIRED) gentoo-dev 2013-12-28 20:16:48 UTC
+*kexec-tools-2.0.4-r3 (28 Dec 2013)
+
+  28 Dec 2013; Justin Lecher <jlec@gentoo.org> +kexec-tools-2.0.4-r3.ebuild,
+  +files/90_kexec:
+  Add postinst script for installkernel(8), #491044
+