Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update ARM rootfs urls to nest version inside name #268

Merged
merged 1 commit into from Mar 25, 2016
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

@@ -1,26 +1,12 @@
{% from 'common/map.jinja' import common %}
{% from tpldir ~ '/map.jinja' import arm %}
arm-dependencies:
pkg.installed:
- pkgs:
- g++-aarch64-linux-gnu
- g++-arm-linux-gnueabihf
{% set rootfs_repo = 'https://servo-rust.s3.amazonaws.com/ARM' %}
{% set targets = [{
'name': 'arm-linux-gnueabihf',
'symlink_name': 'arm-unknown-linux-gnueabihf',
'version': 'v1',
'local_name': 'armhf-trusty-libs.tgz',
'hash': 'd9a31ed488e4f848efcd07f71aa167fc73252da2a2c3b53ba8216100e2b4302b5ccd273b27c434ad189650652a1877607d328ff6b8e1edb5aa68a8927c617b49',
},
{
'name': 'aarch64-linux-gnu',
'symlink_name': 'aarch64-unknown-linux-gnu',
'version': 'v1',
'local_name': 'arm64-trusty-libs.tgz',
'hash': '6c86097188b70940835b2fc936fe70f01890fae45ba4ef79dcccc6a552ad319dcba23e21d6c849fd9d396e0c2f4476a21c93f9b3d4abb4f34d69f22d18017b1b',
}] %}
{% set binaries = [
'elfedit',
@@ -45,15 +31,15 @@ arm-dependencies:
'strip'
] %}
{% for target in targets %}
{% for target in arm.targets %}
libs-{{ target.name }}:
archive.extracted:
- name: {{ common.servo_home }}/rootfs-trusty-{{ target.name }}/{{ target.version }} # Directory to extract into
- source: {{ rootfs_repo }}/{{ target.version }}/{{ target.local_name }}
- source_hash: sha512={{ target.hash }}
- name: {{ common.servo_home }}/rootfs-trusty-{{ target.name }}/{{ target.version }}
- source: https://servo-rust.s3.amazonaws.com/ARM/{{ target.download_name }}/{{ target.version }}/{{ target.download_name }}-{{ target.version }}.tgz
- source_hash: sha512={{ target.sha512 }}
- archive_format: tar
- archive_user: servo # 2015.8 moves these to the standard user and group parameters
- archive_user: servo
{% for binary in binaries %}
{{ common.servo_home }}/bin/{{ target.symlink_name }}-{{ binary }}:
@@ -104,7 +90,7 @@ libs-{{ target.name }}:
- makedirs: True
- clean: True
- require:
{% for target in targets %}
{% for target in arm.targets %}
{% for binary in binaries %}
- file: {{ common.servo_home }}/bin/{{ target.symlink_name }}-{{ binary }}
{% endfor %}
@@ -11,6 +11,27 @@
}
%}

{%
set arm = {
'targets': [
{
'name': 'arm-linux-gnueabihf',
'download_name': 'armhf-trusty-libs.tgz',
'symlink_name': 'arm-unknown-linux-gnueabihf',
'version': 'v1',
'sha512': 'd9a31ed488e4f848efcd07f71aa167fc73252da2a2c3b53ba8216100e2b4302b5ccd273b27c434ad189650652a1877607d328ff6b8e1edb5aa68a8927c617b49'
},
{
'name': 'aarch64-linux-gnu',
'download_name': 'arm64-trusty-libs.tgz',
'symlink_name': 'aarch64-unknown-linux-gnu',
'version': 'v1',
'sha512': '6c86097188b70940835b2fc936fe70f01890fae45ba4ef79dcccc6a552ad319dcba23e21d6c849fd9d396e0c2f4476a21c93f9b3d4abb4f34d69f22d18017b1b'
}
]
}
%}

{%
set b2g = {
'sha512': '092a3c9210ce4eae864dc07a4a17f5fc38aebdd0179d64d7b77a65bad2adc004a9599ef7bf1e6ce610abaecae87cd61af5d58ea5ac609028b429e514dfe96e77'
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.