Skip to content
This repository has been archived by the owner on Nov 8, 2019. It is now read-only.

chrisber/openwrt-ipkg-redis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Creats a build root within a docker container

Edit docker/env_make to specify the location of the redis data directory

Full_PATH_TO_REDIS= \
<fullpath>/openwrt-ipkg-redis/data/`

Build the docker container

cd docker && make build 

Compile Redis manually

Uses a buildroot docker container and compiles the redis ipk manually

cd docker && make shell`
cd openwrt && make package/redis/compile V=s

Compile for a different architecture

Change into the container environment

cd docker && make shell

Change menuconfig settings suitable for your needs

cd openwrt && make menuconfig

Recompile for openwrt

make -j4

Copy build result from the container to the host environment

Select the container id e.g b4c2ad31325c

docker ps

Copy openwrt binaries form the container to the host

docker cp b4c2ad31325c:/home/openwrt/openwrt/bin/x86/packages/base/redis_3.2.8-1_x86.ipk /tmp

Preserve menuconfig settings

docker cp b4c2ad31325c:/home/openwrt/openwrt/.config <Fullpath to git repo>openwrt-ipkg-redis/docker/

Note UCLIB vs MUSL

MUSL does not define a MUSL macro for musl add: ``

About

Openwrt Redis UCLIB/MUSL (x86_x64)

Resources

Stars

Watchers

Forks

Packages

No packages published