Skip to content

Commit 0557179

Browse files
author
stsdc
committed
install custom config
1 parent 51fc019 commit 0557179

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

make_deb.sh

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ echo "Starting OpenOCD for TurtleRover packaging"
88
echo "---------------$VERSION----------------"
99
cd ..
1010

11+
# Copy custom configs to temporary dir
12+
mkdir -p /tmp/openocd/config/
13+
cp -R ./config/ /tmp/openocd/
14+
1115
fpm --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
.

0 commit comments

Comments
 (0)