Compiling Without Internet

Chris Johns chrisj at rtems.org
Fri Sep 1 22:49:56 UTC 2017


On 2/9/17 3:38 am, Jacob Saina wrote:
> 
> I'm going to be building rsb, rtems, and applications with an intermittent
> Internet connection, so I'd like to have all the pieces in place on disk
> beforehand. How can I pull down all the necessary files and avoid failing
> because of network access?

To fetch the packages use:

../source-builder/sb-set-builder \
           --dry-run --with-download \
           --without-error-report \
           --without-release-url \
           4.12/rtems-arm

Replace '4.12/rtems-arm' with the build set you want to build. This command
comes from the release scripts [1].

You should be able to move the 'source' and 'patch' contents to another location
on you disk and then use the '--url' option with 'file://path'.

Chris

[1] https://git.rtems.org/rtems-release/tree/rtems-release-sources#n112


More information about the users mailing list