Description of problem: The conditionalized actions in the scriptlets should be expressed in a more positive manner. E.g. write | [ ! -x /usr/sbin/module_upgrade ] || /usr/sbin/module_upgrade instead of the | [ -x /usr/sbin/module_upgrade ] && /usr/sbin/module_upgrade With the latter (current) version, the entire scriptlet will fail when /usr/sbin/module_upgrade does not exist. Version-Release number of selected component (if applicable): kernel-2.4.22-1.2115.nptl
Any reasons for this 'WONTFIX'? The current version does not make any sense (but this is not uncommon in FC kernel-packaging).
FC-1 is end of life.
ok, recent FC3 kernel is affected by the same kind of error: | [ -x /sbin/new-kernel-pkg ] && /sbin/new-kernel-pkg ...
if the initrd fails to build due to a missing new-kernel-pkg, I'd prefer to bail early instead of continuing as if nothing went wrong, and having users think the kernel installed correctly.
but why this | [ -x /sbin/new-kernel-pkg ] && /sbin/new-kernel-pkg ... ? This really does not make sense... This statement will fail silently when /sbin/new-kernel-pkg does not exist without giving any hint why the scriptlet fails. rpm dep-tracking ensures that /sbin/new-kernel-pkg is installed at %post scriptlet time, so why this additional check? Using the suggested '||' format would allow to skip the new-kernel-pkg part which might be unwanted e.g. in vservers (where loopback devices can not be mounted).
should be fixed in cvs.