Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id E11B4E00DD3; Wed, 22 May 2019 16:39:28 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider * (martin.jansa[at]gmail.com) * -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no * trust * [209.85.128.45 listed in list.dnswl.org] * -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's * domain * -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature * 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily * valid Received: from mail-wm1-f45.google.com (mail-wm1-f45.google.com [209.85.128.45]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 44E8DE00DD3 for ; Wed, 22 May 2019 16:39:28 -0700 (PDT) Received: by mail-wm1-f45.google.com with SMTP id q15so3901417wmj.0 for ; Wed, 22 May 2019 16:39:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=hhxb3yg3CDVZe+qtmrsxzVrtwy25aIRpuSiPIspni6Y=; b=O/urEPTnwc3DqAIJUOWt6ikKNa/mfoELFrfy6d6X59xlSto1X5r4is16Qhaax4PWpt kFWM54GVpD6pFOPwvGs8YXajlfPARFGSwj3H8kK0LVm2wt1penXvQwJ32pDI4sKzIptZ VQgqNBgUjRl4EtjZMz+U7eGRFlj2ytIvi1FRmNJk4eGIMs+R/o9HeMix15CEp+DhFMJt h1sRj6zpGf1WyvTnY4DIfNtS1+UdqUQkTOICq7DATJUDwWgAgQxU4T41wiIrVoo4STBj qdy9/bWtDs3Zzg5x2T5PVYF8dPuSwCt0m4JfsTgJjOXG5Bakp67mKi4+Qwq1SxqJOVWy KkeQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=hhxb3yg3CDVZe+qtmrsxzVrtwy25aIRpuSiPIspni6Y=; b=d3GwJPlzJ5gGsZ9wH82pH31x1/60rLAhlbKEszuXORi7V2MKK9qZH1GdVE29IPPaic QGWYYz22GyyUzbPsvZubd7bVN6KlWyMt4AILxCuWqhL2kw+UE8dFQyasJVyXED1YtCmG yJg+89Oe8+NnRvIPkgSdhXx6QvWL/AIrWmXpTC+NOwjDZFdahaNtVkdldBI+j6tEhJJK HG3aLdxbTK+CHPuRA2spKv+AQ90wfFnR0X6EuYJi2RpBi/pKHGl4AMWpkWLgyuzlEvd/ LWZywHc/CeND2ZRD37InQMOyedaGvyvRRg/rRIhx87WMJDDqLOpITfVDHmxO2nSQStJx JiiQ== X-Gm-Message-State: APjAAAW5JOktLNe7I+Tbk4M/sBDNSOqE9WN1u2HAjzO8hoMZW5kDl57l V+beLOQN+l2fXFjNCY48fCmrf8TG X-Google-Smtp-Source: APXvYqwB69mNf6QagK7Zcjkphgnj2YKSWwsK4hm5g46JxteN6iC5LUikKEE6U1CKXmE4Fl3LjvxUrg== X-Received: by 2002:a1c:1a47:: with SMTP id a68mr8926992wma.88.1558568367016; Wed, 22 May 2019 16:39:27 -0700 (PDT) Received: from localhost (ip-217-030-068-212.aim-net.cz. [217.30.68.212]) by smtp.gmail.com with ESMTPSA id h188sm14133984wmf.48.2019.05.22.16.39.25 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 22 May 2019 16:39:26 -0700 (PDT) From: Martin Jansa X-Google-Original-From: Martin Jansa To: yocto@lists.yoctoproject.org Date: Wed, 22 May 2019 23:30:31 +0000 Message-Id: <20190522233031.26364-1-Martin.Jansa@gmail.com> X-Mailer: git-send-email 2.17.1 Subject: [meta-gplv2][PATCH] bc: use u-a for bc as well X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 May 2019 23:39:29 -0000 * 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 --- recipes-extended/bc/bc_1.06.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 inherit autotools texinfo update-alternatives -ALTERNATIVE_${PN} = "dc" +ALTERNATIVE_${PN} = "bc dc" ALTERNATIVE_PRIORITY = "100" BBCLASSEXTEND = "native" -- 2.17.1