diff options
author | Dave Reisner <dreisner@archlinux.org> | 2016-06-26 15:26:03 +0200 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2016-06-27 14:27:52 +0200 |
commit | 97ac4d37aae084a050be512f6d8f4489054668ad (patch) | |
tree | bd10ce5190419cb87810500a357a3f0ae6865ca5 /Makefile | |
parent | 730bf42e4ce461c654598effcc04b7bde4367de7 (diff) | |
download | mkinitcpio-97ac4d37aae084a050be512f6d8f4489054668ad.tar.gz mkinitcpio-97ac4d37aae084a050be512f6d8f4489054668ad.tar.xz |
Handle softdeps in modules
modinfo outputs softdeps which we can add if they exist (failing
quietly on not-found). this obviates the need for some of our own
module quirks.
The output of modinfo can take many forms, as it's nearly freeform text
in the .modinfo section of the kernel module. The basic form is:
softdep: pre: foo
But it might also be:
softdep: pre: foo bar post: baz
Or:
softdep: pre: foo
softdep: post: bar
So just parse the entire line, discarding anything that ends with a ':'.
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions