[OE-core] [PATCH 7/7] busybox: enable support for sha1sum and sha256sum applets
Andre McCurdy
armccurdy at gmail.com
Thu Jul 30 20:56:28 UTC 2015
Signed-off-by: Andre McCurdy <armccurdy at gmail.com>
---
meta/recipes-core/busybox/busybox/sha1sum.cfg | 1 +
meta/recipes-core/busybox/busybox/sha256sum.cfg | 1 +
meta/recipes-core/busybox/busybox_1.23.2.bb | 2 ++
meta/recipes-core/busybox/busybox_git.bb | 2 ++
4 files changed, 6 insertions(+)
create mode 100644 meta/recipes-core/busybox/busybox/sha1sum.cfg
create mode 100644 meta/recipes-core/busybox/busybox/sha256sum.cfg
diff --git a/meta/recipes-core/busybox/busybox/sha1sum.cfg b/meta/recipes-core/busybox/busybox/sha1sum.cfg
new file mode 100644
index 0000000..20e72d9
--- /dev/null
+++ b/meta/recipes-core/busybox/busybox/sha1sum.cfg
@@ -0,0 +1 @@
+CONFIG_SHA1SUM=y
diff --git a/meta/recipes-core/busybox/busybox/sha256sum.cfg b/meta/recipes-core/busybox/busybox/sha256sum.cfg
new file mode 100644
index 0000000..ce652ae
--- /dev/null
+++ b/meta/recipes-core/busybox/busybox/sha256sum.cfg
@@ -0,0 +1 @@
+CONFIG_SHA256SUM=y
diff --git a/meta/recipes-core/busybox/busybox_1.23.2.bb b/meta/recipes-core/busybox/busybox_1.23.2.bb
index b84f499..8a4bae6 100644
--- a/meta/recipes-core/busybox/busybox_1.23.2.bb
+++ b/meta/recipes-core/busybox/busybox_1.23.2.bb
@@ -33,6 +33,8 @@ SRC_URI = "http://www.busybox.net/downloads/busybox-${PV}.tar.bz2;name=tarball \
file://0001-ifconfig-fix-double-free-fatal-error-in-INET_sprint.patch \
file://0001-chown-fix-help-text.patch \
file://mount-via-label.cfg \
+ file://sha1sum.cfg \
+ file://sha256sum.cfg \
"
SRC_URI[tarball.md5sum] = "7925683d7dd105aabe9b6b618d48cc73"
diff --git a/meta/recipes-core/busybox/busybox_git.bb b/meta/recipes-core/busybox/busybox_git.bb
index 71e6c13..ade72f4 100644
--- a/meta/recipes-core/busybox/busybox_git.bb
+++ b/meta/recipes-core/busybox/busybox_git.bb
@@ -39,6 +39,8 @@ SRC_URI = "git://busybox.net/busybox.git \
file://0001-ifconfig-fix-double-free-fatal-error-in-INET_sprint.patch \
file://0001-chown-fix-help-text.patch \
file://mount-via-label.cfg \
+ file://sha1sum.cfg \
+ file://sha256sum.cfg \
"
EXTRA_OEMAKE += "V=1 ARCH=${TARGET_ARCH} CROSS_COMPILE=${TARGET_PREFIX} SKIP_STRIP=y"
--
1.9.1
More information about the Openembedded-core
mailing list