diff --git a/build.sh b/build.sh index ea50f599..c36b3355 100755 --- a/build.sh +++ b/build.sh @@ -15,7 +15,8 @@ docker run -it --name ${CONTAINER_NAME} \ ${IMAGE_NAME} \ /bin/bash -c "cd /home/builder/openwrt && bash" -#TODO: copy config file to home +docker cp ${CONTAINER_NAME}:.config ./.config-build +docker cp ${CONTAINER_NAME}:defconfig.log ./defconfig.log docker cp ${CONTAINER_NAME}:${FIRMWARE_PATH} ./ras.bin 2>/dev/null || { echo "ERROR: Firmware not found at ${FIRMWARE_PATH}"