Bug 433121
| Summary: | kernel posttrans and preun hooks for other packages | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Matt Domsch <matt_domsch> | ||||
| Component: | kernel | Assignee: | Kernel Maintainer List <kernel-maint> | ||||
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | rawhide | CC: | jcm, wwlinuxengineering | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2008-03-19 20:40:33 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Bug Depends On: | |||||||
| Bug Blocks: | 440584 | ||||||
| Attachments: |
|
||||||
|
Description
Matt Domsch
2008-02-16 15:35:06 UTC
Created attachment 295073 [details]
kernel-posttrans-preun.patch
Note this patch implements the same interface as that used for Debian and Ubuntu kernels. The scripts are invoked with $1 = kernel version, and $2 = path to vmlinuz file. (DKMS doesn't need $2, but I'm keeping the interface the same to match so people can reuse their scriptlets.) mkinitrd-6.0.39-1.fc9.x86_64 now has the actual scripts being invoked by kernel rpm %posttrans and %preun. Now it's time for the kernel .spec patch, as discussed on fedora-kernel-list, to be applied, which adds %posttrans and %preun invocation of /sbin/new-kernel-pkg --rpmposttrans. Thanks, Matt https://www.redhat.com/archives/fedora-kernel-list/2008-February/msg00083.html has the patch, and the kernel.spec dependency on mkinitrd needs to bump to >= 6.0.39-1 applied. |