summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Alvarez <pedro.alvarez@codethink.co.uk>2015-10-12 10:24:03 (GMT)
committerPedro Alvarez <pedro.alvarez@codethink.co.uk>2015-10-13 17:16:00 (GMT)
commitdfb51ac79271269b826aee53b076de4192e7a2ac (patch)
tree4478b9ad0a9070a8a97474b5c42d64086f76c3d6
parentb7714430f3425a627b6c5431d08e00d8bb0ffcbb (diff)
downloaddefinitions-dfb51ac79271269b826aee53b076de4192e7a2ac.tar.gz
Run depmod when building rpi2 kernel, it has a lot of modules
-rw-r--r--strata/bsp-rpi2/linux-rpi2.morph4
1 files changed, 4 insertions, 0 deletions
diff --git a/strata/bsp-rpi2/linux-rpi2.morph b/strata/bsp-rpi2/linux-rpi2.morph
index 5513add..b5148e1 100644
--- a/strata/bsp-rpi2/linux-rpi2.morph
+++ b/strata/bsp-rpi2/linux-rpi2.morph
@@ -116,3 +116,7 @@ install-commands:
- cp arch/arm/boot/dts/overlays/*.dtb* "$DESTDIR"/boot/overlays/
- cp arch/arm/boot/dts/overlays/README "$DESTDIR"/boot/overlays/
- scripts/mkknlimg arch/arm/boot/zImage "$DESTDIR"/boot/kernel7.img
+system-integration:
+ linux-rpi-misc:
+ 00-depmod:
+ - depmod -a $(cd /lib/modules; ls | head -n 1)