diff options
| -rw-r--r-- | meta-oe/recipes-core/toybox/toybox/0001-Match-paths-with-busybox.patch | 44 | ||||
| -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 2213559438..e071f22b16 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 @@ | |||
| 1 | From cbd9ac1d0769338411297d2cb97f1608c17c8ae9 Mon Sep 17 00:00:00 2001 | 1 | From 27f5ca9f1e212e5ab00cde0bfc91282fc7ff5e16 Mon Sep 17 00:00:00 2001 |
| 2 | From: Paul Barker <paul@paulbarker.me.uk> | 2 | From: Paul Barker <paul@paulbarker.me.uk> |
| 3 | Date: Mon, 18 Aug 2014 12:18:16 +0000 | 3 | Date: Mon, 18 Aug 2014 12:18:16 +0000 |
| 4 | Subject: [PATCH] Match paths with busybox | 4 | Subject: [PATCH] Match paths with busybox |
| @@ -8,11 +8,16 @@ update-alternatives, the paths of the links installed by toybox should match | |||
| 8 | those installed by busybox. This is accomplished by changing the flags of a few | 8 | those installed by busybox. This is accomplished by changing the flags of a few |
| 9 | tools within toybox. | 9 | tools within toybox. |
| 10 | 10 | ||
| 11 | v2: | ||
| 12 | - Forward ported from v0.4.9 to v0.5.0 | ||
| 13 | - Move new 'mount' command | ||
| 14 | |||
| 11 | Signed-off-by: Paul Barker <paul@paulbarker.me.uk> | 15 | Signed-off-by: Paul Barker <paul@paulbarker.me.uk> |
| 12 | 16 | ||
| 13 | Upstream-status: Inappropriate | 17 | Upstream-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 | ||
| 47 | diff --git a/toys/lsb/mount.c b/toys/lsb/mount.c | ||
| 48 | index 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 | ||
| 42 | diff --git a/toys/lsb/pidof.c b/toys/lsb/pidof.c | 60 | diff --git a/toys/lsb/pidof.c b/toys/lsb/pidof.c |
| 43 | index 51b742f..a8fc8ef 100644 | 61 | index 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" |
| 68 | diff --git a/toys/other/ifconfig.c b/toys/other/ifconfig.c | 86 | diff --git a/toys/other/ifconfig.c b/toys/other/ifconfig.c |
| 69 | index a84e26a..66c7179 100644 | 87 | index 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" |
| 228 | diff --git a/toys/posix/cut.c b/toys/posix/cut.c | 246 | diff --git a/toys/posix/cut.c b/toys/posix/cut.c |
| 229 | index 38f136e..87a1f0d 100644 | 247 | index 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" |
| 267 | diff --git a/toys/posix/id.c b/toys/posix/id.c | 285 | diff --git a/toys/posix/id.c b/toys/posix/id.c |
| 268 | index a03a097..cfe0b59 100644 | 286 | index 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" |
| 337 | diff --git a/toys/posix/uniq.c b/toys/posix/uniq.c | 355 | diff --git a/toys/posix/uniq.c b/toys/posix/uniq.c |
| 338 | index bd41d4a..374ceab 100644 | 356 | index 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 | -- |
| 364 | 2.0.4 | 382 | 2.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 ec76bd61a1..9bdba4da5c 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 | ||
| 4 | SRC_URI = "http://www.landley.net/toybox/downloads/${BPN}-${PV}.tar.bz2 \ | 4 | SRC_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" |
| 6 | SRC_URI[md5sum] = "a8f1022175689defec51cf5a71c41326" | 6 | SRC_URI[md5sum] = "2cb6e8b34134038d86048e117f77765f" |
| 7 | SRC_URI[sha256sum] = "e6dc9052826a3bdae1923e3301c9e3542e890af5ed66534052943f8412255bff" | 7 | SRC_URI[sha256sum] = "2718b42154be041435df48d5b5140f4e307767c36b1017e0c8d0da7f75b327a7" |
| 8 | 8 | ||
| 9 | LICENSE = "BSD-0-Clause" | 9 | LICENSE = "BSD-0-Clause" |
| 10 | LIC_FILES_CHKSUM = "file://LICENSE;md5=57cc240a6204b2ea8c68450d42f9d33f" | 10 | LIC_FILES_CHKSUM = "file://LICENSE;md5=f0b8b3dd6431bcaa245da0a08bd0d511" |
| 11 | 11 | ||
| 12 | SECTION = "base" | 12 | SECTION = "base" |
| 13 | 13 | ||
