fixed config mounts
This commit is contained in:
parent
5fb6d19ec2
commit
1a46399220
|
@ -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
|
||||
|
|
|
@ -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 && \
|
||||
|
|
4
flash.sh
4
flash.sh
|
@ -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.
Loading…
Reference in New Issue