summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Jansa <martin.jansa@gmail.com>2019-06-11 07:07:55 +0000
committerRoss Burton <ross.burton@intel.com>2019-06-21 14:48:11 +0100
commit43668442f8ee8e7ceaad1e672a8032b651d9d2a9 (patch)
tree25c78aae1fdd8024b601a74b76f37ff7dab06fec
parent168a5070bdf3bc45edb5bf2a1add9b7c081f5b64 (diff)
downloadmeta-gplv2-43668442f8ee8e7ceaad1e672a8032b651d9d2a9.tar.gz
bc: use u-a for bc as well
* bc can be provided by busybox as well (e.g. if you have your own defconfig and forget to explicitly disable it: ... * * Miscellaneous Utilities * adjtimex (4.7 kb) (ADJTIMEX) [N/y/?] n bbconfig (9.7 kb) (BBCONFIG) [N/y/?] n bc (45 kb) (BC) [Y/n/?] (NEW) dc (36 kb) (DC) [Y/n/?] y Use bc code base for dc (larger, more features) (FEATURE_DC_BIG) [Y] (NEW) y Interactive mode (+4kb) (FEATURE_BC_INTERACTIVE) [Y/n/?] (NEW) Enable bc/dc long options (FEATURE_BC_LONG_OPTIONS) [Y/n] (NEW) beep (2.4 kb) (BEEP) [N/y/?] n chat (6.3 kb) (CHAT) [N/y/?] n conspy (10 kb) (CONSPY) [N/y/?] n ... ), causing conflict in u-a: update-alternatives: Error: not linking /usr/bin/bc to /bin/busybox.nosuid since /usr/bin/bc exists and is not a link and then whole do_rootfs or do_populate_sdk to fail because busybox postinst is failing: do_populate_sdk: Postinstall scriptlets of ['busybox'] have failed. If the intention is to defer them to first boot, then please place them into pkg_postinst_ontarget_${PN} (). Deferring to first boot via 'exit 1' is no longer supported. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
-rw-r--r--recipes-extended/bc/bc_1.06.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-extended/bc/bc_1.06.bb b/recipes-extended/bc/bc_1.06.bb
index d8c8a86..3de1b24 100644
--- a/recipes-extended/bc/bc_1.06.bb
+++ b/recipes-extended/bc/bc_1.06.bb
@@ -20,7 +20,7 @@ SRC_URI[sha256sum] = "4ef6d9f17c3c0d92d8798e35666175ecd3d8efac4009d6457b5c99cea7
20 20
21inherit autotools texinfo update-alternatives 21inherit autotools texinfo update-alternatives
22 22
23ALTERNATIVE_${PN} = "dc" 23ALTERNATIVE_${PN} = "bc dc"
24ALTERNATIVE_PRIORITY = "100" 24ALTERNATIVE_PRIORITY = "100"
25 25
26BBCLASSEXTEND = "native" 26BBCLASSEXTEND = "native"