Compare commits

...

205 Commits
1.1.1 ... main

Author SHA1 Message Date
Mr Jenkins d66262f1eb submodules: updated netmodule hashes, triggered by Jenkins (userId=downstream) 2022-06-09 12:36:30 +02:00
Mr Jenkins a34e053f01 submodules: updated netmodule hashes, triggered by Marc Mattmüller (userId=mattmueller) 2022-05-31 12:22:52 +02:00
Marc Mattmueller b54fdeff4b autorev-packages: remove wlconf-bin from AUTOREV list
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2022-05-24 16:18:48 +02:00
Marc Mattmueller e2d5290e3c autorev-packages: removed FGPA recipe from AUTOREV list
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2022-05-24 16:17:50 +02:00
Marc Mattmueller f1c5588914 autorev-packages.inc: added storage info to the list of autorev packages
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2022-05-23 15:05:40 +02:00
Alexandre Bard c42ad8d655 env: Add HW17 environment
BugzID: 77953
2022-05-05 15:54:46 +02:00
Mr Jenkins 10a2dff839 submodules: updated community hashes, triggered by Alexandre Bard (userId=bard) 2022-05-02 11:13:42 +02:00
Mr Jenkins 797c94d2df submodules: updated community hashes, triggered by Alexandre Bard (userId=bard) 2022-04-07 10:13:39 +02:00
Marc Mattmueller 1a4ec56472 autorev-packages: remove unused scripts from features repo
see appropriate branch in meta-netmmodule-distro

Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2022-03-21 10:55:51 +01:00
Marc Mattmueller 696db7ca10 ci/cd env: removed all jenkins files and src-rev scripts
The scripts and the pipelines are now located in the build
directory

BugzID: 78260
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2022-02-22 11:24:17 +01:00
Marc Mattmueller 7a078ecee0 Jenkinsfiles: adapted loading yocto environment before building
the yocto environment load path changes, i.e. to load the env for
an ostree image changed from '. ./env.image-ostree' to
'. ./env/distro/ostree-image'

Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2022-02-10 15:20:53 +01:00
Alexandre Bard 75b959e552 Improve environment files
With this changes it is possible to source from anywhere a machine or
distro file.

It is also cleaning all the environment files in the main directory.

As example, to load environment for HW21 and lava image for example the
following command can be used:

. env/distro/lava-image && . ../env/machine/hw21
2022-02-10 15:20:53 +01:00
Alexandre Bard 2f3120ccca conf: Use netmodules templateconf
These templates are shown when source openembedded build environment.
2022-02-10 09:30:01 +01:00
Mr Jenkins 7090550157 submodules: updated netmodule hashes, triggered by Jenkins (userId=downstream) 2022-02-08 21:46:18 +01:00
Mr Jenkins 7dd2298dde submodules: updated netmodule hashes, triggered by Jenkins (userId=downstream) 2022-01-10 17:39:20 +01:00
Mr Jenkins b46a3e72f1 submodules: updated community hashes, triggered by Alexandre Bard (userId=bard) 2021-12-29 15:45:44 +01:00
Marc Mattmueller a8c96aa206 jenkins/mmc: adapted for archiving armada bootloader artifacts
BugzID: 75924
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-12-14 12:32:53 +01:00
Marc Mattmueller 19e6acb19c jenkins: adapted clean build behavior
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-12-14 12:28:22 +01:00
Marc Mattmueller 0ebff0951e jenkins/sdk: added hw18 machine as preparation
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-12-13 15:53:02 +01:00
Marc Mattmueller 01fc39dd61 jenkins: added hw18 to the list of machines to build
BugzID: 75924
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-12-13 12:34:49 +01:00
Marc Mattmueller 413c6f554c jenkins: updated build discarder due to the additional images
The nightly build holds now 2x mmc and 1x ramdisk image for each
hw type. Thus the build discarder was updated.

Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-12-06 15:55:30 +01:00
Alexandre Bard e05c9765f0 Jenkinsfile_mmcImages: Fix building of vcu images with wrong env
The vcu image has its one environment because it has its own
distribution.
2021-12-03 17:49:55 +01:00
Marc Mattmueller f8f47c11fb jenkins-mmc: added image type vcu as IMG_TYPE parameter
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-12-02 13:13:47 +01:00
Marc Mattmueller 87e59c35ed jenkins mmc: fixed release-image builds
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-11-30 09:08:29 +01:00
Mr Jenkins d33d96c505 submodules: updated netmodule hashes, triggered by Jenkins (userId=downstream) 2021-11-09 18:06:42 +01:00
Marc Mattmueller 6b8a34bd85 jenkins/update2head: exclude bblayers.conf from automatic commit
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-11-09 16:07:51 +01:00
Marc Mattmueller 68c04583aa jenkins/update2head: use src rev update in same shell command
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-11-01 09:25:41 +01:00
Mr Jenkins 7c77ed4315 submodules: updated netmodule hashes, triggered by Marc Mattmüller (userId=mattmueller) 2021-11-01 09:24:38 +01:00
Marc Mattmueller c987422f62 local.conf: set parallel threads to 8 (server has now 8 vcpu's)
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-10-27 15:59:50 +02:00
Marc Mattmueller 01e8be71b0 jenkins: used credential ID of the belonging server
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-10-27 15:58:42 +02:00
Marc Mattmueller 526eb8729b jenkins/ramdisk/mmc: provide ssh credential for build
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-10-27 11:56:20 +02:00
Marc Mattmueller bc58edf65d local.conf: remove check of /tmp (space and inodes)
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-10-27 11:45:10 +02:00
Marc Mattmueller 071a721e80 jenkins/sdk: provide ssh credential for sdk build
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-10-27 11:44:55 +02:00
Marc Mattmueller 55ac1c7307 jenkins: provided ssh credentials from master for git commands
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-10-26 19:24:43 +02:00
Marc Mattmueller 6a56c05981 jenkins/common: made cleanWorkspace dash compatible
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-10-21 11:57:08 +02:00
Marc Mattmueller cd3de28e5b jenkins/sdk: increased timeout from 5 to 8 hours
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-10-19 08:04:03 +02:00
Marc Mattmueller ea6bd036e1 jenkins/ramdisk/mmc: added parameter to overwrite the build node
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-10-14 13:02:15 +02:00
Marc Mattmueller 969fa192e9 jenkins/common: reverted the rsync part but added the set +x
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-10-13 14:21:15 +02:00
Marc Mattmueller b2ea75f1b9 jenkins/common: used set +x to remove rsync log output
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-10-13 13:36:14 +02:00
Marc Mattmueller 6848564543 src-rev/jenkins: adapted src-rev to handle packages from a file
the file autorev-packages.inc holds holds all recipes with a
SRCREV set to AUTOREV.
When releasing this file shall be used as base which recipes to
update.

BugzID: 75209
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-10-13 13:17:37 +02:00
Marc Mattmueller 0704618e91 jenkins/update2head: fixed coding convention
the curly brackets shall be used even on if statements with
only one line

Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-10-13 13:17:37 +02:00
Marc Mattmueller f332dc9de8 autorev: added pathfile to autorevision list
As there might be multiple bb files which hold the same name, it
might be difficult in the future which one to set to AUTOREV. Thus
the list autorev-packages.inc was adapted with the path to the bb
file in the comment.

BugzID: 75209
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-10-13 13:17:37 +02:00
Marc Mattmueller 35cd165fd8 jenkins/common: set rsync to be quiet on jenkins output
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-10-13 12:32:37 +02:00
Marc Mattmueller 988558b95d jenkins/common: escaped $ from rsync command
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-10-13 08:37:35 +02:00
Marc Mattmueller d676264535 jenkins/common: replaced bash- to groovy comment sign
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-10-13 07:59:57 +02:00
Alexandre Bard e3cf8861d0 Jenkinsfile_Common: Reduce logs from rsync command
The "*" is expanded when the script is running on jenkins and the SRC is
local files. This expansion is hundreds of files, leading to hundreds of
lines in the jenkins logs. We don't need these lines.

BugzID: 75217
2021-10-12 15:53:59 +02:00
Marc Mattmueller 2ada8afbf8 jenkins/update2head/sdk: changed logrotator to 5 items to keep
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-10-12 14:26:44 +02:00
Marc Mattmueller fc4dd66c9f jenkins: added autorevision handling to mmc-, ramdisk and sdk pipelines
BugzID: 75209
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-10-12 11:58:35 +02:00
Marc Mattmueller e549b2b7fc jenkins: removed updating the source revisions
BugzID: 75209
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-10-12 11:45:53 +02:00
Marc Mattmueller c2f977f9fd local.conf: added autorev-packages file and included it in local.conf
BugzID: 75209
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-10-12 11:43:12 +02:00
Mr Jenkins 9ec3663642 submodules: updated community hashes, triggered by Alexandre Bard (userId=bard) 2021-10-11 14:12:51 +02:00
Alexandre Bard 0664961570 Jenkinsfile_update2head: Better display which layers are updated 2021-10-11 13:58:42 +02:00
Marc Mattmueller c459438f49 jenkins/common: put yocto env loading and src-rev handling in one command
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-10-11 13:13:19 +02:00
Marc Mattmueller 9fe49c131b jenkins/update2head: integrated updating source revisions
BugzID: 74523
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-10-11 09:26:12 +02:00
Marc Mattmueller 9b82e098ff src-rev-commit: added script to commit src rev changes
BugzID: 74523
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-10-11 09:26:12 +02:00
Marc Mattmueller 73fcaacfab jenkins/update2head: fixed typo
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-10-11 09:26:12 +02:00
Marc Mattmueller d50515c6d5 jenkins: added updating source revisions for nightly builds
BugzID: 74523
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-10-11 09:26:12 +02:00
Marc Mattmueller 85ca7a099e repo: added src-rev script to update source revisions
BugzID: 74523
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-10-11 09:26:12 +02:00
Marc Mattmueller d530642b18 jenkins/common: prevent cleaning when directory is not existing
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-10-05 10:22:52 +02:00
Marc Mattmueller c40dcce3d5 jenkins/common: added trailing slash to path for cleanup
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-10-04 11:14:26 +02:00
Mr Jenkins 331fecad75 submodules: updated netmodule hashes, triggered by Jenkins (userId=downstream) 2021-09-30 15:38:08 +02:00
Marc Mattmueller 07b6bc9641 jenkins: added cleaning workspace
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-09-29 14:34:58 +02:00
Marc Mattmueller a773ef59f0 release 1.4.0: fix netmodule submodules
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-09-17 08:25:35 +02:00
Marc Mattmueller d0467a5829 jenkins: increased artifact days to keep in ramdisk and mmc build
BugzID: 74496
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-09-16 08:05:11 +02:00
Marc Mattmueller deb8763414 mmcImages: mask out the bootloader artifacts using the machine type
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-09-06 19:24:56 +02:00
Alexandre Bard 9a4f1db328 Jenkinsfiles: Hide bitbake welcome message 2021-08-26 15:09:34 +02:00
Alexandre Bard d9f7f04bfc Jenkinsfiles: Execute commands silently 2021-08-26 14:03:14 +02:00
Marc Mattmueller dcc5b24f9e jenkins/sdk: added parameter for build node
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-08-26 08:54:13 +02:00
Mr Jenkins 912d04ac0a submodules: updated community hashes, triggered by Alexandre Bard (userId=bard) 2021-08-25 09:48:29 +02:00
Marc Mattmueller 6fcf293fc2 jenkins/mmcImages: removed fitImage artifact from package
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-08-23 17:34:47 +02:00
Marc Mattmueller 0db0db4cb5 jenkins/sdk: set build label to oem-ci as trial
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-08-23 10:19:25 +02:00
Alexandre Bard 79c39921ce RamdiskImages: Remove tmp dir once archived
BugzID: 74217
2021-08-12 18:42:14 +02:00
Alexandre Bard bab4288468 env files: Simplify
We don't need anymore the DISTRO_TYPE, DISTRO_OSTREE and MACHINE_TYPE.

Also the "set -a" was causing troubles after sourcing the script in ZSH
and doing copy-pastes. Therefore we just export the required variables.
2021-08-12 17:55:48 +02:00
Marc Mattmueller 515c0c494e jenkins/mmc: adapted fitImage name for the artifact archiving
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-08-03 13:20:01 +02:00
Marc Mattmueller 8f59810e3d jenkins/ramdisk: updated pipeline with removal of the rootfs tar.gz
the tar.gz is no replaced with the cpio.gz package, i.e. the cpio.gz
package is included in the deployed package

Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-08-03 12:23:35 +02:00
Marc Mattmueller 1999738798 jenkins/ramdisk: removed additional directory in deploy dir
there is no difference between lava and minimal image regarding
content of the deploy dir. The difference is made on the build
directory itself

Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-08-03 09:50:50 +02:00
Marc Mattmueller e592e847b2 jenkins/sdk: use lxbuild4 to build sdks in parallel
as the number of parallel threads are set back to 4 the SDK can
be built on lxbuild4 in parallel

BugzID: 74051
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-08-02 11:29:35 +02:00
Marc Mattmueller bc7ef4cd89 jenkins/sdk: fetch all before cleaning all
BugzID: 74051
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-08-02 11:12:33 +02:00
Marc Mattmueller e7d3a5a4e7 jenkins/sdk: removed disabling concurrent build
BugzID: 74051
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-08-02 10:39:11 +02:00
Marc Mattmueller 2849ade985 jenkins/sdk: set label to balance on both build server
BugzID: 74051
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-08-02 10:27:52 +02:00
Marc Mattmueller be3a70b6c2 local.conf: set parallel threads back to 4 (due to 2 jobs in parallel)
it is possible that two build jobs run on the same build server (e.g.
mmc- and a ramdisk job). Thus 8 parallel threads are slowing the
build more down than speeding it up.

Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-07-29 21:41:06 +02:00
Marc Mattmueller d28fa7cd28 jenkins/mmc: added cleaning leftovers in perparing stage
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-07-29 15:55:22 +02:00
Marc Mattmueller f08b93c154 jenkins: cleaned the artifact directory instead of tmp-out dir
cleaning the tmp-out dir if desired, which is needed when building
the dev image where the bootloader is archived first

Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-07-29 15:26:25 +02:00
Marc Mattmueller daca933bfd jenkins: added image type argument to archive different images in one job
BugzID: 73966
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-07-29 08:55:31 +02:00
Marc Mattmueller 88508cb44e jenkins: set build dir postfix in prepare stage and re-ordered cleanup in sdk
the environment variable of the build dir postfix part was null and
thus the wrong path set up.

in the sdk prepare part there is a cleaning of left overs before
the submodules might be available.

Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-07-28 13:42:29 +02:00
Marc Mattmueller 701dbdc6f0 jenkins/common: created download directory in build-common on clean build
BugzID: 73973
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-07-28 11:04:39 +02:00
Marc Mattmueller c87a2558b4 local.conf: increased the number of parallel threads from 4 to 8 for fct and min
as we have now different build directories, the different config files
need to be adapted too

BugzID: 73967
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-07-28 10:46:44 +02:00
Marc Mattmueller 58108d6b66 jenkins/common: adpated path of the download directory
in case 73920 the download directory path was adapted too. Thus the
path needed to be adpated.

BugzID: 73973
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-07-28 10:42:45 +02:00
Marc Mattmueller 9e0a7a6ab4 jenkins: changed yocto build directories
In case 73920 are additional build directories created. The yocto
build pipelines needed to be updated.

BugzID: 73973
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-07-28 10:42:45 +02:00
Marc Mattmueller 0e595a5b30 local.conf: increased the number of parallel builds from 4 to 8
BugzID: 73967
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-07-28 10:17:10 +02:00
Marc Mattmueller 69a7bdec43 jenkins/mmcImages: changed pipeline as bootloader is built with dev image
BugzID: 73966
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-07-28 10:16:45 +02:00
Lucien Mueller c9caaba9ad Update BUILDHISTORY_COMMIT_AUTHOR.
Signed-off-by: Lucien Mueller <lucien.mueller@netmodule.com>
2021-07-28 09:56:03 +02:00
Lucien Mueller 1fdf613433 Create additional build folders.
minimal-image -> build-minimal
ostree images (dev,vcu) -> build
fct/lava-image -> build-fct

BugzID: 73920

Signed-off-by: Lucien Mueller <lucien.mueller@netmodule.com>
2021-07-28 09:56:03 +02:00
Marc Mattmueller b2eae52e5c jenkins/mmcImages: use ostree environment for bootloader
BugzID: 73919
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-07-26 14:40:58 +02:00
Marc Mattmueller 154496719e jenkins/update2head: skip push if nothing available to commit
BugzID_ 73789
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-07-21 11:10:20 +02:00
Marc Mattmueller 664c1f68d5 jenkins/update2head: moved archive submoudle hash file to update stage
the residing file is now also removed

BugzID: 73789
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-07-21 10:59:29 +02:00
Marc Mattmueller b106e6f4fe jenkins/update2head: fixed triggered user when cron starts a build
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-07-21 09:47:50 +02:00
Marc Mattmueller 612524ea30 jenkinsfile: removed jenkinsfile, is replaced by mmc- and ramdiskImages
The jenkinsfile is split into separate pipelines for sdk, mmc images
and ramdisk images. Thus this file is obsolete and is removed

Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-07-20 12:52:19 +02:00
Mr Jenkins c087d58bc3 submodules: updated netmodule hashes, triggered by null (userId=null) 2021-07-19 15:41:14 +02:00
Marc Mattmueller 7bafb55371 Jenkinsfiles: set ramdisk and mmc image build lavels to oem-ci
BugzID: 73757
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-07-14 11:37:53 +02:00
Marc Mattmueller 5b3c82c7e2 jenkins_common: use the same versioning for the sdk as for fct
BugzID: 73674
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-07-08 10:54:53 +02:00
Marc Mattmueller 3d0c6767c1 jenkins_sdk: cleaned up and changed archiving
the heap size of the java engine was exceeded when using archive
artifacts, thus the archiving is now done by deploying the sdk to
nexus.

additionally a cleaning of leftovers is added in the preparing
stage and the stage collecting the revisions is removed.

BugzID: 73631
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-07-08 09:48:18 +02:00
Marc Mattmueller 15832f8603 Jenkinsfile_mmcImages: do not archive ostree when building bootloader
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-07-07 16:16:27 +02:00
Marc Mattmueller c324a95b49 Jenkinsfile_sdk: made artifact path relative to use regex
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-07-07 15:32:52 +02:00
Marc Mattmueller d7c7c7af87 jenkins: set build timeout from 8h down to 5h
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-07-07 14:50:20 +02:00
Marc Mattmueller f48295d249 jenkins_common: fixed variable typo
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-07-07 09:45:40 +02:00
Marc Mattmueller 2c34abe54b jenkinsfiles: set status aborted if machine parameter is missing
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-07-07 09:15:44 +02:00
Marc Mattmueller bf7d5e86a4 Jenkinsfile_update2head: checkout branch before committing
the job is performing a swallowed checkout which leads to a
detached HEAD. Thus the branch need to be checked out before
committing and pushing

BugzID: 74574
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-07-06 16:43:21 +02:00
Mr Jenkins 24866de9a0 submodules: updated community hashes, triggered by Marc Mattmüller (userId=mattmueller) 2021-07-06 16:40:33 +02:00
Marc Mattmueller 9321361765 Jenkinsfiles: integrated updating only netmodule layers in split job files
Within the big jenkins file only the netmodule layers are updated
when the release string is empty of latest. This change is now
integrated into the split jenkins files.

BugzID: 73564
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-07-06 16:18:35 +02:00
Marc Mattmueller 8a477f0117 jenkinsfile_update2head: set build server with label oem-linux
perform an update in the submodule init part

BugzID: 73574
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-07-06 12:55:01 +02:00
Marc Mattmueller 32ab6f42ca jenkinsfile_update2head: added info about triggered user to commit msg
BugzID: 73574
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-07-06 12:55:01 +02:00
Marc Mattmueller d34fa204e1 jenkinsfile_update2head: added info about updated layers to commit msg
BugzID: 73574
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-07-06 12:55:01 +02:00
Marc Mattmueller e9ee8240e3 jenkinsfile_update2head: added pipeline for automatic submodule updating
BugzID: 73574
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-07-06 12:55:01 +02:00
Marc Mattmueller d04eba6caa jenkinsfile: update only netmodule layers in a nightly build
BugzID: 73574
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-07-06 12:55:01 +02:00
Marc Mattmueller f4596c90b3 jenkinsfile_sdk: added flag to build sdk from dev image
After a team discussion it would be good to have the possibility to
build an SDK from a dev image. Therefore a job parameter is
added.

BugzID: 73564

Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-07-05 14:11:28 +02:00
Marc Mattmueller 55c9f8d9b0 Jenkinsfile_sdk: adapted build command according changes in fb73552
BugzID: 73564

Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-07-01 12:51:29 +02:00
Marc Mattmueller 11962381b9 jenkinsfile: added jenkins pipeline for building the SDK
The SDK bases on the ostree dev image

BugzID: 73564

Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-07-01 09:08:17 +02:00
Marc Mattmueller 3534420590 jenkinsfile: split ramdisk and mmc images into separate pipelines
Common parts of those pipelines are extracted into a common part.
Each pipeline loads this common part as module to get access to
its functions.
This is also the base for adding a job generating the SDK

BugzID: 73564

Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-07-01 09:01:20 +02:00
Marc Mattmueller 212ddb8d13 1.2.5: prepared submodules for rls 1.2.5
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-06-10 19:45:14 +02:00
Marc Mattmueller 0aed4eb233 jenkins: fixed bad subtitution in bootloader build and archive
BugzID: 72761

Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-05-20 08:05:55 +02:00
Marc Mattmueller 7a132670d1 reverting "jenkins: remove build history directory before collecting srcrevs"
This reverts commit af6f1b4c4e.

This revert shall test if this is the reason that the nightly
build takes that long...
2021-05-11 14:29:15 +02:00
Marc Mattmueller 69eec3c790 jenkins: using build_user and sshagent for sync-ing yocto downloads
our AD user 'build_user' was adapted for having an SSH key. Jenkins
was configured to have this user with its key under Credentials so
that the sshagent could be used.
This way seems to be the most secure way performing ssh connections.

BugzID: 71491

Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-05-06 15:21:05 +02:00
Marc Mattmueller 9a3028afaa jenkins: sync binary storage before and after build
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-05-06 12:07:03 +02:00
Marc Mattmueller db60b919eb jenkins: prepared function to synchronize yocto downloads
BugzID: 71491

Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-05-06 12:07:03 +02:00
Marc Mattmueller 669ba32c6a jenkins: harmonized parameter references renamed MACHINE_TYPE to MACHINE
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-05-06 12:07:03 +02:00
Marc Mattmueller bf0c96713a jenkins: harmonized syntax of function names
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-05-06 12:05:35 +02:00
Marc Mattmueller 02c486bd2f openembedded: added new hash for tracking nightly builds
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-05-06 08:41:58 +02:00
Marc Mattmueller af6f1b4c4e jenkins: remove build history directory before collecting srcrevs
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-05-05 11:21:36 +02:00
Marc Mattmueller 8ceb9fb75b jenkins: added wildcard after machine type for the bootloader image
The bootloader package of HW20 was empty as its namne is postfixed
with -v1 which differs to the other am335x images.

BugzID: 71427

Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-05-04 13:18:14 +02:00
Marc Mattmueller 84eb0cdf58 rls 1.2.4: fixed hashes of submodules
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-05-04 11:49:30 +02:00
Marc Mattmueller a375cef2f4 jenkins: fixed archiving distro version file
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-04-14 13:48:17 +02:00
Marc Mattmueller 3fae1c1e8d rls 1.2.3: set hashes for submodules
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-04-06 16:08:14 +02:00
Alexandre Bard edb33c6084 rls 1.2.2: set hashes for submodules 2021-03-19 15:29:21 +01:00
Alexandre Bard 7012582e82 local.conf: Disable generation of sources tarball
We don't need this and it is probably wasting build time and storage.

According to documentation:
"This technique is useful if you want to create a mirror server. If not,
however, the technique can simply waste time during the build."

https://www.yoctoproject.org/docs/3.1/mega-manual/mega-manual.html#faq
FAQ: 35.22
2021-03-13 13:49:35 +01:00
Marc Mattmueller 5ab5c23e79 jenkins: fct builds do not carry the 'Test<nbr>' postfix in its version
BugzID: 70652

Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-03-09 09:42:47 +01:00
Marc Mattmueller 57a58ef946 rls 1.2.1: set hashes for submodules
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-03-05 11:54:52 +01:00
Alexandre Bard 3e8fad100d bblayers: Always include fct layer
In order to avoid issues like missing licenses or corrupted kernel
shared directory, it is better to remove this hack and always include
the fct layer.

BugzID: 70627
2021-03-04 11:59:11 +01:00
Marc Mattmueller 03cc427024 release 1.2.0: updated submodule hashes to latest state
BugzID: 70117

Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-02-18 12:08:12 +01:00
Marc Mattmüller 7c57231fcf jenkins/collect revs: replaced interactive clear with redirection to /dev/null 2021-02-01 14:26:35 +01:00
Marc Mattmueller bc8453960c jenkins: added parameter to collecte the revisions used
BugzID: 69785

Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-02-01 11:19:59 +01:00
Marc Mattmueller 9c611146e3 jenkins: do not filter and sort the output of auto revision output
BugzID: 69785

Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-02-01 11:19:59 +01:00
Marc Mattmueller 5359b74d30 jenkins: creating revision files and archive them
BugzID: 69785

Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-02-01 11:19:59 +01:00
Alexandre Bard af20c2fa2e bblayers: Always include om layer
This layer is now safe to be always used. Everything in it, must be
explicitly requested from the distro.conf

BugzID: 69970
2021-01-28 11:49:49 +01:00
Marc Mattmueller d88370a78a release 1.1.5: updated hashes of submodules
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-01-22 21:00:16 +01:00
Alexandre Bard 42d2fcc48a Jenkinsfile: Fix starting build job directly 2021-01-19 09:18:31 +01:00
Alexandre Bard 20c73a4b9c jenkinsfile: Add license workaround for gpsd
Since rework of gpsd recipes, this license is also often missing.
Temporary work around until we figure out the root cause.
2021-01-19 08:33:32 +01:00
Alexandre Bard fa0a14b423 Jenkinsfile: Update fitImage paths
Since update to dunfell, the artifacts build with kernel variant (like
our linux-netmodule-initramfs and our fct-linux) are deployed in a
subdirectory with the name of the kernel, to avoid confusion with
artifacts built with the main kernel.

BugzID: 69636
2021-01-17 13:12:49 +01:00
Alexandre Bard d531600175 Submodules: Update to dunfell
BugzID: 69636
2021-01-16 19:26:56 +01:00
Alexandre Bard a9429dc09b machine_select: Add HW23-DLM board 2021-01-16 19:26:56 +01:00
Marc Mattmueller c36d79297a jenkins: do no longer remove the distro version file
as the distro version file is now also used in the nightly, it
will be overwritten and no longer be removed after a build.

BugzID: 69736

Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-01-14 17:46:54 +01:00
Marc Mattmueller 4080f1e212 jenkins: introduced the distro version file also for the nightly build
As the version string for a nightly build contains a Test POSTFIX,
similar to the release build the version string needs to be provided
to yocto.

BugzID: 69736

Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-01-14 16:11:06 +01:00
Marc Mattmueller 6b0bd6ef95 jenkins: changed nightly built image to test release
The version string of a nightly build (not a release build) is
adapted to a test release including the build number of the
top job, e.g.
    previously: 1.1.3-5-gca0e0ff-dirty
    now:        1.1.3.Test127-5-gca0e0ff-dirty

BugzID: 69736

Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-01-14 11:12:31 +01:00
Marc Mattmueller 7c4c903f2a release 1.1.4: updated submodule hashes
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-01-11 10:51:04 +01:00
Marc Mattmueller 19d174fc9a release notes: updated with actual state
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2020-12-18 16:16:18 +01:00
Alexandre Bard fbb569de68 Jenkinsfile: Add back workaround for license error
This time it is a bit smarter and trigger the licenses deploiement only
when it is really missing. This should avoid too long build time.

BugzID: 69247
2020-12-16 13:51:19 +01:00
Alexandre Bard 975901eebe Revert "jenkinsfile: Force ostree-kernel-initramfs deploiment"
This reverts commit 447329c279.

This commit is not needed anymore, the build is now stable without
deploying the licenses everytime.

BugzID: 69247
2020-12-14 13:44:50 +01:00
Marc Mattmueller 596b384e41 rls sprint 20.3: updated release notes and submodule hashes
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2020-12-14 11:51:05 +01:00
Alexandre Bard 52068d0568 machine_select: Add support for HW25 2020-12-08 17:32:59 +01:00
Marc Mattmueller f8e353fa59 jenkins: separated git prune and git fetch tags
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2020-12-03 12:48:32 +01:00
Marc Mattmueller 40d2f5ec14 jenkins: added git prune option when fetching tags
BugzID: 69317

Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2020-12-02 18:14:07 +01:00
Marc Mattmueller fb172f496b 1.1.3: syntax of release notes to be displayed more beautiful
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2020-11-30 16:03:04 +01:00
Marc Mattmüller a1f8dc1389 Merge pull request 'jenkinsfile: Force ostree-kernel-initramfs deploiment' (#3) from develop-fb69247 into develop
Reviewed-on: https://git.netmodule.intranet/nmos/yocto-img-build/pulls/3
2020-11-30 11:17:27 +01:00
Alexandre Bard 447329c279 jenkinsfile: Force ostree-kernel-initramfs deploiment
For whatever reason, this license is sometimes missing, leading to a
build failure.

BugzID: 69247
2020-11-30 11:13:16 +01:00
Marc Mattmueller 5a7bd230e6 1.1.3: added release notes regarding duplicated kernel image for FCT
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2020-11-30 11:09:53 +01:00
Marc Mattmueller 237c5dfc11 1.1.3: updated the submodule hashes to latest changes
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2020-11-30 08:23:29 +01:00
Marc Mattmueller df8fe4766e 1.1.3: updated release notes
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2020-11-30 07:58:16 +01:00
Marc Mattmueller e53097a6e7 1.1.3: updated the submodule hashes to the latest commit
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2020-11-27 15:04:36 +01:00
Marc Mattmueller 512b800e59 jenkins: changed virtual/kernel to virtual/netmodule-image for fitimage
BugzID: 69147

Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2020-11-27 14:56:17 +01:00
Marc Mattmueller ac1498ec0f 1.1.3: prepared release notes and updated submodules
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2020-11-26 11:22:37 +01:00
Marc Mattmueller 1c56e9f6bc release 1.1.2: adapted release notes with latest state
known issues adapted:
 - the pycurl bug is still present
 - HW23 is currently having an issue with the wlan layer

boot time improvements added

Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2020-11-16 11:31:46 +01:00
Marc Mattmueller 82a95330f9 release notes 1.1.2: removed fixed pycurl bug
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2020-11-16 08:30:54 +01:00
Marc Mattmueller 37cfc43e5d release 1.1.2: updated meta-netmodule-disto including the adpated BUILDNAME
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2020-11-13 15:51:39 +01:00
Marc Mattmueller 3d76f212bf jenkins: used writeFile for the distro version file and clean only this at the end
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2020-11-13 15:50:21 +01:00
Marc Mattmueller 2b84d3db8f release 1.1.2: added release notes
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2020-11-12 17:19:58 +01:00
Marc Mattmueller 568faa4143 release 1.1.2: updated submodules to latest versions
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2020-11-12 17:19:21 +01:00
Marc Mattmueller aaf1f04ecf jenkins: fixed submodule init
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2020-11-12 08:14:12 +01:00
Marc Mattmueller 28a8e0d127 jenkins: git init recursive and fetch tags before building version
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2020-11-11 18:59:27 +01:00
Marc Mattmueller 122ddb921a jenkins: merged wlan layser submodule and a submodule init step 2020-11-11 16:04:04 +01:00
Marc Mattmueller 80ec9abe37 jenkins: initialized submodules before building
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2020-11-11 15:33:34 +01:00
Ramon Moesching e8828868a5 meta-netmodule-wlan: introduce new meta layer for wifi system
Common wlan layer for router and oem software

BugzID: 67888

Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
2020-11-11 14:36:04 +01:00
Marc Mattmueller dae9a1269a jenkins: added hw20 to build job and added a selct to MACHINE_TYPE
HW20 is needed for the FCT build.
Additionally there shall no build job launched when the pipeline
is scanned and new parameters are needed to setup. Therefore the
'select...' was added to the MACHINE_TYPE.

Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2020-11-11 13:59:07 +01:00
Marc Mattmueller ad5c4fbe7b jenkins: fixed adapting version string when building a release 2020-11-11 13:47:41 +01:00
Marc Mattmueller 7a50d15477 jenkins: do not changed build version when RLS_VERSION is latest
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2020-11-11 11:03:15 +01:00
Marc Mattmueller 2111fba848 jenkins: cleaned submodule with changed distro version
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2020-11-11 10:59:34 +01:00
Marc Mattmueller 305353813b jenkins: refactored submodule handling and set distro version on release
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2020-11-11 10:28:25 +01:00
Marc Mattmueller cd7ce24604 jenkins: check version also on latest instead of only empty
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>

jenkins: check version also on latest instead of only empty

Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2020-11-11 10:28:20 +01:00
Marc Mattmueller af05cae3be jenkins: changed boolean parameter RELEASE_BUILD with string RLS_VERSION
for having the possibility to tag the build after a successful test
result we need to define the release build otherwise

BugzID: 66460

Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>

jenkins: fixed function call

Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>

jenkins: fixed replacement of version string

Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2020-11-11 10:26:36 +01:00
Marc Mattmueller 76bd35e709 jenkins: refactored submodule handling and set distro version on release
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2020-11-11 10:20:46 +01:00
Marc Mattmueller f735db2610 jenkins: check version also on latest instead of only empty
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2020-11-11 09:34:53 +01:00
Marc Mattmueller ee9eb887c4 jenkins: fixed replacement of version string
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2020-11-09 18:59:34 +01:00
Marc Mattmueller 075bda1cad jenkins: fixed function call
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2020-11-09 18:47:04 +01:00
Marc Mattmueller 26e565bb45 jenkins: changed boolean parameter RELEASE_BUILD with string RLS_VERSION
for having the possibility to tag the build after a successful test
result we need to define the release build otherwise

BugzID: 66460

Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2020-11-09 18:13:14 +01:00
Marc Mattmueller 0fd66a4f8d jenkins: adpapt logrotator in build discarder
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2020-10-13 10:10:13 +02:00
Alexandre Bard 927759b9b6 Jenkinsfile: Fix release image archiving 2020-10-09 11:54:32 +02:00
Marc Mattmüller 2dcd22de7a jenkins: removed lock since there are concurent builds disabled 2020-10-08 14:57:16 +02:00
Marc Mattmueller 6d726a09ae jenkins: added lock for build
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2020-10-08 11:10:02 +02:00
Alexandre Bard bc92da5926 Jenkinsfile: Fix ostree_repo archiving 2020-09-29 13:57:00 +02:00
Alexandre Bard be7e157b41 Jenkinsfile: Add support for fct and minimal image 2020-09-29 11:59:10 +02:00
Alexandre Bard 391382b5f3 Jenkinsfile: Add support for other HWs 2020-09-29 11:57:52 +02:00
Alexandre Bard adb14059cd Fix bootloader build/archiving 2020-09-28 14:54:55 +02:00
Marc Mattmueller 58f8947c79 jenkins: renamed deploy to archive, archive ostree tarball separately
Additionally we do not want to keep the builds forever on jenkins

BugzID: 66167

Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2020-09-25 10:56:46 +02:00
Alexandre Bard 5df81d128a Jenkinsfile: Remove tmp directory when done 2020-09-17 11:01:21 +02:00
Alexandre Bard 41a04188a2 Jenkinsfile: Create artifacts directory 2020-09-16 11:44:50 +02:00
Alexandre Bard 12e9256dcf Fix buildhistory path 2020-09-16 09:08:06 +02:00
49 changed files with 1611 additions and 238 deletions

24
.gitmodules vendored
View File

@ -1,19 +1,19 @@
[submodule "bitbake"]
path = bitbake
url = git://git.openembedded.org/bitbake.git
branch = 1.42
branch = 1.46
[submodule "openembedded-core"]
path = openembedded-core
url = git://git.openembedded.org/openembedded-core
branch = warrior
branch = dunfell
[submodule "meta-openembedded"]
path = meta-openembedded
url = git://git.openembedded.org/meta-openembedded
branch = warrior
branch = dunfell
[submodule "meta-updater"]
path = meta-updater
url = https://github.com/advancedtelematic/meta-updater.git
branch = warrior
branch = dunfell
[submodule "meta-telephony"]
path = meta-telephony
url = gitea@git.netmodule.intranet:yoctoproject/meta-telephony.git
@ -21,23 +21,23 @@
[submodule "meta-netmodule-private"]
path = meta-netmodule-private
url = gitea@git.netmodule.intranet:yoctoproject/meta-netmodule-private.git
branch = warrior
branch = develop
[submodule "meta-netmodule-bsp"]
path = meta-netmodule-bsp
url = gitea@git.netmodule.intranet:yoctoproject/meta-netmodule-bsp.git
branch = warrior
branch = develop
[submodule "meta-netmodule-distro"]
path = meta-netmodule-distro
url = gitea@git.netmodule.intranet:yoctoproject/meta-netmodule-distro.git
branch = warrior
branch = develop
[submodule "meta-netmodule-fct"]
path = meta-netmodule-fct
url = gitea@git.netmodule.intranet:yoctoproject/meta-netmodule-fct.git
branch = warrior
branch = develop
[submodule "meta-freescale"]
path = meta-freescale
url = git://git.yoctoproject.org/meta-freescale
branch = warrior
branch = dunfell
[submodule "sla-mirror"]
path = sla-mirror
url = gitea@git.netmodule.intranet:yoctoproject/sla-mirror.git
@ -49,4 +49,8 @@
[submodule "meta-netmodule-om"]
path = meta-netmodule-om
url = gitea@git.netmodule.intranet:hancock/meta-openmatics.git
branch = warrior
branch = develop
[submodule "meta-netmodule-wlan"]
path = meta-netmodule-wlan
url = gitea@git.netmodule.intranet:nrsw-oe/meta-netmodule-wlan.git
branch = master

155
Jenkinsfile vendored
View File

@ -1,155 +0,0 @@
// declarative pipeline
pipeline {
agent {
node {
label 'lxbuild4'
}
}
parameters {
choice(name: 'MACHINE_TYPE', choices: ['am335x-nmhw21','imx8-nmhw23'], description: 'choose target platform')
choice(name: 'IMAGE_TYPE', choices: ['bootloader', 'release', 'dev', 'vcu', 'lava', 'sdk'], description: 'choose target platform')
booleanParam(name: 'RELEASE_BUILD', defaultValue: false, description: ' use latest tagged release intead of latest versions')
booleanParam(name: 'CLEAN_BUILD', defaultValue: false, description: 'clean all temp directories before build starts')
}
environment {
PACKAGE_NAME = 'nm-os'
SLACK_TOKEN = '54fghFEpv1Rmf6GJ4gJ7cL2y'
MACHINE = "${MACHINE_TYPE}"
SHARED_BUILD = "${WORKSPACE}/build"
build_deploy = "${SHARED_BUILD}/tmp/deploy/images/${MACHINE}"
build_licenses = "${SHARED_BUILD}/tmp/deploy/licenses"
buildhistory = "${HOME}/yocto-share/buildhistory"
}
options {
timeout(time: 8, unit: 'HOURS')
buildDiscarder(logRotator(numToKeepStr: '5'))
disableConcurrentBuilds()
}
stages {
stage('prepare') {
steps {
script {
if(params.RELEASE_BUILD) {
sh 'git submodule update' // set all submodules to freezed commit
currentBuild.rawBuild.keepLog(true) // keep this build forever
}
else {
sh 'git submodule update --remote --rebase' // update all submodules to HEAD
}
version = sh returnStdout: true, script: 'git describe --tags --dirty'
version = version.trim()
println "----------------------------------\n Job Parameters:\n----------------------------------\n\
MACHINE_TYPE = ${params.MACHINE_TYPE}\n\
IMAGE_TYPE = ${params.IMAGE_TYPE}\n\
RELEASE_BUILD = ${params.RELEASE_BUILD}\n\
CLEAN_BUILD = ${params.CLEAN_BUILD}\n\
----------------------------------\n"
env.BUILD_VERSION = "${version}"
currentBuild.displayName = "${version}-${MACHINE}-${IMAGE_TYPE}" //replace Bitbake timestamp after building
}
writeFile file: 'VERSION', text: "${PACKAGE_NAME}: ${BUILD_VERSION}"
}
}
stage('clean') {
when { expression { return params.CLEAN_BUILD } }
steps {
lock("${LOCK_NAME}") {
dir ("${SHARED_BUILD}/tmp") { deleteDir() }
dir ("${SHARED_BUILD}/tmp-glibc") { deleteDir() }
}
}
}
stage('build') {
steps {
script {
build_and_deploy()
}
}
}
} // stages
}
def build_and_deploy() {
if (params.IMAGE_TYPE == 'sdk') {
sh "bash -c '. ./env.image-ostree && bitbake -k netmodule-linux-image -c populate_sdk'"
zip archive: true, dir: "${HOME}/yocto-share/build/tmp/deploy/sdk", glob: '*.sh', zipFile: "${PACKAGE_NAME}-${BUILD_VERSION}-${MACHINE}-sdk.zip"
}
else if (params.IMAGE_TYPE == 'bootloader') {
sh "bash -c '. ./env.common && bitbake virtual/bootloader'"
}
else if (params.IMAGE_TYPE == 'vcu') {
build('vcu', 'vcu', false)
deploy('vcu', false)
}
else if (params.IMAGE_TYPE == 'lava' || params.IMAGE_TYPE == 'fct' || params.IMAGE_TYPE == 'minimal') {
build(params.IMAGE_TYPE, params.IMAGE_TYPE, true)
deploy(params.IMAGE_TYPE, true)
}
else if (params.IMAGE_TYPE == 'release') {
build('ostree', '', false)
deploy('', false)
}
else {
build('ostree', params.IMAGE_TYPE, false)
deploy(params.IMAGE_TYPE, false)
}
}
def build(env_in, image_type_in, single_fitImage) {
def env = "${env_in}" == "" ? "" : "-${env_in}"
def image_type = "${image_type_in}" == "" ? "" : "-${image_type_in}"
if (single_fitImage) {
sh "bash -c '. ./env.image${env} && bitbake -k virtual/kernel'"
} else {
sh "bash -c '. ./env.image${env} && bitbake -k netmodule-linux-image${image_type}'"
}
}
def deploy(image_type_in, single_fitImage) {
def image_type = "${image_type_in}" == "" ? "" : "-${image_type_in}"
dir ("tmp/build${image_type}") {
def image_basename = "netmodule-linux-image${image_type}-${MACHINE}"
def basename_in = "${build_deploy}/${image_basename}"
def basename_out = "./image${image_type}-${MACHINE}"
sh "cp ${basename_in}.manifest ${basename_out}.manifest"
sh "bash -c '${WORKSPACE}/openembedded-core/scripts/buildhistory-collect-srcrevs -p ${buildhistory} > srcrev-${MACHINE}${image_type}.inc'"
sh label: 'Copy License Manifest', returnStatus: true, script: """
LATEST_LICENSE_DIR=\$(ls -Artd ${build_licenses}/netmodule-linux-image${image_type}* | tail -n 1)
cp \$LATEST_LICENSE_DIR/license.manifest ${basename_out}_license.manifest"""
if (single_fitImage == false) {
sh label: 'Copy initramfs License Manifest', returnStatus: true, script: """
LATEST_LICENSE_DIR=\$(ls -Artd ${build_licenses}/initramfs-ostree-image-${MACHINE}-* | tail -n 1)
cp \$LATEST_LICENSE_DIR/license.manifest initramfs-ostree-image_license.manifest
"""
}
if(single_fitImage){
sh "cp ${build_deploy}/fitImage-${image_basename}-${MACHINE} fitImage-${image_basename}"
sh "cp ${basename_in}.tar.gz ${basename_out}.tar.gz"
}
else {
sh "cp ${build_deploy}/fitImage-${MACHINE}.bin ."
sh "cp ${basename_in}.ota-ext4 ${basename_out}.ota-ext4"
sh "cp ${basename_in}.wic ${basename_out}.wic"
def ostree_archive = "ostree_repo${image_type}.tar.gz"
sh "tar czf ./${ostree_archive} -C ${build_deploy}/ostree_repo ."
}
}
}

1275
RELEASES.md Normal file

File diff suppressed because it is too large Load Diff

54
autorev-packages.inc Normal file
View File

@ -0,0 +1,54 @@
#./meta-netmodule-bsp/recipes-kernel/ssc-sysstate-driver/ssc-sysstate-driver_git.bb
SRCREV_ssc-sysstate-driver = "${AUTOREV}"
#./meta-netmodule-bsp/recipes-kernel/ssc-broker-driver/ssc-broker-driver_git.bb
SRCREV_ssc-broker-driver = "${AUTOREV}"
#./meta-netmodule-bsp/recipes-kernel/ssc-extmod-driver/ssc-extmod-driver_git.bb
SRCREV_ssc-extmod-driver = "${AUTOREV}"
#./meta-netmodule-bsp/recipes-kernel/dt-overlay/dt-overlay_1.0.bb
SRCREV_dt-overlay = "${AUTOREV}"
#./meta-netmodule-bsp/recipes-kernel/linux/linux-netmodule_git.bb
SRCREV_linux-netmodule = "${AUTOREV}"
#./meta-netmodule-bsp/recipes-connectivity/nmubxlib/nmubxlib.bb
SRCREV_nmubxlib = "${AUTOREV}"
#./meta-netmodule-bsp/recipes-connectivity/gnss-mgr/gnss-mgr.bb
SRCREV_gnss-mgr = "${AUTOREV}"
#./meta-netmodule-bsp/recipes-connectivity/wwan-config/wwan-config.bb
SRCREV_wwan-config = "${AUTOREV}"
#./meta-netmodule-bsp/recipes-connectivity/modemmanager/modemmanager_git.bb
SRCREV_modemmanager = "${AUTOREV}"
#./meta-netmodule-bsp/recipes-bsp/bootloader-config/bootloader-config.bb
SRCREV_bootloader-config = "${AUTOREV}"
#./meta-netmodule-bsp/freescale/recipes-imx/imx-atf/imx-atf_1.5.0.bb
SRCREV_imx-atf = "${AUTOREV}"
#./meta-netmodule-bsp/recipes-bsp/u-boot/u-boot-imx8-nmhw23_git.bb
SRCREV_u-boot-imx8-nmhw23 = "${AUTOREV}"
#./meta-netmodule-bsp/recipes-bsp/u-boot/u-boot-armada_git.bb
SRCREV_u-boot-armada = "${AUTOREV}"
#./meta-netmodule-bsp/recipes-bsp/u-boot/u-boot-ti33x_git.bb
SRCREV_u-boot-ti33x = "${AUTOREV}"
#./meta-netmodule-bsp/recipes-core/udev/udev-rules-nmhw_git.bb
SRCREV_udev-rules-nmhw = "${AUTOREV}"
#./meta-netmodule-distro/recipes-tools/nmhw-fwupdate/nmhw-fwupdate.bb
SRCREV_nmhw-fwupdate = "${AUTOREV}"
#./meta-netmodule-distro/recipes-tools/libnmapp/libnmapp_git.bb
SRCREV_libnmapp = "${AUTOREV}"
#./meta-netmodule-distro/recipes-tools/ssf-mgr/ssf-mgr_git.bb
SRCREV_ssf-mgr = "${AUTOREV}"
#./meta-netmodule-distro/recipes-tools/sys-mon/sys-mon_git.bb
SRCREV_sys-mon = "${AUTOREV}"
#./meta-netmodule-bsp/recipes-bsp/storage-info/storage-info.bb
SRCREV_storage-info = "${AUTOREV}"
#./meta-netmodule-distro/recipes-tools/battery-test/battery-test_git.bb
SRCREV_battery-test = "${AUTOREV}"
#./meta-netmodule-fct/recipes-testing/fct/fct.bb
SRCREV_fct = "${AUTOREV}"
#./meta-netmodule-fct/recipes-testing/provisioning/provisioning.bb
SRCREV_provisioning = "${AUTOREV}"
#./meta-netmodule-fct/recipes-testing/badassbd/badassbd.bb
SRCREV_badassbd = "${AUTOREV}"
#./meta-netmodule-fct/recipes-connectivity/toast/toast.bb
SRCREV_toast = "${AUTOREV}"
#./meta-netmodule-om/recipes-navigation/gpsd/gpsd_om-3.20.bb
SRCREV_gpsd_om = "${AUTOREV}"
#./meta-netmodule-private/recipes-extended/hydra/hydra_1.0.0.bb
SRCREV_hydra = "${AUTOREV}"

@ -1 +1 @@
Subproject commit 417f635fca1aa2484c7ccba9ffbbfe9601d41d66
Subproject commit 0784db7dd0fef6f0621ad8d74372f44e87fef950

View File

@ -0,0 +1,25 @@
# LAYER_CONF_VERSION is increased each time build/conf/bblayers.conf
# changes incompatibly
LCONF_VERSION = "7"
BBPATH = "${TOPDIR}"
BBFILES ?= ""
YOCTOROOT = "${@os.path.abspath(os.path.join("${TOPDIR}", os.pardir))}"
BBLAYERS ?= " \
${YOCTOROOT}/openembedded-core/meta \
${YOCTOROOT}/meta-netmodule-wlan \
${YOCTOROOT}/meta-netmodule-bsp \
${YOCTOROOT}/meta-netmodule-distro \
${YOCTOROOT}/meta-netmodule-private \
${YOCTOROOT}/meta-openembedded/meta-python \
${YOCTOROOT}/meta-openembedded/meta-oe \
${YOCTOROOT}/meta-openembedded/meta-networking \
${YOCTOROOT}/meta-openembedded/meta-filesystems \
${YOCTOROOT}/meta-updater \
${YOCTOROOT}/meta-freescale \
${YOCTOROOT}/meta-ublox-module \
${YOCTOROOT}/meta-netmodule-om \
${YOCTOROOT}/meta-netmodule-fct \
"

48
build-fct/conf/local.conf Normal file
View File

@ -0,0 +1,48 @@
BB_NUMBER_THREADS ?= "8"
PARALLEL_MAKE ?= "-j 8"
PACKAGE_CLASSES ?= "package_rpm"
USER_CLASSES ?= "buildstats image-mklibs image-prelink"
PATCHRESOLVE = "noop"
BB_DISKMON_DIRS = "\
STOPTASKS,${TMPDIR},1G,100K \
STOPTASKS,${DL_DIR},1G,100K \
STOPTASKS,${SSTATE_DIR},1G,100K \
ABORT,${TMPDIR},100M,1K \
ABORT,${DL_DIR},100M,1K \
ABORT,${SSTATE_DIR},100M,1K"
ASSUME_PROVIDED += "libsdl-native"
CONF_VERSION = "1"
EXTRA_IMAGE_FEATURES_append = " debug-tweaks"
ERROR_QA_remove += "version-going-backwards"
#WARN_QA_append += "version-going-backwards"
#https://www.yoctoproject.org/docs/2.5.2/ref-manual/ref-manual.html#ref-classes-insane
#PRSERV_HOST = "localhost:0"
SSTATE_DIR="${YOCTOROOT}/build-common/sstate-cache"
DL_DIR="${YOCTOROOT}/build-common/downloads"
BUILDHISTORY_COMMIT = "1"
BUILDHISTORY_COMMIT_AUTHOR = "Mr Jenkins <alexandre.bard@netmodule.com>"
# Add licences file to the rootfs
COPY_LIC_MANIFEST = "1"
COPY_LIC_DIRS = "1"
LICENSE_CREATE_PACKAGE = "1"
INHERIT += "buildhistory buildstats-summary"
# enable upstream check to use head of branch:
UPSTREAM_CHECK_COMMITS = "1"
YOCTOROOT = "${@os.path.abspath(os.path.join("${TOPDIR}", os.pardir))}"
PREMIRRORS_prepend = "\
git://.*/.* file://${YOCTOROOT}/sla-mirror/ \n \
ftp://.*/.* file://${YOCTOROOT}/sla-mirror/ \n \
http://.*/.* file://${YOCTOROOT}/sla-mirror/ \n \
https://.*/.* file://${YOCTOROOT}/sla-mirror/ \n"
include ../../autorev-packages.inc
include distro_version.inc

View File

@ -0,0 +1 @@
../meta-netmodule-fct/conf

View File

@ -0,0 +1,24 @@
# LAYER_CONF_VERSION is increased each time build/conf/bblayers.conf
# changes incompatibly
LCONF_VERSION = "7"
BBPATH = "${TOPDIR}"
BBFILES ?= ""
YOCTOROOT = "${@os.path.abspath(os.path.join("${TOPDIR}", os.pardir))}"
BBLAYERS ?= " \
${YOCTOROOT}/openembedded-core/meta \
${YOCTOROOT}/meta-netmodule-wlan \
${YOCTOROOT}/meta-netmodule-bsp \
${YOCTOROOT}/meta-netmodule-distro \
${YOCTOROOT}/meta-netmodule-private \
${YOCTOROOT}/meta-openembedded/meta-python \
${YOCTOROOT}/meta-openembedded/meta-oe \
${YOCTOROOT}/meta-openembedded/meta-networking \
${YOCTOROOT}/meta-openembedded/meta-filesystems \
${YOCTOROOT}/meta-updater \
${YOCTOROOT}/meta-freescale \
${YOCTOROOT}/meta-ublox-module \
${YOCTOROOT}/meta-netmodule-om \
"

View File

@ -0,0 +1,48 @@
BB_NUMBER_THREADS ?= "8"
PARALLEL_MAKE ?= "-j 8"
PACKAGE_CLASSES ?= "package_rpm"
USER_CLASSES ?= "buildstats image-mklibs image-prelink"
PATCHRESOLVE = "noop"
BB_DISKMON_DIRS = "\
STOPTASKS,${TMPDIR},1G,100K \
STOPTASKS,${DL_DIR},1G,100K \
STOPTASKS,${SSTATE_DIR},1G,100K \
ABORT,${TMPDIR},100M,1K \
ABORT,${DL_DIR},100M,1K \
ABORT,${SSTATE_DIR},100M,1K"
ASSUME_PROVIDED += "libsdl-native"
CONF_VERSION = "1"
EXTRA_IMAGE_FEATURES_append = " debug-tweaks"
ERROR_QA_remove += "version-going-backwards"
#WARN_QA_append += "version-going-backwards"
#https://www.yoctoproject.org/docs/2.5.2/ref-manual/ref-manual.html#ref-classes-insane
#PRSERV_HOST = "localhost:0"
SSTATE_DIR="${YOCTOROOT}/build-common/sstate-cache"
DL_DIR="${YOCTOROOT}/build-common/downloads"
BUILDHISTORY_COMMIT = "1"
BUILDHISTORY_COMMIT_AUTHOR = "Mr Jenkins <alexandre.bard@netmodule.com>"
# Add licences file to the rootfs
COPY_LIC_MANIFEST = "1"
COPY_LIC_DIRS = "1"
LICENSE_CREATE_PACKAGE = "1"
INHERIT += "buildhistory buildstats-summary"
# enable upstream check to use head of branch:
UPSTREAM_CHECK_COMMITS = "1"
YOCTOROOT = "${@os.path.abspath(os.path.join("${TOPDIR}", os.pardir))}"
PREMIRRORS_prepend = "\
git://.*/.* file://${YOCTOROOT}/sla-mirror/ \n \
ftp://.*/.* file://${YOCTOROOT}/sla-mirror/ \n \
http://.*/.* file://${YOCTOROOT}/sla-mirror/ \n \
https://.*/.* file://${YOCTOROOT}/sla-mirror/ \n"
include ../../autorev-packages.inc
include distro_version.inc

View File

@ -0,0 +1 @@
meta/conf

View File

@ -9,6 +9,7 @@ YOCTOROOT = "${@os.path.abspath(os.path.join("${TOPDIR}", os.pardir))}"
BBLAYERS ?= " \
${YOCTOROOT}/openembedded-core/meta \
${YOCTOROOT}/meta-netmodule-wlan \
${YOCTOROOT}/meta-netmodule-bsp \
${YOCTOROOT}/meta-netmodule-distro \
${YOCTOROOT}/meta-netmodule-private \
@ -19,10 +20,5 @@ BBLAYERS ?= " \
${YOCTOROOT}/meta-updater \
${YOCTOROOT}/meta-freescale \
${YOCTOROOT}/meta-ublox-module \
"
# Distro related layers
BBLAYERS += " \
${@bb.utils.contains_any('DISTRO_TYPE', '-fct -lava', '${YOCTOROOT}/meta-netmodule-fct', '', d)} \
${@bb.utils.contains_any('DISTRO_TYPE', '-vcu', '${YOCTOROOT}/meta-netmodule-om', '', d)} \
${YOCTOROOT}/meta-netmodule-om \
"

View File

@ -1,5 +1,5 @@
BB_NUMBER_THREADS ?= "4"
PARALLEL_MAKE ?= "-j 4"
BB_NUMBER_THREADS ?= "8"
PARALLEL_MAKE ?= "-j 8"
PACKAGE_CLASSES ?= "package_rpm"
USER_CLASSES ?= "buildstats image-mklibs image-prelink"
PATCHRESOLVE = "noop"
@ -7,11 +7,9 @@ BB_DISKMON_DIRS = "\
STOPTASKS,${TMPDIR},1G,100K \
STOPTASKS,${DL_DIR},1G,100K \
STOPTASKS,${SSTATE_DIR},1G,100K \
STOPTASKS,/tmp,100M,100K \
ABORT,${TMPDIR},100M,1K \
ABORT,${DL_DIR},100M,1K \
ABORT,${SSTATE_DIR},100M,1K \
ABORT,/tmp,10M,1K"
ABORT,${SSTATE_DIR},100M,1K"
ASSUME_PROVIDED += "libsdl-native"
CONF_VERSION = "1"
EXTRA_IMAGE_FEATURES_append = " debug-tweaks"
@ -22,11 +20,11 @@ ERROR_QA_remove += "version-going-backwards"
#PRSERV_HOST = "localhost:0"
BUILDHISTORY_COMMIT = "1"
BUILDHISTORY_COMMIT_AUTHOR = "Mr Jenkins <ramon.moesching@netmodule.com>"
SSTATE_DIR="${YOCTOROOT}/build-common/sstate-cache"
DL_DIR="${YOCTOROOT}/build-common/downloads"
# Mirror GIT repo in download folders
BB_GENERATE_MIRROR_TARBALLS = "1"
BUILDHISTORY_COMMIT = "1"
BUILDHISTORY_COMMIT_AUTHOR = "Mr Jenkins <alexandre.bard@netmodule.com>"
# Add licences file to the rootfs
COPY_LIC_MANIFEST = "1"
@ -35,6 +33,9 @@ LICENSE_CREATE_PACKAGE = "1"
INHERIT += "buildhistory buildstats-summary"
# enable upstream check to use head of branch:
UPSTREAM_CHECK_COMMITS = "1"
YOCTOROOT = "${@os.path.abspath(os.path.join("${TOPDIR}", os.pardir))}"
PREMIRRORS_prepend = "\
@ -42,3 +43,7 @@ PREMIRRORS_prepend = "\
ftp://.*/.* file://${YOCTOROOT}/sla-mirror/ \n \
http://.*/.* file://${YOCTOROOT}/sla-mirror/ \n \
https://.*/.* file://${YOCTOROOT}/sla-mirror/ \n"
include ../../autorev-packages.inc
include distro_version.inc

View File

@ -0,0 +1 @@
../meta-netmodule-distro/conf

View File

@ -1,20 +0,0 @@
set -a # exports all variables
# exporting DISTRO*
DISTRO_OSTREE=$DISTRO_OSTREE
DISTRO_TYPE=$DISTRO_TYPE
DISTRO=netmodule-linux$DISTRO_OSTREE$DISTRO_TYPE
if [ -z "$MACHINE" ]; then
. ./machine_select
fi
MACHINE_TYPE=$(echo $MACHINE | rev | cut -f2- -d- | rev)
echo Building for machine $MACHINE, distro: $DISTRO
OSTREE_OSNAME=nm-linux
BB_ENV_EXTRAWHITE="$BB_ENV_EXTRAWHITE MACHINE_TYPE DISTRO_OSTREE DISTRO_TYPE"
. ./openembedded-core/oe-init-build-env

View File

@ -1,4 +0,0 @@
DISTRO_OSTREE=""
DISTRO_TYPE=""
. ./env.common

View File

@ -1,4 +0,0 @@
DISTRO_OSTREE=""
DISTRO_TYPE="-fct"
. ./env.common

View File

@ -1,4 +0,0 @@
DISTRO_OSTREE=""
DISTRO_TYPE="-lava"
. ./env.common

View File

@ -1,4 +0,0 @@
DISTRO_OSTREE=""
DISTRO_TYPE="-minimal"
. ./env.common

View File

@ -1,4 +0,0 @@
DISTRO_OSTREE="-ostree"
DISTRO_TYPE=""
. ./env.common

View File

@ -1,5 +0,0 @@
DISTRO_OSTREE="-ostree"
DISTRO_TYPE="-vcu"
. ./env.common

24
env/common vendored Normal file
View File

@ -0,0 +1,24 @@
if [ -z "$DISTRO" ]; then
echo "No distro selected. Please source a helper script (env/distro/*)"
return
fi
if [ -z "$MACHINE" ]; then
echo "No machine selected. Please source a helper script (env/machine/*)"
return
fi
echo
echo Build parameters:
printf "\tMACHINE = $MACHINE\n"
printf "\tDISTRO = $DISTRO\n"
echo
export DISTRO
export MACHINE
export OSTREE_OSNAME=nm-linux
# Moving back to top yocto directory (env/..)
env_path=${BASH_SOURCE:-$0}
cd $(dirname $env_path)/..
source openembedded-core/oe-init-build-env build$BUILD_FOLDER_APPEND

4
env/distro/base-image vendored Normal file
View File

@ -0,0 +1,4 @@
DISTRO="netmodule-linux"
BUILD_FOLDER_APPEND=""
env_path=${BASH_SOURCE:-$0}
. $(dirname $env_path)/../common

4
env/distro/fct-image vendored Normal file
View File

@ -0,0 +1,4 @@
DISTRO="netmodule-linux-fct"
BUILD_FOLDER_APPEND="-fct"
env_path=${BASH_SOURCE:-$0}
. $(dirname $env_path)/../common

4
env/distro/lava-image vendored Normal file
View File

@ -0,0 +1,4 @@
DISTRO="netmodule-linux-lava"
BUILD_FOLDER_APPEND="-fct"
env_path=${BASH_SOURCE:-$0}
. $(dirname $env_path)/../common

4
env/distro/minimal-image vendored Normal file
View File

@ -0,0 +1,4 @@
DISTRO="netmodule-linux-minimal"
BUILD_FOLDER_APPEND="-minimal"
env_path=${BASH_SOURCE:-$0}
. $(dirname $env_path)/../common

4
env/distro/ostree-image vendored Normal file
View File

@ -0,0 +1,4 @@
DISTRO="netmodule-linux-ostree"
BUILD_FOLDER_APPEND=""
env_path=${BASH_SOURCE:-$0}
. $(dirname $env_path)/../common

4
env/distro/vcu-image vendored Normal file
View File

@ -0,0 +1,4 @@
DISTRO="netmodule-linux-ostree-vcu"
BUILD_FOLDER_APPEND=""
env_path=${BASH_SOURCE:-$0}
. $(dirname $env_path)/../common

View File

@ -4,21 +4,27 @@
PS3='Please choose a machine: '
HW16="nrhw16 - NB800"
HW17="hw17 - NB2800"
HW18="nrhw18 - NB1800"
HW20="nrhw20 - NB1601"
HW21="nmhw21 - VCU1"
HW23="nmhw23 - VCU2"
DLM="nmhw23-dlm - VCU2-DLM variant"
HW24="nrhw24 - NB800 facelift"
HW25="hw25 - TC Router"
HW26="hw26 - NG800"
set -a
select opt in HW16 HW18 HW20 HW21 HW23 HW24 HW26
select opt in HW16 HW17 HW18 HW20 HW21 HW23 DLM HW24 HW25 HW26
do
case $opt in
HW16)
MACHINE=am335x-nrhw16
break
;;
HW17)
MACHINE=armada-385-hw17
break
;;
HW18)
MACHINE=armada-385-nrhw18
break
@ -35,10 +41,18 @@ do
MACHINE=imx8-nmhw23
break
;;
DLM)
MACHINE=imx8-nmhw23-dlm
break
;;
HW24)
MACHINE=am335x-nmhw24
break
;;
HW25)
MACHINE=am335x-hw25
break
;;
HW26)
MACHINE=am335x-hw26
break
@ -48,3 +62,4 @@ do
done
echo $MACHINE
export MACHINE

3
env/machine/hw16 vendored Normal file
View File

@ -0,0 +1,3 @@
MACHINE=am335x-nrhw16
env_path=${BASH_SOURCE:-$0}
. $(dirname $env_path)/../common

3
env/machine/hw17 vendored Normal file
View File

@ -0,0 +1,3 @@
MACHINE=armada-385-hw17
env_path=${BASH_SOURCE:-$0}
. $(dirname $env_path)/../common

3
env/machine/hw18 vendored Normal file
View File

@ -0,0 +1,3 @@
MACHINE=armada-385-nrhw18
env_path=${BASH_SOURCE:-$0}
. $(dirname $env_path)/../common

3
env/machine/hw20 vendored Normal file
View File

@ -0,0 +1,3 @@
MACHINE=am335x-nrhw20
env_path=${BASH_SOURCE:-$0}
. $(dirname $env_path)/../common

3
env/machine/hw21 vendored Normal file
View File

@ -0,0 +1,3 @@
MACHINE=am335x-nmhw21
env_path=${BASH_SOURCE:-$0}
. $(dirname $env_path)/../common

3
env/machine/hw23 vendored Normal file
View File

@ -0,0 +1,3 @@
MACHINE=imx8-nmhw23
env_path=${BASH_SOURCE:-$0}
. $(dirname $env_path)/../common

3
env/machine/hw24 vendored Normal file
View File

@ -0,0 +1,3 @@
MACHINE=am335x-nmhw24
env_path=${BASH_SOURCE:-$0}
. $(dirname $env_path)/../common

3
env/machine/hw25 vendored Normal file
View File

@ -0,0 +1,3 @@
MACHINE=am335x-hw25
env_path=${BASH_SOURCE:-$0}
. $(dirname $env_path)/../common

3
env/machine/hw26 vendored Normal file
View File

@ -0,0 +1,3 @@
MACHINE=am335x-hw26
env_path=${BASH_SOURCE:-$0}
. $(dirname $env_path)/../common

@ -1 +1 @@
Subproject commit dde79e0e441cf0dae95ba42acdb9d81a384541c4
Subproject commit 3dbca0ef2ae1ea3862e540c59ad77adbcb419d57

@ -1 +1 @@
Subproject commit 9051b7c4ea164b5bedca4735359f5ff212802fd6
Subproject commit 901c12f911e4fa4ae351ca6da07e4b4dacd1d6f1

@ -1 +1 @@
Subproject commit 5d4c0fa6b1c61edfe312751a5e4f18fda3ad560c
Subproject commit 30d95eb8c877bb655cfd11a5dd1f7ba0a533e2b7

@ -1 +1 @@
Subproject commit d4fd74fcbef031471264a7df315da6f5e1debe28
Subproject commit 7538f89cfdd7624df5c2a7ba9d3ceb01d8536671

@ -1 +1 @@
Subproject commit 289fccad4e69068cbc9e0991a5a43e856d7ed9ef
Subproject commit 8bd0b8ee7ade4aaec66d0a1dfe4d6aa65e8dd661

@ -1 +1 @@
Subproject commit 17e4deaa531cc1b63e37fea24f95898f1acf4c49
Subproject commit 8a842de32d43fd61c3e99f16d01a81918ed3c5d0

1
meta-netmodule-wlan Submodule

@ -0,0 +1 @@
Subproject commit afeb746c8e8d3b6daf5f05cdb1e692ea593db696

@ -1 +1 @@
Subproject commit a24acf94d48d635eca668ea34598c6e5c857e3f8
Subproject commit 8ff12bfffcf0840d5518788a53d88d708ad3aae0

@ -1 +1 @@
Subproject commit 0ce7008f40a013ad23a3daa92fb547211dbd3e84
Subproject commit 79b59bd378b8d43d86e4c14147a54e8cc7509e4f

@ -1 +1 @@
Subproject commit 28a16ab89ca251748faef601e05764424b9defb3
Subproject commit f2f5ca077baa1f08001cff9608ae59ed4dbeca3d

@ -1 +1 @@
Subproject commit db3ce703d03b18e8a4120969d32ff7f344f34fe9
Subproject commit 8e81d38048c953d0823abf04d5b2506cd988f0bb