summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-core
diff options
context:
space:
mode:
authorPaul Barker <paul@paulbarker.me.uk>2014-10-21 14:01:03 +0000
committerMartin Jansa <Martin.Jansa@gmail.com>2014-10-27 12:51:50 +0100
commitae867dc3ecd67cddc4b4cad1240d37d8187c3690 (patch)
tree0a35c509313d413ded9bdb2bf77c49e53839d99c /meta-oe/recipes-core
parent28161830f3be32630c648c456b09597916544a57 (diff)
downloadmeta-openembedded-ae867dc3ecd67cddc4b4cad1240d37d8187c3690.tar.gz
toybox: Upgrade to v0.5.0
The patch applied to toybox is rebased onto the new release and updated. Signed-off-by: Paul Barker <paul@paulbarker.me.uk> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-core')
-rw-r--r--meta-oe/recipes-core/toybox/toybox/0001-Match-paths-with-busybox.patch44
-rw-r--r--meta-oe/recipes-core/toybox/toybox_0.5.0.bb (renamed from meta-oe/recipes-core/toybox/toybox_0.4.9.bb)6
2 files changed, 34 insertions, 16 deletions
diff --git a/meta-oe/recipes-core/toybox/toybox/0001-Match-paths-with-busybox.patch b/meta-oe/recipes-core/toybox/toybox/0001-Match-paths-with-busybox.patch
index 221355943..e071f22b1 100644
--- a/meta-oe/recipes-core/toybox/toybox/0001-Match-paths-with-busybox.patch
+++ b/meta-oe/recipes-core/toybox/toybox/0001-Match-paths-with-busybox.patch
@@ -1,4 +1,4 @@
1From cbd9ac1d0769338411297d2cb97f1608c17c8ae9 Mon Sep 17 00:00:00 2001 1From 27f5ca9f1e212e5ab00cde0bfc91282fc7ff5e16 Mon Sep 17 00:00:00 2001
2From: Paul Barker <paul@paulbarker.me.uk> 2From: Paul Barker <paul@paulbarker.me.uk>
3Date: Mon, 18 Aug 2014 12:18:16 +0000 3Date: Mon, 18 Aug 2014 12:18:16 +0000
4Subject: [PATCH] Match paths with busybox 4Subject: [PATCH] Match paths with busybox
@@ -8,11 +8,16 @@ update-alternatives, the paths of the links installed by toybox should match
8those installed by busybox. This is accomplished by changing the flags of a few 8those installed by busybox. This is accomplished by changing the flags of a few
9tools within toybox. 9tools within toybox.
10 10
11v2:
12 - Forward ported from v0.4.9 to v0.5.0
13 - Move new 'mount' command
14
11Signed-off-by: Paul Barker <paul@paulbarker.me.uk> 15Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
12 16
13Upstream-status: Inappropriate 17Upstream-status: Inappropriate
14 (specific to update-alternatives use in OpenEmbedded) 18 (specific to update-alternatives use in OpenEmbedded)
15--- 19---
20 toys/lsb/mount.c | 2 +-
16 toys/lsb/pidof.c | 2 +- 21 toys/lsb/pidof.c | 2 +-
17 toys/other/chvt.c | 2 +- 22 toys/other/chvt.c | 2 +-
18 toys/other/ifconfig.c | 2 +- 23 toys/other/ifconfig.c | 2 +-
@@ -37,8 +42,21 @@ Upstream-status: Inappropriate
37 toys/posix/tee.c | 2 +- 42 toys/posix/tee.c | 2 +-
38 toys/posix/uniq.c | 2 +- 43 toys/posix/uniq.c | 2 +-
39 toys/posix/who.c | 2 +- 44 toys/posix/who.c | 2 +-
40 24 files changed, 28 insertions(+), 28 deletions(-) 45 25 files changed, 29 insertions(+), 29 deletions(-)
41 46
47diff --git a/toys/lsb/mount.c b/toys/lsb/mount.c
48index 01f5c32..65a5aa2 100644
49--- a/toys/lsb/mount.c
50+++ b/toys/lsb/mount.c
51@@ -6,7 +6,7 @@
52 * Note: -hV is bad spec, haven't implemented -FsLU yet
53 * no mtab (/proc/mounts does it) so -n is NOP.
54
55-USE_MOUNT(NEWTOY(mount, "?O:afnrvwt:o*[-rw]", TOYFLAG_USR|TOYFLAG_BIN|TOYFLAG_STAYROOT))
56+USE_MOUNT(NEWTOY(mount, "?O:afnrvwt:o*[-rw]", TOYFLAG_BIN|TOYFLAG_STAYROOT))
57 USE_NFSMOUNT(NEWTOY(nfsmount, "?<2>2", TOYFLAG_USR|TOYFLAG_BIN|TOYFLAG_STAYROOT))
58
59 config MOUNT
42diff --git a/toys/lsb/pidof.c b/toys/lsb/pidof.c 60diff --git a/toys/lsb/pidof.c b/toys/lsb/pidof.c
43index 51b742f..a8fc8ef 100644 61index 51b742f..a8fc8ef 100644
44--- a/toys/lsb/pidof.c 62--- a/toys/lsb/pidof.c
@@ -66,7 +84,7 @@ index 6544265..a93327f 100644
66 config CHVT 84 config CHVT
67 bool "chvt" 85 bool "chvt"
68diff --git a/toys/other/ifconfig.c b/toys/other/ifconfig.c 86diff --git a/toys/other/ifconfig.c b/toys/other/ifconfig.c
69index a84e26a..66c7179 100644 87index f5d4215..5e7c54c 100644
70--- a/toys/other/ifconfig.c 88--- a/toys/other/ifconfig.c
71+++ b/toys/other/ifconfig.c 89+++ b/toys/other/ifconfig.c
72@@ -6,7 +6,7 @@ 90@@ -6,7 +6,7 @@
@@ -226,10 +244,10 @@ index 8e57ca1..0c6c640 100644
226 config SYSCTL 244 config SYSCTL
227 bool "sysctl" 245 bool "sysctl"
228diff --git a/toys/posix/cut.c b/toys/posix/cut.c 246diff --git a/toys/posix/cut.c b/toys/posix/cut.c
229index 38f136e..87a1f0d 100644 247index 7f10c5e..1ab3ce8 100644
230--- a/toys/posix/cut.c 248--- a/toys/posix/cut.c
231+++ b/toys/posix/cut.c 249+++ b/toys/posix/cut.c
232@@ -4,7 +4,7 @@ 250@@ -5,7 +5,7 @@
233 * 251 *
234 * http://pubs.opengroup.org/onlinepubs/9699919799/utilities/cut.html 252 * http://pubs.opengroup.org/onlinepubs/9699919799/utilities/cut.html
235 253
@@ -265,7 +283,7 @@ index e8517d4..3ac4373 100644
265 config HEAD 283 config HEAD
266 bool "head" 284 bool "head"
267diff --git a/toys/posix/id.c b/toys/posix/id.c 285diff --git a/toys/posix/id.c b/toys/posix/id.c
268index a03a097..cfe0b59 100644 286index b4d9c00..df79419 100644
269--- a/toys/posix/id.c 287--- a/toys/posix/id.c
270+++ b/toys/posix/id.c 288+++ b/toys/posix/id.c
271@@ -6,10 +6,10 @@ 289@@ -6,10 +6,10 @@
@@ -274,11 +292,11 @@ index a03a097..cfe0b59 100644
274 292
275-USE_ID(NEWTOY(id, ">1nGgru[!Ggu]", TOYFLAG_BIN)) 293-USE_ID(NEWTOY(id, ">1nGgru[!Ggu]", TOYFLAG_BIN))
276+USE_ID(NEWTOY(id, ">1nGgru[!Ggu]", TOYFLAG_USR|TOYFLAG_BIN)) 294+USE_ID(NEWTOY(id, ">1nGgru[!Ggu]", TOYFLAG_USR|TOYFLAG_BIN))
277 USE_ID_GROUPS(OLDTOY(groups, id, NULL, TOYFLAG_USR|TOYFLAG_BIN)) 295 USE_GROUPS(OLDTOY(groups, id, NULL, TOYFLAG_USR|TOYFLAG_BIN))
278-USE_ID_LOGNAME(OLDTOY(logname, id, ">0", TOYFLAG_BIN)) 296-USE_LOGNAME(OLDTOY(logname, id, ">0", TOYFLAG_BIN))
279-USE_ID_LOGNAME(OLDTOY(whoami, id, ">0", TOYFLAG_BIN)) 297-USE_LOGNAME(OLDTOY(whoami, id, ">0", TOYFLAG_BIN))
280+USE_ID_LOGNAME(OLDTOY(logname, id, ">0", TOYFLAG_USR|TOYFLAG_BIN)) 298+USE_LOGNAME(OLDTOY(logname, id, ">0", TOYFLAG_USR|TOYFLAG_BIN))
281+USE_ID_LOGNAME(OLDTOY(whoami, id, ">0", TOYFLAG_USR|TOYFLAG_BIN)) 299+USE_LOGNAME(OLDTOY(whoami, id, ">0", TOYFLAG_USR|TOYFLAG_BIN))
282 300
283 config ID 301 config ID
284 bool "id" 302 bool "id"
@@ -335,7 +353,7 @@ index 0388510..5574088 100644
335 config TEE 353 config TEE
336 bool "tee" 354 bool "tee"
337diff --git a/toys/posix/uniq.c b/toys/posix/uniq.c 355diff --git a/toys/posix/uniq.c b/toys/posix/uniq.c
338index bd41d4a..374ceab 100644 356index 3cfdb94..c127cfe 100644
339--- a/toys/posix/uniq.c 357--- a/toys/posix/uniq.c
340+++ b/toys/posix/uniq.c 358+++ b/toys/posix/uniq.c
341@@ -4,7 +4,7 @@ 359@@ -4,7 +4,7 @@
@@ -361,5 +379,5 @@ index 2c8a2e6..d5cd001 100644
361 config WHO 379 config WHO
362 bool "who" 380 bool "who"
363-- 381--
3642.0.4 3822.1.2
365 383
diff --git a/meta-oe/recipes-core/toybox/toybox_0.4.9.bb b/meta-oe/recipes-core/toybox/toybox_0.5.0.bb
index ec76bd61a..9bdba4da5 100644
--- a/meta-oe/recipes-core/toybox/toybox_0.4.9.bb
+++ b/meta-oe/recipes-core/toybox/toybox_0.5.0.bb
@@ -3,11 +3,11 @@ HOMEPAGE = "http://www.landley.net/toybox/"
3 3
4SRC_URI = "http://www.landley.net/toybox/downloads/${BPN}-${PV}.tar.bz2 \ 4SRC_URI = "http://www.landley.net/toybox/downloads/${BPN}-${PV}.tar.bz2 \
5 file://0001-Match-paths-with-busybox.patch" 5 file://0001-Match-paths-with-busybox.patch"
6SRC_URI[md5sum] = "a8f1022175689defec51cf5a71c41326" 6SRC_URI[md5sum] = "2cb6e8b34134038d86048e117f77765f"
7SRC_URI[sha256sum] = "e6dc9052826a3bdae1923e3301c9e3542e890af5ed66534052943f8412255bff" 7SRC_URI[sha256sum] = "2718b42154be041435df48d5b5140f4e307767c36b1017e0c8d0da7f75b327a7"
8 8
9LICENSE = "BSD-0-Clause" 9LICENSE = "BSD-0-Clause"
10LIC_FILES_CHKSUM = "file://LICENSE;md5=57cc240a6204b2ea8c68450d42f9d33f" 10LIC_FILES_CHKSUM = "file://LICENSE;md5=f0b8b3dd6431bcaa245da0a08bd0d511"
11 11
12SECTION = "base" 12SECTION = "base"
13 13