fixed config mounts

This commit is contained in:
Rudis Muiznieks 2022-08-28 10:19:31 -05:00
parent 5fb6d19ec2
commit 1a46399220
Signed by: rudism
GPG Key ID: CABF2F86EF7884F9
5 changed files with 5 additions and 4 deletions

View File

@ -10,7 +10,7 @@ done
docker run -it --rm -d --name zmk \
-v "$(pwd)/zmk:/home/builder/zmk" \
-v "$(pwd)/zmk-config:/home/builder/zmk-config" \
-v "$(pwd)/config:/home/builder/zmk-config" \
zmk
docker exec -it zmk \
@ -24,3 +24,4 @@ docker exec -it zmk \
docker commit zmk zmk
docker rm -vf zmk
docker system prune -f

View File

@ -2,7 +2,7 @@
docker run -it --rm \
-v "$(pwd)/zmk:/home/builder/zmk" \
-v "$(pwd)/zmk-config:/home/builder/zmk-config" \
-v "$(pwd)/config:/home/builder/zmk-config" \
-v "$(pwd)/out:/home/builder/out" \
zmk bash -c 'export PATH="~/.local/bin:$PATH" && \
source /home/builder/zmk/zephyr/zephyr-env.sh && \

View File

@ -6,8 +6,8 @@ DEVICE=$1
SIDE=$2
if [ "$SIDE" != "left" ] && [ "$SIDE" != "right" ]; then
echo "Usage: ./flash device side"
echo " eg: ./flash /dev/sdb right"
echo "Usage: ./flash.sh device side"
echo " eg: ./flash.sh /dev/sdb right"
exit 1
fi

Binary file not shown.

Binary file not shown.