]> git.ipfire.org Git - thirdparty/kmod.git/commit - libkmod/libkmod.c
libkmod: Ignore errors from softdeps
authorMichal Marek <mmarek@suse.cz>
Mon, 31 Mar 2014 13:18:50 +0000 (15:18 +0200)
committerLucas De Marchi <lucas.demarchi@intel.com>
Tue, 1 Apr 2014 10:40:37 +0000 (07:40 -0300)
commit450bd1b4290e0dec65397881a7037090f203045a
tree03156d57b0c22e723c4fde7a7bf4c319fa9c1732
parent3a33a7a566c221e13c426c0d2f3519ebe8f70a34
libkmod: Ignore errors from softdeps

Before we had softdeps, the usual idiom was

install foo /sbin/modprobe bar; /sbin/modprobe --ignore-install foo

ignoring errors from the first modprobe invocation. This also matches
the behavior of module-init-tools' implementation of softdep.
libkmod/libkmod-internal.h
libkmod/libkmod-module.c
libkmod/libkmod.c