[PATCH v2 6/7] coreutils: Import from packages feed

Petr Štetiar ynezz at true.cz
Mon Jan 9 02:50:37 PST 2023

Thibaut <hacks at slashdirt.org> [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] so perhaps another viable option.

1. https://github.com/jow-/ucode#663-b64decstr

Thibaut <hacks at slashdirt.org> [2023-01-08 22:37:20]:

> I wonder if it’s such a good idea to have discrepancies in busybox features between targets?

You're right, it's not a good idea.

Brian Norris <computersforpeace at gmail.com> [2023-01-08 19:09:33]:

> Thanks! That does indeed work for me. And I might just throw it into
> target/linux/ipq806x/chromium/target.mk instead, since the generic
> target won't be using base64.

It works for me as well, but it's going to break some cases I've missed. Sorry
for the noise.



More information about the openwrt-devel mailing list