bc: use u-a for bc as well
PATCH 1/1 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.
--- recipes-extended/bc/bc_1.06.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-extended/bc/bc_1.06.bb +1 -1
@@ -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"
Signature · 1 line
2.17.1
ping for warrior
Quoted 54 lines · Martin Jansa
* 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/bcto/bin/busybox.nosuidsince/usr/bin/bcexists and is not a linkand then whole
do_rootfsordo_populate_sdkto 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 <[email protected]>--- recipes-extended/bc/bc_1.06.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)recipes-extended/bc/ renamed from recipes-extended/bc/bc_1.06.bb +0
-0bc_1.06.bb
index d8c8a86..3de1b24 100644recipes-extended/bc/bc_1.06.bb +0
-0@@ -20,7 +20,7 @@ SRC_URI[sha256sum] ="
4ef6d9f17c3c0d92d8798e35666175ecd3d8efac4009d6457b5c99cea7inherit autotools texinfo update-alternatives
recipes-extended/bc/bc_1.06.bb +1
-2-ALTERNATIVE_${PN} = "dc" +ALTERNATIVE_${PN} = "bc dc" ALTERNATIVE_PRIORITY = "100" BBCLASSEXTEND = "native" --2.17.1
Done, sorry.
Ross
Quoted 54 lines · Martin Jansa
ping for warrior
Quoted 43 lines · Martin Jansa
* 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/bcto/bin/busybox.nosuidsince/usr/bin/bcexists and is not a linkand then whole
do_rootfsordo_populate_sdkto 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 <[email protected]>--- recipes-extended/bc/bc_1.06.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)recipes-extended/bc/bc_1.06.bb +1
-2@@ -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" --Quoted 2 lines
2.17.1
--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto
No problem, thanks for quick response.
Looks like this patch wasn't merged in master as well (I thought it was), can you please push it as well.
Thanks
Quoted 70 lines · Ross
Done, sorry.
Ross
Quoted 4 lines · Martin Jansa
ping for warrior
On Tue, Jun 11, 2019 at 9:08 AM Martin Jansa <[email protected]>
Quoted 11 lines · wrote:
Quoted 11 lines
* 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
Quoted 1 line
Quoted 1 line
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/?] nQuoted 6 lines
Quoted 6 lines
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/bcto
/bin/busybox.nosuidsince/usr/bin/bcexists and is not a linkQuoted 2 lines
Quoted 2 lines
and then whole
do_rootfsordo_populate_sdkto fail because busyboxpostinst is failing:
Quoted 2 lines
Quoted 2 lines
do_populate_sdk: Postinstall scriptlets of ['busybox'] have failed.If the intention is to defer them to first boot,
Quoted 1 line
Quoted 1 line
then please place them into pkg_postinst_ontarget_${PN} (). Deferringto first boot via 'exit 1' is no longer supported.
Quoted 7 lines
recipes-extended/bc/
Quoted 7 lines
Signed-off-by Martin Jansa <[email protected]>--- recipes-extended/bc/bc_1.06.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)recipes-extended/bc/ renamed from recipes-extended/bc/bc_1.06.bb +0
-0bc_1.06.bb
Quoted 4 lines
recipes-extended/bc/bc_1.06.bb SRC_URI[sha256sum] =
Quoted 4 lines
index d8c8a86..3de1b24 100644
recipes-extended/bc/bc_1.06.bb +0
-0@@ -20,7 +20,7 @@ SRC_URI[sha256sum] ="
4ef6d9f17c3c0d92d8798e35666175ecd3d8efac4009d6457b5c99cea7Quoted 16 lines
Quoted 11 lines
recipes-extended/bc/bc_1.06.bb +1
-2inherit autotools texinfo update-alternatives -ALTERNATIVE_${PN} = "dc" +ALTERNATIVE_${PN} = "bc dc" ALTERNATIVE_PRIORITY = "100" BBCLASSEXTEND = "native" --2.17.1
--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto
Whoops. Done :)
Quoted 68 lines · Martin Jansa
No problem, thanks for quick response.
Looks like this patch wasn't merged in master as well (I thought it was), can you please push it as well.
Thanks
Quoted 60 lines · Ross
Done, sorry.
Ross
Quoted 54 lines · Martin Jansa
ping for warrior
Quoted 43 lines · Martin Jansa
* 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/bcto/bin/busybox.nosuidsince/usr/bin/bcexists and is not a linkand then whole
do_rootfsordo_populate_sdkto 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 <[email protected]>--- recipes-extended/bc/bc_1.06.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)recipes-extended/bc/bc_1.06.bb +1
-2@@ -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" --Quoted 2 lines
2.17.1
--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto