Copy config and logs to local directory
This commit is contained in:
@@ -15,7 +15,8 @@ docker run -it --name ${CONTAINER_NAME} \
|
|||||||
${IMAGE_NAME} \
|
${IMAGE_NAME} \
|
||||||
/bin/bash -c "cd /home/builder/openwrt && bash"
|
/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 || {
|
docker cp ${CONTAINER_NAME}:${FIRMWARE_PATH} ./ras.bin 2>/dev/null || {
|
||||||
echo "ERROR: Firmware not found at ${FIRMWARE_PATH}"
|
echo "ERROR: Firmware not found at ${FIRMWARE_PATH}"
|
||||||
|
|||||||
Reference in New Issue
Block a user