Add cryptsetup package
PATCH 1/1 Add cryptsetup package
This adds the cryptsetup package to buildroot
--- package/Config.in | 1 + package/cryptsetup/Config.in | 10 ++++++++++ package/cryptsetup/cryptsetup.mk | 12 ++++++++++++ 3 files changed, 23 insertions(+), 0 deletions(-) create mode 100644 package/cryptsetup/Config.in create mode 100644 package/cryptsetup/cryptsetup.mk
package/Config.in +1 -0
@@ -483,6 +483,7 @@ source "package/sysklogd/Config.in" source "package/sysvinit/Config.in" source "package/util-linux/Config.in" endif +source "package/cryptsetup/Config.in" endmenu menu "Text editors and viewers"
package/cryptsetup/Config.in new file +10 -0
@@ -0,0 +1,10 @@ +config BR2_PACKAGE_CRYPTSETUP + bool "cryptsetup" + select BR2_PACKAGE_LIBGCRYPT + select BR2_PACKAGE_POPT + select BR2_PACKAGE_LVM2 + help + This tool helps manipulate dm-crypt and luks partitions for on-disk + encryption. + + http://www.saout.de/misc/dm-crypt/
package/cryptsetup/cryptsetup.mk new file +12 -0
@@ -0,0 +1,12 @@ +# +# cryptsetup +# +CRYPTSETUP_VERSION = 1.2.0 +CRYPTSETUP_SOURCE = cryptsetup-$(CRYPTSETUP_VERSION).tar.bz2 +CRYPTSETUP_SITE = http://cryptsetup.googlecode.com/files +CRYPTSETUP_INSTALL_STAGING = NO +CRYPTSETUP_INSTALL_TARGET = YES +#CRYPTSETUP_CONF_OPT = --BLAH +CRYPTSETUP_DEPENDENCIES = lvm2 libgcrypt popt e2fsprogs + +$(eval $(call AUTOTARGETS,package,cryptsetup))
Signature · 1 line
1.5.6.5
PATCH 1/1 Add cryptsetup package
Hey,
is e2fsprogs really a requirement? If yes, I'd suggest adding it to the "select"s in the Config.in.
Heiko
Quoting Martin Hicks <[email protected]>:
Quoted 66 lines
This adds the cryptsetup package to buildroot
Signed-off-by Martin Hicks <[email protected]>--- package/Config.in | 1 + package/cryptsetup/Config.in | 10 ++++++++++ package/cryptsetup/cryptsetup.mk | 12 ++++++++++++ 3 files changed, 23 insertions(+), 0 deletions(-) create mode 100644 package/cryptsetup/Config.in create mode 100644 package/cryptsetup/cryptsetup.mkpackage/Config.in +1
-0@@ -483,6 +483,7 @@ source "package/sysklogd/Config.in" source "package/sysvinit/Config.in" source "package/util-linux/Config.in" endif +source "package/cryptsetup/Config.in" endmenu menu "Text editors and viewers"package/cryptsetup/Config.in new file +10
-0@@ -0,0 +1,10 @@ +config BR2_PACKAGE_CRYPTSETUP + bool "cryptsetup" + select BR2_PACKAGE_LIBGCRYPT + select BR2_PACKAGE_POPT + select BR2_PACKAGE_LVM2 + help + This tool helps manipulate dm-crypt and luks partitions for on-disk + encryption. + + http://www.saout.de/misc/dm-crypt/package/cryptsetup/cryptsetup.mk new file +12
-1@@ -0,0 +1,12 @@ +# +# cryptsetup +# +CRYPTSETUP_VERSION = 1.2.0 +CRYPTSETUP_SOURCE = cryptsetup-$(CRYPTSETUP_VERSION).tar.bz2 +CRYPTSETUP_SITE = http://cryptsetup.googlecode.com/files +CRYPTSETUP_INSTALL_STAGING = NO +CRYPTSETUP_INSTALL_TARGET = YES +#CRYPTSETUP_CONF_OPT = --BLAH +CRYPTSETUP_DEPENDENCIES = lvm2 libgcrypt popt e2fsprogs + +$(eval $(call AUTOTARGETS,package,cryptsetup)) --1.5.6.5
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 7 lines
Regards Heiko Zuerker http://www.devil-linux.org ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program.
PATCH 1/1 Add cryptsetup package
In reply to Martin HicksHello,
package/cryptsetup/cryptsetup.mk line 8
Quoted 2 lines · On Tue, 1 Feb 2011 12:18:38 -0500 Martin Hicks <[email protected]> wrote:
package/cryptsetup/cryptsetup.mk new file +2
-0+CRYPTSETUP_INSTALL_STAGING = NO +CRYPTSETUP_INSTALL_TARGET = YES
Those are not needed, this is the default.
Quoted 1 line
+#CRYPTSETUP_CONF_OPT = --BLAH
Not needed (but removed by your followup patch that should be merged here).
Quoted 1 line
+CRYPTSETUP_DEPENDENCIES = lvm2 libgcrypt popt e2fsprogs
As done by your followup patch, if you have an e2fsprogs dependency here, you should also have the dependency in the Config.in file.
Thanks!
Thomas
Signature · 4 lines
Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com