mirror of
https://github.com/riptidewave93/UNVR-NAS.git
synced 2025-03-09 15:40:13 +00:00
fix: move firmware extraction to docker
This should fix https://github.com/riptidewave93/UNVR-NAS/issues/13 and make building easier across different systems.
This commit is contained in:
parent
6f01afd72b
commit
d1aaa4bccd
4 changed files with 19 additions and 7 deletions
|
@ -14,6 +14,10 @@ if [ ! -d ${build_path}/toolchain ]; then
|
|||
tar -xf ${root_path}/downloads/${toolchain_filename} -C ${build_path}/toolchain
|
||||
fi
|
||||
|
||||
# Do our firmware extraction
|
||||
debug_msg "Docker: Extracting Firmware..."
|
||||
docker run --ulimit nofile=1024 --rm -v "${root_path}:/repo:Z" -e BOARD="${BOARD}" -it ${docker_tag} /repo/scripts/docker/extract_firmware.sh
|
||||
|
||||
if [ ! -d ${build_path}/kernel ]; then
|
||||
debug_msg "Docker: Building Kernel..."
|
||||
docker run --ulimit nofile=1024 --rm -v "${root_path}:/repo:Z" -it ${docker_tag} /repo/scripts/docker/build_kernel.sh
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue