Bug 520788 - missing scriptlet dependencies: /sbin/new-kernel-pkg
Summary: missing scriptlet dependencies: /sbin/new-kernel-pkg
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-09-02 12:21 UTC by Stepan Kasal
Modified: 2009-09-02 13:40 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-09-02 13:40:48 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Stepan Kasal 2009-09-02 12:21:44 UTC
/sbin/new-kernel-pkg is required for %post, %preun, and %posttrans scriptlets.

But the only dependency in kernel.spec is
   Requires(pre): /sbin/new-kernel-pkg

Instead, to reflect the use in %post and %preun, it should be
   Requires(post): /sbin/new-kernel-pkg
   Requires(preun): /sbin/new-kernel-pkg

It does not seem to be possible to encode the %posttrans scriptlet dependency correctly, but I would suggest the following hack:
   Requires(postun): /sbin/new-kernel-pkg

Comment 1 Stepan Kasal 2009-09-02 12:22:57 UTC
The issue was discovered in:
http://bugzilla.redhat.com/show_bug.cgi?id=520426#c2

Comment 2 Dave Jones 2009-09-02 13:40:48 UTC
added to cvs. thanks.

Comment 3 Dave Jones 2009-09-02 13:40:59 UTC
added to cvs. thanks.


Note You need to log in before you can comment on or make changes to this bug.