mirror of
https://github.com/OpenSolo/OpenSolo.git
synced 2025-04-29 22:24:32 +02:00
Changed curl to wget since curl was pulling html
This commit is contained in:
parent
f21949d5d7
commit
e48a93b1d9
@ -17,7 +17,7 @@ do_fetch () {
|
||||
|
||||
# TODO - smart fetch the correct version of the formware to match the repo-tag requested or something
|
||||
# for now, get the LATEST MASTER PX4v2 ( ie pixhawk1 or 2.0(solo) firmware from ArduPilot build system:
|
||||
curl http://firmware.ap.ardupilot.org/Copter/stable/PX4/ArduCopter-v3.px4 -o ${WORKDIR}/${FILE_SRC}
|
||||
wget http://firmware.ap.ardupilot.org/Copter/stable/PX4/ArduCopter-v3.px4 -O ${WORKDIR}/${FILE_SRC}
|
||||
# or simply fake it with a zero-length file if the curl fails for some reason..:
|
||||
#touch ${WORKDIR}/${FILE_SRC}
|
||||
}
|
||||
@ -26,3 +26,5 @@ do_install () {
|
||||
install -d ${D}${firmwaredir}
|
||||
install -m 0644 ${WORKDIR}/${FILE_SRC} ${D}${firmwaredir}/${FILE_DST}
|
||||
}
|
||||
|
||||
wget -O ac.px4 http://firmware.ap.ardupilot.org/Copter/stable/PX4/ArduCopter-v3.px4
|
Loading…
x
Reference in New Issue
Block a user