File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,10 @@ echo "Starting OpenOCD for TurtleRover packaging"
88echo " ---------------$VERSION ----------------"
99cd ..
1010
11+ # Copy custom configs to temporary dir
12+ mkdir -p /tmp/openocd/config/
13+ cp -R ./config/ /tmp/openocd/
14+
1115fpm --input-type dir \
1216 --output-type deb \
1317 --chdir " /tmp/openocd/" \
@@ -17,13 +21,14 @@ fpm --input-type dir \
1721 --license " MIT" \
1822 --url " https://github.com/TurtleRover/openocd" \
1923 --version ${VERSION: 1} \
20- --iteration 4 \
24+ --iteration 5 \
2125 --architecture armhf \
2226 --deb-no-default-config-files \
2327 --deb-dist stretch \
2428 --verbose \
2529 --description " OpenOCD Debugger for Turtle Rover with custom configs" \
2630 --after-install ./after-install.sh \
2731 --after-remove ./after-remove.sh \
28- --prefix /usr/local \
32+ --prefix /usr/local \
33+ config/=../../opt/turtlerover/openocd/config/ \
2934 .
You can’t perform that action at this time.
0 commit comments