Instead of causing infinite amounts of traffic per day, only ship a
preconfigured setup.sh file with SNAPSHOT containers and ask the
downstream user to run `setup.sh` on their own.
Signed-off-by: Paul Spooren <mail@aparcar.org>
ImageBuilder and SDK compression switched to zstd due to the recent XZ
backdoor event and overall complexity of the XZ design.
Signed-off-by: Paul Spooren <mail@aparcar.org>
Right now, XDP support for OpenWrt is on the rise. New packages and
xdp loaders are written. However, the current github workflows will
fail to crosscompile kernel xdp programms, since they do not support
clang. Clang is the main tool to cross-compile xdp kernel scripts.
Clang only needs the correct endianess of the target system. This can
just be added by checking in the Makefile
ifeq ($(CONFIG_BIG_ENDIAN),y)
BPF_TARGET=bpfeb
else
BPF_TARGET=bpfel
endif
Missing clang support is one of the main reasons I currently not able
to port xdp-tools to OpenWrt. With introduction of 5.10er kernel the
XDP Support is also improved.
Signed-off-by: Nick Hainke <vincent@systemli.org>
This is required for luajit, which is in packages feed.
While it works fine for ARMv8 (tested by using Github Actions: aarch64_cortex-a53) and x84_x64 (tested inside Docker container, it does not work for 32-bits target and because of that we need to install gcc-multilib.
Luajit fails with the following output:
(tested against target: arm_cortex-a9+vfpv3-d16_musl_eabi inside Docker
SDK image)
/usr/include/limits.h:26:10: fatal error: bits/libc-header-start.h: No such file or directory
#include <bits/libc-header-start.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~
And once gcc-multilib is installed, it works.
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>