diff mbox

[oe,meta-oe,8/8] loop-aes: Add recipe

Message ID 20161203030422.17285-8-raj.khem@gmail.com
State New
Headers show

Commit Message

Khem Raj Dec. 3, 2016, 3:04 a.m. UTC
Signed-off-by: Khem Raj <raj.khem@gmail.com>

---
 meta-oe/recipes-support/loop-aes/loop-aes_v3.7j.bb | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 meta-oe/recipes-support/loop-aes/loop-aes_v3.7j.bb

-- 
2.10.2

-- 
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Comments

Martin Jansa Dec. 9, 2016, 9:40 p.m. UTC | #1
On Fri, Dec 02, 2016 at 07:04:22PM -0800, Khem Raj wrote:
> Signed-off-by: Khem Raj <raj.khem@gmail.com>

> ---

>  meta-oe/recipes-support/loop-aes/loop-aes_v3.7j.bb | 22 ++++++++++++++++++++++

>  1 file changed, 22 insertions(+)

>  create mode 100644 meta-oe/recipes-support/loop-aes/loop-aes_v3.7j.bb

> 

> 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 0000000..fa60c7b

> --- /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


Please use 4 spaces when updating.

> +}


It conflicts with linux-yocto:
http://errors.yoctoproject.org/Errors/Details/112197/

> -- 

> 2.10.2

> 

> -- 

> _______________________________________________

> Openembedded-devel mailing list

> Openembedded-devel@lists.openembedded.org

> http://lists.openembedded.org/mailman/listinfo/openembedded-devel


-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com
-- 
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Khem Raj Dec. 9, 2016, 10:45 p.m. UTC | #2
On Fri, Dec 9, 2016 at 1:40 PM, Martin Jansa <martin.jansa@gmail.com> wrote:
> On Fri, Dec 02, 2016 at 07:04:22PM -0800, Khem Raj wrote:

>> Signed-off-by: Khem Raj <raj.khem@gmail.com>

>> ---

>>  meta-oe/recipes-support/loop-aes/loop-aes_v3.7j.bb | 22 ++++++++++++++++++++++

>>  1 file changed, 22 insertions(+)

>>  create mode 100644 meta-oe/recipes-support/loop-aes/loop-aes_v3.7j.bb

>>

>> 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 0000000..fa60c7b

>> --- /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

>

> Please use 4 spaces when updating.

>


hmm ok

>> +}

>

> It conflicts with linux-yocto:

> http://errors.yoctoproject.org/Errors/Details/112197/


it is supposed to conflict with kernels enabling loop device.

>

>> --

>> 2.10.2

>>

>> --

>> _______________________________________________

>> Openembedded-devel mailing list

>> Openembedded-devel@lists.openembedded.org

>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

>

> --

> Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

>

> --

> _______________________________________________

> Openembedded-devel mailing list

> Openembedded-devel@lists.openembedded.org

> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

>

-- 
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
diff mbox

Patch

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 0000000..fa60c7b
--- /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
+}