[oe-commits] Khem Raj : busybox: Enable getopt applet
git at git.openembedded.org
git at git.openembedded.org
Wed Sep 9 13:53:08 UTC 2015
Module: openembedded-core.git
Branch: master
Commit: 10c2c484d5916ad476ad7717c3629f6684f01e6d
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=10c2c484d5916ad476ad7717c3629f6684f01e6d
Author: Khem Raj <raj.khem at gmail.com>
Date: Sun Sep 6 15:25:38 2015 +0000
busybox: Enable getopt applet
getopts is a common applet more so now needed by systemd for working
with sysv scripts
Signed-off-by: Khem Raj <raj.khem at gmail.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/recipes-core/busybox/busybox/getopts.cfg | 3 +++
meta/recipes-core/busybox/busybox_1.23.2.bb | 1 +
2 files changed, 4 insertions(+)
diff --git a/meta/recipes-core/busybox/busybox/getopts.cfg b/meta/recipes-core/busybox/busybox/getopts.cfg
new file mode 100644
index 0000000..8db0a4a
--- /dev/null
+++ b/meta/recipes-core/busybox/busybox/getopts.cfg
@@ -0,0 +1,3 @@
+CONFIG_GETOPT=y
+CONFIG_LONG_OPTS=y
+CONFIG_FEATURE_GETOPT_LONG=y
diff --git a/meta/recipes-core/busybox/busybox_1.23.2.bb b/meta/recipes-core/busybox/busybox_1.23.2.bb
index 8a4bae6..e4d9f97 100644
--- a/meta/recipes-core/busybox/busybox_1.23.2.bb
+++ b/meta/recipes-core/busybox/busybox_1.23.2.bb
@@ -35,6 +35,7 @@ SRC_URI = "http://www.busybox.net/downloads/busybox-${PV}.tar.bz2;name=tarball \
file://mount-via-label.cfg \
file://sha1sum.cfg \
file://sha256sum.cfg \
+ file://getopts.cfg \
"
SRC_URI[tarball.md5sum] = "7925683d7dd105aabe9b6b618d48cc73"
More information about the Openembedded-commits
mailing list