diff options
author | Etienne Dechamps <[email protected]> | 2013-04-21 20:03:12 +0100 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2013-04-24 16:18:42 -0700 |
commit | c4933aade7ecf8a933c4404ea3f99cac5820bd57 (patch) | |
tree | f8f8b1c4a84bdd255088e61264bf9886202501db /config/kernel-blk-queue-discard.m4 | |
parent | f706421173c571371afff5e2a2ee0784c5e3f95d (diff) |
Fix various generic kmod RPM spec issues.
There are a number of issues with the generic kmod RPM spec in its
current state:
- The "%{__id_u}" macro seems to not be available on some systems (e.g.
Debian squeeze). It appears it has been deprecated. Use "${__id} -u"
instead.
- The way the "--with-linux=" configure option is generated in the
non-RHEL/Fedora case is completely wrong with various newline and
escaping issues (also, $kernel_version is not available in the
generator context).
The second issue made the generator shell snippet (almost) silently
fail, which under specific circumstances can result in broken builds
against the wrong kernel sources.
Signed-off-by: Brian Behlendorf <[email protected]>
Closes #1416
Diffstat (limited to 'config/kernel-blk-queue-discard.m4')
0 files changed, 0 insertions, 0 deletions