summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChen Qi <Qi.Chen@windriver.com>2013-11-29 20:15:45 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-11-29 16:27:03 +0000
commitd290bbe6d9826fbcfa2e0a7624886284697ed7eb (patch)
tree4ff438f7617ff581d7e6d1629becb9146b614e85
parente2b62393497a0aaffb21161336a42249db61a10d (diff)
downloadopenembedded-core-d290bbe6d9826fbcfa2e0a7624886284697ed7eb.tar.gz
openembedded-core-d290bbe6d9826fbcfa2e0a7624886284697ed7eb.tar.bz2
openembedded-core-d290bbe6d9826fbcfa2e0a7624886284697ed7eb.zip
busybox: add busybox_git.bb recipe
Add busybox_git.bb recipe so that it would be easier to hack with busybox. Set DEFAULT_PREFERENCE to "-1" in the git recipe so that we still use the busybox_1.21.1.bb recipe by default. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-core/busybox/busybox/busybox-appletlib-dependency.patch (renamed from meta/recipes-core/busybox/busybox-1.21.1/busybox-appletlib-dependency.patch)0
-rw-r--r--meta/recipes-core/busybox/busybox/busybox-list-suid-and-non-suid-app-configs.patch (renamed from meta/recipes-core/busybox/busybox-1.21.1/busybox-list-suid-and-non-suid-app-configs.patch)0
-rw-r--r--meta/recipes-core/busybox/busybox/busybox-sed-fix-sed-clusternewline-testcase.patch (renamed from meta/recipes-core/busybox/busybox-1.21.1/busybox-sed-fix-sed-clusternewline-testcase.patch)0
-rw-r--r--meta/recipes-core/busybox/busybox/busybox-sulogin-empty-root-password.patch (renamed from meta/recipes-core/busybox/busybox-1.21.1/busybox-sulogin-empty-root-password.patch)0
-rw-r--r--meta/recipes-core/busybox/busybox/busybox-udhcpc-no_deconfig.patch (renamed from meta/recipes-core/busybox/busybox-1.21.1/busybox-udhcpc-no_deconfig.patch)0
-rw-r--r--meta/recipes-core/busybox/busybox/defconfig (renamed from meta/recipes-core/busybox/busybox-1.21.1/defconfig)0
-rw-r--r--meta/recipes-core/busybox/busybox/fail_on_no_media.patch (renamed from meta/recipes-core/busybox/busybox-1.21.1/fail_on_no_media.patch)0
-rw-r--r--meta/recipes-core/busybox/busybox/get_header_tar.patch (renamed from meta/recipes-core/busybox/busybox-1.21.1/get_header_tar.patch)0
-rw-r--r--meta/recipes-core/busybox/busybox/login-utilities.cfg (renamed from meta/recipes-core/busybox/busybox-1.21.1/login-utilities.cfg)0
-rw-r--r--meta/recipes-core/busybox/busybox/run-parts.in.usr-bin.patch (renamed from meta/recipes-core/busybox/busybox-1.21.1/run-parts.in.usr-bin.patch)0
-rw-r--r--meta/recipes-core/busybox/busybox/stat-usr-bin.patch (renamed from meta/recipes-core/busybox/busybox-1.21.1/stat-usr-bin.patch)0
-rw-r--r--meta/recipes-core/busybox/busybox/testsuite-du-du-k-works-fix-false-positive.patch (renamed from meta/recipes-core/busybox/busybox-1.21.1/testsuite-du-du-k-works-fix-false-positive.patch)0
-rw-r--r--meta/recipes-core/busybox/busybox/watch.in.usr-bin.patch (renamed from meta/recipes-core/busybox/busybox-1.21.1/watch.in.usr-bin.patch)0
-rw-r--r--meta/recipes-core/busybox/busybox_git.bb53
14 files changed, 53 insertions, 0 deletions
diff --git a/meta/recipes-core/busybox/busybox-1.21.1/busybox-appletlib-dependency.patch b/meta/recipes-core/busybox/busybox/busybox-appletlib-dependency.patch
index de2dbcceb1..de2dbcceb1 100644
--- a/meta/recipes-core/busybox/busybox-1.21.1/busybox-appletlib-dependency.patch
+++ b/meta/recipes-core/busybox/busybox/busybox-appletlib-dependency.patch
diff --git a/meta/recipes-core/busybox/busybox-1.21.1/busybox-list-suid-and-non-suid-app-configs.patch b/meta/recipes-core/busybox/busybox/busybox-list-suid-and-non-suid-app-configs.patch
index 753a044481..753a044481 100644
--- a/meta/recipes-core/busybox/busybox-1.21.1/busybox-list-suid-and-non-suid-app-configs.patch
+++ b/meta/recipes-core/busybox/busybox/busybox-list-suid-and-non-suid-app-configs.patch
diff --git a/meta/recipes-core/busybox/busybox-1.21.1/busybox-sed-fix-sed-clusternewline-testcase.patch b/meta/recipes-core/busybox/busybox/busybox-sed-fix-sed-clusternewline-testcase.patch
index 1894037422..1894037422 100644
--- a/meta/recipes-core/busybox/busybox-1.21.1/busybox-sed-fix-sed-clusternewline-testcase.patch
+++ b/meta/recipes-core/busybox/busybox/busybox-sed-fix-sed-clusternewline-testcase.patch
diff --git a/meta/recipes-core/busybox/busybox-1.21.1/busybox-sulogin-empty-root-password.patch b/meta/recipes-core/busybox/busybox/busybox-sulogin-empty-root-password.patch
index baad298a3f..baad298a3f 100644
--- a/meta/recipes-core/busybox/busybox-1.21.1/busybox-sulogin-empty-root-password.patch
+++ b/meta/recipes-core/busybox/busybox/busybox-sulogin-empty-root-password.patch
diff --git a/meta/recipes-core/busybox/busybox-1.21.1/busybox-udhcpc-no_deconfig.patch b/meta/recipes-core/busybox/busybox/busybox-udhcpc-no_deconfig.patch
index 4c9ce3b711..4c9ce3b711 100644
--- a/meta/recipes-core/busybox/busybox-1.21.1/busybox-udhcpc-no_deconfig.patch
+++ b/meta/recipes-core/busybox/busybox/busybox-udhcpc-no_deconfig.patch
diff --git a/meta/recipes-core/busybox/busybox-1.21.1/defconfig b/meta/recipes-core/busybox/busybox/defconfig
index f0e63c2a1f..f0e63c2a1f 100644
--- a/meta/recipes-core/busybox/busybox-1.21.1/defconfig
+++ b/meta/recipes-core/busybox/busybox/defconfig
diff --git a/meta/recipes-core/busybox/busybox-1.21.1/fail_on_no_media.patch b/meta/recipes-core/busybox/busybox/fail_on_no_media.patch
index 6745f169fe..6745f169fe 100644
--- a/meta/recipes-core/busybox/busybox-1.21.1/fail_on_no_media.patch
+++ b/meta/recipes-core/busybox/busybox/fail_on_no_media.patch
diff --git a/meta/recipes-core/busybox/busybox-1.21.1/get_header_tar.patch b/meta/recipes-core/busybox/busybox/get_header_tar.patch
index 0e528ff91f..0e528ff91f 100644
--- a/meta/recipes-core/busybox/busybox-1.21.1/get_header_tar.patch
+++ b/meta/recipes-core/busybox/busybox/get_header_tar.patch
diff --git a/meta/recipes-core/busybox/busybox-1.21.1/login-utilities.cfg b/meta/recipes-core/busybox/busybox/login-utilities.cfg
index cc9b2db502..cc9b2db502 100644
--- a/meta/recipes-core/busybox/busybox-1.21.1/login-utilities.cfg
+++ b/meta/recipes-core/busybox/busybox/login-utilities.cfg
diff --git a/meta/recipes-core/busybox/busybox-1.21.1/run-parts.in.usr-bin.patch b/meta/recipes-core/busybox/busybox/run-parts.in.usr-bin.patch
index 45f69a937c..45f69a937c 100644
--- a/meta/recipes-core/busybox/busybox-1.21.1/run-parts.in.usr-bin.patch
+++ b/meta/recipes-core/busybox/busybox/run-parts.in.usr-bin.patch
diff --git a/meta/recipes-core/busybox/busybox-1.21.1/stat-usr-bin.patch b/meta/recipes-core/busybox/busybox/stat-usr-bin.patch
index 4049324e8b..4049324e8b 100644
--- a/meta/recipes-core/busybox/busybox-1.21.1/stat-usr-bin.patch
+++ b/meta/recipes-core/busybox/busybox/stat-usr-bin.patch
diff --git a/meta/recipes-core/busybox/busybox-1.21.1/testsuite-du-du-k-works-fix-false-positive.patch b/meta/recipes-core/busybox/busybox/testsuite-du-du-k-works-fix-false-positive.patch
index 070c41be07..070c41be07 100644
--- a/meta/recipes-core/busybox/busybox-1.21.1/testsuite-du-du-k-works-fix-false-positive.patch
+++ b/meta/recipes-core/busybox/busybox/testsuite-du-du-k-works-fix-false-positive.patch
diff --git a/meta/recipes-core/busybox/busybox-1.21.1/watch.in.usr-bin.patch b/meta/recipes-core/busybox/busybox/watch.in.usr-bin.patch
index e8e1edfb7e..e8e1edfb7e 100644
--- a/meta/recipes-core/busybox/busybox-1.21.1/watch.in.usr-bin.patch
+++ b/meta/recipes-core/busybox/busybox/watch.in.usr-bin.patch
diff --git a/meta/recipes-core/busybox/busybox_git.bb b/meta/recipes-core/busybox/busybox_git.bb
new file mode 100644
index 0000000000..91ecff8212
--- /dev/null
+++ b/meta/recipes-core/busybox/busybox_git.bb
@@ -0,0 +1,53 @@
+require busybox.inc
+
+SRCREV = "e73f3c1d3d83699b723251f7e6a981021ce75475"
+# Lookout for PV bump too when SRCREV is changed
+PV = "1.21.1+git${SRCPV}"
+
+S = "${WORKDIR}/git"
+
+SRC_URI = "git://busybox.net/busybox.git \
+ file://get_header_tar.patch \
+ file://busybox-appletlib-dependency.patch \
+ file://run-parts.in.usr-bin.patch \
+ file://watch.in.usr-bin.patch \
+ file://busybox-udhcpc-no_deconfig.patch \
+ file://find-touchscreen.sh \
+ file://busybox-cron \
+ file://busybox-httpd \
+ file://busybox-udhcpd \
+ file://default.script \
+ file://simple.script \
+ file://hwclock.sh \
+ file://mount.busybox \
+ file://syslog \
+ file://syslog-startup.conf \
+ file://syslog.conf \
+ file://busybox-syslog.default \
+ file://mdev \
+ file://mdev.conf \
+ file://umount.busybox \
+ file://defconfig \
+ file://stat-usr-bin.patch \
+ file://busybox-syslog.service.in \
+ file://busybox-klogd.service.in \
+ file://testsuite-du-du-k-works-fix-false-positive.patch \
+ file://fail_on_no_media.patch \
+ file://busybox-sulogin-empty-root-password.patch \
+ file://run-ptest \
+ file://inetd.conf \
+ file://inetd \
+ file://login-utilities.cfg \
+ file://busybox-list-suid-and-non-suid-app-configs.patch \
+ file://busybox-sed-fix-sed-clusternewline-testcase.patch \
+"
+
+EXTRA_OEMAKE += "V=1 ARCH=${TARGET_ARCH} CROSS_COMPILE=${TARGET_PREFIX} SKIP_STRIP=y"
+
+do_install_ptest () {
+ cp -r ${B}/testsuite ${D}${PTEST_PATH}/
+ cp ${B}/.config ${D}${PTEST_PATH}/
+ ln -s /bin/busybox ${D}${PTEST_PATH}/busybox
+}
+
+DEFAULT_PREFERENCE = "-1"