Skip to content
This is the build scrips that is used on the ubports build server
Shell
Branch: master
Clone or download
Latest commit 56acb6c Mar 4, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore ign Mar 3, 2019
README.md document usage Mar 3, 2019
build-tarball.sh executable Mar 3, 2019
build.sh executable Mar 3, 2019
devices.json deb: add Nexus 7 2013 gsm Mar 3, 2019
devices.xml deb: add Nexus 7 2013 gsm Mar 3, 2019

README.md

build scripts for device images for UBports

These scripts are used by Jenkins build server to make daily builds of the device specific images for all devices supported by UBports project. For example the CI results for hammerhead are here: https://ci.ubports.com/job/daily-hammerhead

To test locally you can run the following commands (replace DEVICE with your devicename, ie, hammerhead, mako, ...)

git clone https://github.com/ubports/build-scripts
cd build-scripts
mkdir tmp
cd tmp
repo init -u https://github.com/ubports/android -b ubp-5.1 --depth=1
repo sync -j10 -c
mkdir .repo/local_manifests
cp ../devices.xml .repo/local_manifests/
../build.sh aosp_DEVICE-userdebug
# wait
rm -rf tar/
mkdir tar
../build-tarball.sh DEVICE tar/ overlay
ubuntu-device-flash touch --device=DEVICE --device-tarball=tar/device_DEVICE_devel.tar.xz --channel=ubports-touch/16.04/devel --bootstrap
You can’t perform that action at this time.