All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* [meta-gplv2][warrior][PATCH] bc: use u-a for bc as well
@ 2019-06-11  7:08 Martin Jansa
  2019-06-21 12:52 ` Martin Jansa
  0 siblings, 1 reply; 5+ messages in thread
From: Martin Jansa @ 2019-06-11  7:08 UTC (permalink / raw
  To: yocto

* 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>
---
 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



^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [meta-gplv2][warrior][PATCH] bc: use u-a for bc as well
  2019-06-11  7:08 [meta-gplv2][warrior][PATCH] bc: use u-a for bc as well Martin Jansa
@ 2019-06-21 12:52 ` Martin Jansa
  2019-06-21 12:59   ` Burton, Ross
  0 siblings, 1 reply; 5+ messages in thread
From: Martin Jansa @ 2019-06-21 12:52 UTC (permalink / raw
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 1956 bytes --]

ping for warrior

On Tue, Jun 11, 2019 at 9:08 AM Martin Jansa <martin.jansa@gmail.com> wrote:

> * 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>
> ---
>  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
>
>

[-- Attachment #2: Type: text/html, Size: 2785 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [meta-gplv2][warrior][PATCH] bc: use u-a for bc as well
  2019-06-21 12:52 ` Martin Jansa
@ 2019-06-21 12:59   ` Burton, Ross
  2019-06-21 13:18     ` Martin Jansa
  0 siblings, 1 reply; 5+ messages in thread
From: Burton, Ross @ 2019-06-21 12:59 UTC (permalink / raw
  To: Martin Jansa; +Cc: yocto

Done, sorry.

Ross

On Fri, 21 Jun 2019 at 13:53, Martin Jansa <martin.jansa@gmail.com> wrote:
>
> ping for warrior
>
> On Tue, Jun 11, 2019 at 9:08 AM Martin Jansa <martin.jansa@gmail.com> wrote:
>>
>> * 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>
>> ---
>>  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
>>
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [meta-gplv2][warrior][PATCH] bc: use u-a for bc as well
  2019-06-21 12:59   ` Burton, Ross
@ 2019-06-21 13:18     ` Martin Jansa
  2019-06-21 13:48       ` Burton, Ross
  0 siblings, 1 reply; 5+ messages in thread
From: Martin Jansa @ 2019-06-21 13:18 UTC (permalink / raw
  To: Burton, Ross; +Cc: yocto

[-- Attachment #1: Type: text/plain, Size: 2624 bytes --]

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

On Fri, Jun 21, 2019 at 2:59 PM Burton, Ross <ross.burton@intel.com> wrote:

> Done, sorry.
>
> Ross
>
> On Fri, 21 Jun 2019 at 13:53, Martin Jansa <martin.jansa@gmail.com> wrote:
> >
> > ping for warrior
> >
> > On Tue, Jun 11, 2019 at 9:08 AM Martin Jansa <martin.jansa@gmail.com>
> wrote:
> >>
> >> * 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>
> >> ---
> >>  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
> >>
> > --
> > _______________________________________________
> > yocto mailing list
> > yocto@yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/yocto
>

[-- Attachment #2: Type: text/html, Size: 4118 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [meta-gplv2][warrior][PATCH] bc: use u-a for bc as well
  2019-06-21 13:18     ` Martin Jansa
@ 2019-06-21 13:48       ` Burton, Ross
  0 siblings, 0 replies; 5+ messages in thread
From: Burton, Ross @ 2019-06-21 13:48 UTC (permalink / raw
  To: Martin Jansa; +Cc: yocto

Whoops.  Done :)

On Fri, 21 Jun 2019 at 14:18, Martin Jansa <martin.jansa@gmail.com> wrote:
>
> 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
>
> On Fri, Jun 21, 2019 at 2:59 PM Burton, Ross <ross.burton@intel.com> wrote:
>>
>> Done, sorry.
>>
>> Ross
>>
>> On Fri, 21 Jun 2019 at 13:53, Martin Jansa <martin.jansa@gmail.com> wrote:
>> >
>> > ping for warrior
>> >
>> > On Tue, Jun 11, 2019 at 9:08 AM Martin Jansa <martin.jansa@gmail.com> wrote:
>> >>
>> >> * 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>
>> >> ---
>> >>  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
>> >>
>> > --
>> > _______________________________________________
>> > yocto mailing list
>> > yocto@yoctoproject.org
>> > https://lists.yoctoproject.org/listinfo/yocto


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-06-21 13:48 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-11  7:08 [meta-gplv2][warrior][PATCH] bc: use u-a for bc as well Martin Jansa
2019-06-21 12:52 ` Martin Jansa
2019-06-21 12:59   ` Burton, Ross
2019-06-21 13:18     ` Martin Jansa
2019-06-21 13:48       ` Burton, Ross

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.