sudomesh / sudowrt-firmware

Scripts to build the sudo mesh OpenWRT firmware.
Other
73 stars 19 forks source link

fail to rebuild sudowrt ar71xx firmware on ubuntu 16.04 #103

Closed jhpoelen closed 7 years ago

jhpoelen commented 7 years ago

After attempting to rebuild sudowrt ar71xx firmware on ubuntu 16.04 ($ uname -r --> 4.4.0-57-generic), I am now trying to rebuild using a Docker ubuntu 14.04 image. Seems to resolve some issues I saw, like a no longer supported -V gcc argument. Build is now running in a docker container ... will report on more issues later.

See https://github.com/jhpoelen/sudowrt-firmware/blob/master/Dockerfile for file used to build docker image.

jhpoelen commented 7 years ago

I was able to create a seemingly valid build using https://github.com/jhpoelen/sudowrt-firmware/commit/9bd1ec79fb62c9850900ca3b3d9f912ef19eb3fd after starting image and running ./build ar71xx. Now creating an image that includes the built itself to bootstrap dependencies introduced by cloning / downloading external dependencies that might change / go away.

jhpoelen commented 7 years ago

I was able to create firmware build using ubuntu 14.04 using repo/dockerfile at https://github.com/sudomesh/sudowrt-firmware/blob/7ee0a06526d39a2d2f851890553a244c7ff3a8a8/Dockerfile . Closing issue.