diff options
author | Denys Dmytriyenko <denys@ti.com> | 2012-03-28 19:52:50 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-03-29 22:57:30 +0100 |
commit | 1fd8c6fe08d9c00db901b7b849d5e650435a6743 (patch) | |
tree | 4408ec787545e589cffee6de246d8d3823a98f77 /meta | |
parent | dd4d49b20f3c690d7bff2347e176e7acf6ffc787 (diff) | |
download | poky-1fd8c6fe08d9c00db901b7b849d5e650435a6743.tar.gz |
bc: use update-alternatives to make dc play nice with busybox
busybox' default configuration enables dc app, which bc also provides,
setup update-alternatives to resolve the conflict.
(From OE-Core rev: f8456e7a0fd8559497db8292c87fee4fd95eb9c6)
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-extended/bc/bc_1.06.bb | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/meta/recipes-extended/bc/bc_1.06.bb b/meta/recipes-extended/bc/bc_1.06.bb index 02915e18bf..283e2d8797 100644 --- a/meta/recipes-extended/bc/bc_1.06.bb +++ b/meta/recipes-extended/bc/bc_1.06.bb | |||
@@ -11,11 +11,14 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ | |||
11 | 11 | ||
12 | SECTION = "base" | 12 | SECTION = "base" |
13 | DEPENDS = "flex" | 13 | DEPENDS = "flex" |
14 | PR = "r0" | 14 | PR = "r1" |
15 | 15 | ||
16 | SRC_URI = "${GNU_MIRROR}/bc/bc-${PV}.tar.gz" | 16 | SRC_URI = "${GNU_MIRROR}/bc/bc-${PV}.tar.gz" |
17 | 17 | ||
18 | SRC_URI[md5sum] = "d44b5dddebd8a7a7309aea6c36fda117" | 18 | SRC_URI[md5sum] = "d44b5dddebd8a7a7309aea6c36fda117" |
19 | SRC_URI[sha256sum] = "4ef6d9f17c3c0d92d8798e35666175ecd3d8efac4009d6457b5c99cea72c0e33" | 19 | SRC_URI[sha256sum] = "4ef6d9f17c3c0d92d8798e35666175ecd3d8efac4009d6457b5c99cea72c0e33" |
20 | 20 | ||
21 | inherit autotools | 21 | inherit autotools update-alternatives |
22 | |||
23 | ALTERNATIVE_LINKS = "${bindir}/dc" | ||
24 | ALTERNATIVE_PRIORITY = "100" | ||