Skip to content

Commit efce214

Browse files
committed
debug whats goindwrongin symlink?
Signed-off-by: Dhruva Gole <goledhruva@gmail.com>
1 parent efdc525 commit efce214

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

Dockerfile

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,14 @@ FROM zephyrprojectrtos/ci:latest AS base
22

33
RUN \
44
west init -m https://github.com/DhruvaG2000/arduino-core-testing.git && west update \
5-
&& git clone https://github.com/arduino/ArduinoCore-API.git .ArduinoCore-API \
6-
&& sed '/WCharacter.h/ s/./\/\/ &/' .ArduinoCore-API/api/ArduinoAPI.h > .ArduinoCore-API/api/tmpArduinoAPI.h \
7-
&& mv .ArduinoCore-API/api/tmpArduinoAPI.h .ArduinoCore-API/api/ArduinoAPI.h \
8-
&& ln -sf .ArduinoCore-API/api modules/lib/Arduino-Zephyr-API/cores/arduino/. \
5+
&& git clone https://github.com/arduino/ArduinoCore-API.git ArduinoCore-API \
6+
&& sed '/WCharacter.h/ s/./\/\/ &/' ArduinoCore-API/api/ArduinoAPI.h > ArduinoCore-API/api/tmpArduinoAPI.h \
7+
&& mv ArduinoCore-API/api/tmpArduinoAPI.h ArduinoCore-API/api/ArduinoAPI.h \
8+
&& cp -r /ArduinoCore-API/api /modules/lib/Arduino-Zephyr-API/cores/arduino/. \
99
&& ls -la && ls -la home/* \
1010
&& cd modules/lib/Arduino-Zephyr-API && ls -la \
11+
&& echo "inside Arduino zephyr api.. ls = "\
12+
&& ls /modules/lib/Arduino-Zephyr-API/cores/arduino/. \
13+
&& ls /modules/lib/Arduino-Zephyr-API/cores/arduino/api \
1114
&& west build -p -b arduino_nano_33_ble samples/blinky_arduino \
1215
&& printf '%s\n' "Module Successfully setup..."

0 commit comments

Comments
 (0)