This Gitlab project builds the following Debian packages:
- the Linux kernel
- RTL8723DS Wifi
- RTL8723DS Bluetooth
- Mali 3d drivers
The following NTC boards are supported:
- CHIP 4
- CHIP PRO
- CHIP classic
The followning environment variables are used:
AWS_BUCKET
: S3 bucket name where repository is publishedAWS_REGION
: AWS region for S3 bucketAWS_ACCES_KEY_ID
: AWS idAWS_SECRET_ACCESS_KEY
: secret AWS keyLINUX_DEPLOY_PRIVATE_KEY
: unencrypted ssh key to access Linux repositoryLINUX_REPO
: URL of the Linux repository to buildLINUX_BRANCH
: Linux branch to build fromLINUX_CONFIG
: Linux configuration file (relative to LINUX_REPO)GPG_PRIVATE_KEY
: unencrypted gpg secret key used for repository signing
The build might fail if they are not set correctly.
All variables starting with AWS_
must be defined - otherwise the publishing
step is skipped.
TODO:
- explain how to create a public AWS bucket accessible via https
- explain how to create a AWS user & role (give role example)
Sometime it's not possible make the Linux repository public, because of support for still top-secret product in there.
The LINUX_REPO
variable should be an SSH URL, e.g. [email protected]:yourname/linux
and the unencrypted private SSH
key to access that repository needs to be defined as LINUX_DEPLOY_PRIVATE_KEY
.
In Github the corresponding public key needs to be added as a deployment key.
In order to create a signed repository, the GPG_PRIVATE_KEY
variable needs to
contain an unencrypted GPG secret key.
Using gpg
version 2, an unencrypted GPG secret key can be created and
exported using these commands:
gpg --pinentry-mode loopback --full-generate-key
gpg --export-secret-key --armor >secret.key