* Create append that will create /etc/modules-load.d/ config file which will
  autoload the cryptodev module.

Signed-off-by: Franklin S. Cooper Jr <[email protected]>
---
 .../cryptodev/cryptodev_1.6.bbappend               |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)
 create mode 100644 
meta-arago-distro/recipes-kernel/cryptodev/cryptodev_1.6.bbappend

diff --git a/meta-arago-distro/recipes-kernel/cryptodev/cryptodev_1.6.bbappend 
b/meta-arago-distro/recipes-kernel/cryptodev/cryptodev_1.6.bbappend
new file mode 100644
index 0000000..96fb74d
--- /dev/null
+++ b/meta-arago-distro/recipes-kernel/cryptodev/cryptodev_1.6.bbappend
@@ -0,0 +1,9 @@
+PR_append = "-arago0"
+
+do_install_append() {
+
+    # Create conf file to autoload kernel module
+    install -d ${D}/etc/modules-load.d/
+    touch ${D}/etc/modules-load.d/cryptodev.conf
+    echo "cryptodev" > ${D}/etc//modules-load.d/cryptodev.conf
+}
-- 
1.7.0.4

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

Reply via email to