aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2016-12-02 19:00:55 -0800
committerMartin Jansa <Martin.Jansa@gmail.com>2017-08-31 15:22:57 +0200
commit43f0109732abe48491679ce7e7116bd4f4a1f3bb (patch)
treedd932da8da9a9702f57ddbd027dc6d4ac96d8a15
parentec1781e98fd49733c60f9c162b15eaf50c2e46dd (diff)
downloadmeta-openembedded-contrib-43f0109732abe48491679ce7e7116bd4f4a1f3bb.tar.gz
meta-openembedded-contrib-43f0109732abe48491679ce7e7116bd4f4a1f3bb.tar.bz2
meta-openembedded-contrib-43f0109732abe48491679ce7e7116bd4f4a1f3bb.zip
loop-aes: Add recipe
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-support/loop-aes/loop-aes_v3.7j.bb22
1 files changed, 22 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/loop-aes/loop-aes_v3.7j.bb b/meta-oe/recipes-support/loop-aes/loop-aes_v3.7j.bb
new file mode 100644
index 0000000000..fa60c7be62
--- /dev/null
+++ b/meta-oe/recipes-support/loop-aes/loop-aes_v3.7j.bb
@@ -0,0 +1,22 @@
+SUMMARY = "Loop-aes - replacement for loop driver that can do aes encryption"
+DESCRIPTION = "Fast and transparent file system and swap encryption package for \
+ linux. No source code changes to linux kernel. Works with 3.x,\
+ 2.6, 2.4, 2.2 and 2.0 kernels."
+HOMEPAGE = "http://sourceforge.net/projects/loop-aes/"
+LICENSE = "GPL-2.0"
+
+LIC_FILES_CHKSUM = "file://aes-GPL.diff;md5=bf349af3486306c2e4d85de5b6fa3bb4"
+
+SRC_URI = "http://loop-aes.sourceforge.net/loop-AES/loop-AES-${PV}.tar.bz2"
+SRC_URI[md5sum] = "335238a7cfd45f157935c59156533a05"
+SRC_URI[sha256sum] = "67ede839d4cac657359c39b05eac46f6991054768a7e1096bef5b92edb3b8aba"
+
+inherit module
+
+S = "${WORKDIR}/loop-AES-${PV}"
+
+EXTRA_OEMAKE += "LINUX_SOURCE=${STAGING_KERNEL_DIR} INSTALL_MOD_PATH=${D} MODINST=n"
+
+do_install () {
+ install -D -m 0655 loop.ko ${D}${base_libdir}/modules/${KERNEL_VERSION}/misc/loop.ko
+}