On Tue, 10 Jan 2023, Petr Štetiar wrote:
Date: Tue, 10 Jan 2023 10:08:51
From: Petr Štetiar
To: Brian Norris
Cc: Christian Marangi , Thibaut ,
Robert Marko , openwrt-devel@lists.openwrt.org,
Jo-Philipp Wich
Subject: Re: [PATCH v2 6/7] coreutils: Import from packages feed
Brian
Brian Norris [2023-01-09 11:51:53]:
> For my use, it feels like a simplified form (which only needs to be a
> stdin/stdout pipeline) would be pretty easy to inline into the
> caldata/firmware-loader script:
>
> ucode -e 'import { stdin } from "fs"; print(b64dec(stdin.read("all")));'
from my p
On Mon, Jan 09, 2023 at 12:23:25PM -0800, Brian Norris wrote:
> On Mon, Jan 9, 2023 at 11:56 AM Christian Marangi
> wrote:
> > On Mon, Jan 09, 2023 at 11:51:53AM -0800, Brian Norris wrote:
> > > For my use, it feels like a simplified form (which only needs to be a
> > > stdin/stdout pipeline) wou
On Mon, Jan 9, 2023 at 11:56 AM Christian Marangi wrote:
> On Mon, Jan 09, 2023 at 11:51:53AM -0800, Brian Norris wrote:
> > For my use, it feels like a simplified form (which only needs to be a
> > stdin/stdout pipeline) would be pretty easy to inline into the
> > caldata/firmware-loader script:
On Mon, Jan 09, 2023 at 11:51:53AM -0800, Brian Norris wrote:
> On Mon, Jan 9, 2023 at 11:21 AM Christian Marangi
> wrote:
> >
> > On Mon, Jan 09, 2023 at 03:35:56PM +0100, Petr Štetiar wrote:
> > > Petr Štetiar [2023-01-09 11:50:37]:
> > >
> > > Hi,
> > >
> > > > BTW ucode has `b64dec()`[1] so
On Mon, Jan 9, 2023 at 11:21 AM Christian Marangi wrote:
>
> On Mon, Jan 09, 2023 at 03:35:56PM +0100, Petr Štetiar wrote:
> > Petr Štetiar [2023-01-09 11:50:37]:
> >
> > Hi,
> >
> > > BTW ucode has `b64dec()`[1] so perhaps another viable option.
> > >
> > > 1. https://github.com/jow-/ucode#663-b
On Mon, Jan 09, 2023 at 03:35:56PM +0100, Petr Štetiar wrote:
> Petr Štetiar [2023-01-09 11:50:37]:
>
> Hi,
>
> > BTW ucode has `b64dec()`[1] so perhaps another viable option.
> >
> > 1. https://github.com/jow-/ucode#663-b64decstr
>
> wanted to refresh my ucode brain cells, so I've explored fe
Petr Štetiar [2023-01-09 11:50:37]:
Hi,
> BTW ucode has `b64dec()`[1] so perhaps another viable option.
>
> 1. https://github.com/jow-/ucode#663-b64decstr
wanted to refresh my ucode brain cells, so I've explored feasibility of that
suggestion and it seems to work just fine:
#!/usr/bin
Thibaut [2023-01-08 00:02:06]:
> There might be an even easier/lighter way (short of enabling base64 in
> busybox), AWK to the rescue:
> https://github.com/shane-kerr/AWK-base64decode
>
> The code is clean and judging by the comment line 97, works with busybox awk.
BTW ucode has `b64dec()`[1]
> Le 9 janv. 2023 à 04:09, Brian Norris a écrit :
>
> On Sun, Jan 8, 2023 at 1:37 PM Thibaut wrote:
>>> Le 8 janv. 2023 à 21:53, Christian Marangi a écrit :
>>>
>>> On Sun, Jan 08, 2023 at 09:00:58PM +0100, Petr Štetiar wrote:
[…]
include $(INCLUDE_DIR)/target.mk
+
On Sun, Jan 8, 2023 at 1:37 PM Thibaut wrote:
> > Le 8 janv. 2023 à 21:53, Christian Marangi a écrit :
> >
> > On Sun, Jan 08, 2023 at 09:00:58PM +0100, Petr Štetiar wrote:
> >> Brian Norris [2023-01-06 23:49:44]:
> >>
> >> Hi Brian,
> >>
> >>> I need to express a per-target dependency on the 'b
> Le 8 janv. 2023 à 21:53, Christian Marangi a écrit :
>
> On Sun, Jan 08, 2023 at 09:00:58PM +0100, Petr Štetiar wrote:
>> Brian Norris [2023-01-06 23:49:44]:
>>
>> Hi Brian,
>>
>>> I need to express a per-target dependency on the 'base64' utility, and
>>> that's seemingly impossible to do
On Sun, Jan 08, 2023 at 09:00:58PM +0100, Petr Štetiar wrote:
> Brian Norris [2023-01-06 23:49:44]:
>
> Hi Brian,
>
> > I need to express a per-target dependency on the 'base64' utility, and
> > that's seemingly impossible to do for busybox.
>
> --- a/target/linux/ipq806x/Makefile
>
Brian Norris [2023-01-06 23:49:44]:
Hi Brian,
> I need to express a per-target dependency on the 'base64' utility, and
> that's seemingly impossible to do for busybox.
--- a/target/linux/ipq806x/Makefile
+++ b/target/linux/ipq806x/Makefile
@@ -15,6 +15,11 @@ KERNEL_PATCH
On 08.01.2023 00:02, Thibaut wrote:
Le 7 janv. 2023 à 22:41, Robert Marko a écrit :
On Sat, 7 Jan 2023 at 16:26, Thibaut VARÈNE wrote:
Le 7 janv. 2023 à 15:06, Christian Marangi a écrit :
On Fri, Jan 06, 2023 at 11:49:44PM -0800, Brian Norris wrote:
I need to express a per-target de
> Le 7 janv. 2023 à 22:41, Robert Marko a écrit :
>
> On Sat, 7 Jan 2023 at 16:26, Thibaut VARÈNE wrote:
>>
>>
>>
>>> Le 7 janv. 2023 à 15:06, Christian Marangi a écrit :
>>>
>>> On Fri, Jan 06, 2023 at 11:49:44PM -0800, Brian Norris wrote:
I need to express a per-target dependency o
On Sat, 7 Jan 2023 at 16:26, Thibaut VARÈNE wrote:
>
>
>
> > Le 7 janv. 2023 à 15:06, Christian Marangi a écrit :
> >
> > On Fri, Jan 06, 2023 at 11:49:44PM -0800, Brian Norris wrote:
> >> I need to express a per-target dependency on the 'base64' utility, and
> >> that's seemingly impossible to d
> Le 7 janv. 2023 à 15:06, Christian Marangi a écrit :
>
> On Fri, Jan 06, 2023 at 11:49:44PM -0800, Brian Norris wrote:
>> I need to express a per-target dependency on the 'base64' utility, and
>> that's seemingly impossible to do for busybox. Pull in coreutils to make
>> that easier.
>>
>> S
On Fri, Jan 06, 2023 at 11:49:44PM -0800, Brian Norris wrote:
> I need to express a per-target dependency on the 'base64' utility, and
> that's seemingly impossible to do for busybox. Pull in coreutils to make
> that easier.
>
> Signed-off-by: Brian Norris
We still need to think of a correct sol
I need to express a per-target dependency on the 'base64' utility, and
that's seemingly impossible to do for busybox. Pull in coreutils to make
that easier.
Signed-off-by: Brian Norris
---
* New in v2
(no changes since v1)
package/utils/coreutils/Makefile | 153 +
20 matches
Mail list logo