Statically linked arm binaries of the GNU coreutils, specifically for deployment on Technicolor Gateway routers.
The /etc/opkg.conf
file must contain the architecture for your device.
Example for a 32 bit Technicolor device such as the Telstra Smart Modem Gen 2 and earlier generation devices:
dest root /
dest ram /tmp
lists_dir ext /var/opkg-lists
option overlay_root /overlay
arch all 1
arch noarch 1
arch arm_cortex-a9 10
arch arm_cortex-a9_neon 20
arch brcm63xx-tch 30
arch bcm53xx 40
The following line also needs to be added to /etc/opkg/customfeeds.conf
:
src/gz tch_static https://raw.githubusercontent.com/seud0nym/tch-coreutils/master/repository/arm_cortex-a9/packages
Example for a 64 bit Technicolor device such as the Telstra Smart Modem Gen 3:
dest root /
dest ram /tmp
lists_dir ext /var/opkg-lists
option overlay_root /overlay
option check_signature
dest lcm_native /opt/
arch all 1
arch noarch 1
arch arm_cortex-a53 10
arch aarch64_cortex-a53 20
The following line also needs to be added to /etc/opkg/customfeeds.conf
:
src/gz tch_static https://raw.githubusercontent.com/seud0nym/tch-coreutils/master/repository/arm_cortex-a53/packages
Later versions of opkg
require the Package index file to signed. If you get a "Signature check failed" error when executing opkg update
, download and add the key file:
curl -sklO https://raw.githubusercontent.com/seud0nym/tch-coreutils/master/keys/seud0nym-public.key
opkg-key add seud0nym-public.key
rm seud0nym-public.key
The release binaries were built using the build.sh
script. The individual OpenWrt opkg .ipk files are built using an adapted version of the make-ipk.sh
script from https://bitsum.com/creating_ipk_packages.htm, which is executed automatically by build.sh
.
The following packages are required to be installed before running build.sh
:
- autotools-dev
- autoconf
- cmake
- automake
- build-essential
- git
The usign private key seud0nym-private.key
is also required to sign the Packages file.