diff options
author | Madper Xie <madper.xie@canonical.com> | 2017-02-20 23:33:29 +0800 |
---|---|---|
committer | Madper Xie <madper.xie@linaro.org> | 2017-02-21 00:00:41 +0800 |
commit | 40d248d1ff486e0e251a4c1bbd66e24ff1b2136a (patch) | |
tree | 52ebefac518155592fdb2641c43d91336a4e38b3 /lite-gateway-ubuntu-core | |
parent | a5cbffff2fd1825b8c6984ed24efae5bab2ae4a6 (diff) |
lite-gateway-ubuntu-core: add rpi2 support.
As we won't change rpi2 and rpi3 often it makes sense to build them
together when we have upper layer modifications.
Change-Id: I93b90033d49e044f62d6325b0f0caeda34a1630d
Diffstat (limited to 'lite-gateway-ubuntu-core')
-rwxr-xr-x | lite-gateway-ubuntu-core/builders.sh | 5 | ||||
-rw-r--r-- | lite-gateway-ubuntu-core/pi-2.json | 11 |
2 files changed, 15 insertions, 1 deletions
diff --git a/lite-gateway-ubuntu-core/builders.sh b/lite-gateway-ubuntu-core/builders.sh index 4f65f888..c8742cec 100755 --- a/lite-gateway-ubuntu-core/builders.sh +++ b/lite-gateway-ubuntu-core/builders.sh @@ -25,9 +25,12 @@ export PATH="/usr/sbin:/sbin:$PATH" tar xf snap.tar -C ${HOME} wget -q https://git.linaro.org/ci/job/configs.git/blob_plain/HEAD:/lite-gateway-ubuntu-core/pi-3.json -O pi-3.json +wget -q https://git.linaro.org/ci/job/configs.git/blob_plain/HEAD:/lite-gateway-ubuntu-core/pi-3.json -O pi-2.json cat pi-3.json | snap sign -k madper-new > pi-3.model +cat pi-2.json | snap sign -k madper-new > pi-2.model snap download ubuntu-image sudo mount -o loop -t squashfs ubuntu-image_*.snap ${SNAP} -${SNAP}/command-ubuntu-image.wrapper -c beta -o pi-3.img pi-3.model +${SNAP}/command-ubuntu-image.wrapper -c beta -o ubuntu-core-16-pi3-lite.img pi-3.model +${SNAP}/command-ubuntu-image.wrapper -c beta -o ubuntu-core-16-pi2-lite.img pi-2.model diff --git a/lite-gateway-ubuntu-core/pi-2.json b/lite-gateway-ubuntu-core/pi-2.json new file mode 100644 index 00000000..aca8ba60 --- /dev/null +++ b/lite-gateway-ubuntu-core/pi-2.json @@ -0,0 +1,11 @@ +{ + "type": "model", + "authority-id": "fsbTOvw7utNforMLgfgLMbrw9hDeTvLb", + "brand-id": "fsbTOvw7utNforMLgfgLMbrw9hDeTvLb", + "series": "16", + "model": "my-pi2", + "architecture": "armhf", + "gadget": "pi2", + "kernel": "pi2-kernel", + "timestamp": "2016-12-01T11:22:58+00:00" +} |