sb: Add a download option --with-release-url/--without-release-url.

The default without the option is to prepend the release URL to the URL
list to download from the RTEMS FTP site first if the RSB is released. This
option can force the RTEMS FTP to be tried first when not a release,
or you can supply a different URL to download from or you can request
no RTEMS URL is tried first. Eg:

 --with-release-url
 --with-release-url=file://opt/local/cache
 --without-release-url

Move the RTEMS release URL to the default.mc file. Change the URL
to the RTEMS FTP server and do not use the https method of access.

The option's with_arg call was cleaned up to make sense.

Remove the log's raw output of an extra space.

Some download error message formating was cleaned up.

Closes #2636.
This commit is contained in:
Chris Johns
2016-03-10 16:19:58 +11:00
parent 62f76d9817
commit d3fa158109
5 changed files with 29 additions and 19 deletions

View File

@@ -54,6 +54,9 @@ _host: triplet, required, ''
_build: triplet, required, ''
_target: none, optional, ''
# RTEMS release URL
rtems_release_url: none, none, 'ftp://ftp.rtems.org/pub/rtems/releases/%{rtems_version}'
# The user
_uid: none, convert, '%(%{__id_u} -n)'