]> git.ipfire.org Git - thirdparty/dracut.git/commit
dracut-install: make use of _cleanup_ macros and improve hostonly check
authorHarald Hoyer <harald@redhat.com>
Fri, 15 Apr 2016 13:29:52 +0000 (15:29 +0200)
committerHarald Hoyer <harald@redhat.com>
Fri, 15 Apr 2016 14:48:13 +0000 (16:48 +0200)
commiteab32bda801e539c276f1b18e7c2b691eeab3d14
tree1504d83825aba19edf41b000639bf5277aa47ecc
parentfa295f0bcde8c8d1205cf53ebe6e5dc46629200a
dracut-install: make use of _cleanup_ macros and improve hostonly check

If a module is renamed or another module takes care of the old one,
all of the alias strings have to be checked against the current set of
loaded modules.

This is still incomplete, because to be absolutely correct, all the
/sys/*...*/modalias files would have to be checked, if they match the
modules alias strings.
install/dracut-install.c