diff options
Diffstat (limited to 'strata/bsp-x86_32-generic/linux-x86-32-generic.morph')
-rw-r--r-- | strata/bsp-x86_32-generic/linux-x86-32-generic.morph | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/strata/bsp-x86_32-generic/linux-x86-32-generic.morph b/strata/bsp-x86_32-generic/linux-x86-32-generic.morph index 3d141fd9..529b74bd 100644 --- a/strata/bsp-x86_32-generic/linux-x86-32-generic.morph +++ b/strata/bsp-x86_32-generic/linux-x86-32-generic.morph @@ -290,5 +290,9 @@ install-commands: ) | cpio -0pumd "$DESTDIR$PREFIX/src/linux" system-integration: linux-x86-32-generic-misc: + # This is required for any modules to work correctly. However, it depends + # `depmod` from the 'kmod' chunk in the 'foundation' stratum, so it runs + # conditionally on `depmod` existing to avoid breaking in + # minimal-system-x86_32. 00-depmod: - - (cd /lib/modules && for version in *; do depmod -a "$version"; done) + - if which depmod; then (cd /lib/modules && for version in *; do depmod -a "$version"; done) fi |