aboutsummaryrefslogtreecommitdiffstats
path: root/packages/qemuarm64-poky-linux/linux-yocto/kernel-module-dma-example-5.15.108-yocto-standard/latest.pkg_postinst
diff options
context:
space:
mode:
Diffstat (limited to 'packages/qemuarm64-poky-linux/linux-yocto/kernel-module-dma-example-5.15.108-yocto-standard/latest.pkg_postinst')
-rw-r--r--packages/qemuarm64-poky-linux/linux-yocto/kernel-module-dma-example-5.15.108-yocto-standard/latest.pkg_postinst10
1 files changed, 10 insertions, 0 deletions
diff --git a/packages/qemuarm64-poky-linux/linux-yocto/kernel-module-dma-example-5.15.108-yocto-standard/latest.pkg_postinst b/packages/qemuarm64-poky-linux/linux-yocto/kernel-module-dma-example-5.15.108-yocto-standard/latest.pkg_postinst
new file mode 100644
index 000000000000..6318d83fd6bf
--- /dev/null
+++ b/packages/qemuarm64-poky-linux/linux-yocto/kernel-module-dma-example-5.15.108-yocto-standard/latest.pkg_postinst
@@ -0,0 +1,10 @@
+#!/bin/sh
+set -e
+if [ -z "$D" ]; then
+ depmod -a 5.15.108-yocto-standard
+else
+ # image.bbclass will call depmodwrapper after everything is installed,
+ # no need to do it here as well
+ :
+fi
+