summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Dont patch credentialsfeat/OTA-3115/Dont-patch-credentialsZee3141592019-07-301-8/+11
| | | | | | | | | | | | Unzip files in tmp directory, updated comments Fixed a zip bug Grouped elements with warnings With a fancier loop Signed-off-by: Zee314159 <252806294@qq.com>
* Merge pull request #565 from ricardosalveti/masterPatrick Vacek2019-07-253-0/+19
|\ | | | | sota: add support for freedom-u540
| * sota: add support for freedom-u540Ricardo Salveti2019-07-243-0/+19
| | | | | | | | | | | | fitImage used by default. Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
* | Merge pull request #566 from ricardosalveti/initramfsPatrick Vacek2019-07-251-0/+3
|\ \ | | | | | | initramfs-ostree-image: unset EXTRA_IMAGEDEPENDS to avoid extra dependencies
| * | initramfs-ostree-image: unset EXTRA_IMAGEDEPENDS to avoid extra dependenciesinitramfsRicardo Salveti2019-07-241-0/+3
| |/ | | | | | | | | | | | | | | It is common for machine configurations to set EXTRA_IMAGEDEPENDS, which can end up causing circular dependencies when building the initramfs image (they are usually only required for the actual rootfs image). Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
* | Merge pull request #562 from ↵Patrick Vacek2019-07-241-1/+7
|\ \ | |/ |/| | | | | advancedtelematic/feat/OTA-2844/oe-selftests-use-wait-until-provisioned feat/OTA-2844/oe-selftests-use-wait-until-provisioned
| * Checked stderr and stdoutZee3141592019-07-241-1/+3
| | | | | | | | Signed-off-by: Zee314159 <252806294@qq.com>
| * Removed unnecessary code and added commentsfeat/OTA-2844/oe-selftests-use-wait-until-provisionedZee3141592019-07-241-5/+3
| | | | | | | | Signed-off-by: Zee314159 <252806294@qq.com>
| * fixed bugsZee3141592019-07-241-1/+7
| | | | | | | | Signed-off-by: Zee314159 <252806294@qq.com>
* | Move `before_script` gitlab steps to `script` (#563)lbonn2019-07-244-12/+28
|\ \ | | | | | | Move `before_script` gitlab steps to `script`
| * | Longer timeout for primary/secondary oe-selftestci/flexi-tweaksLaurent Bonnans2019-07-241-1/+1
| | | | | | | | | | | | Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
| * | Allow fetching aktualizr from a tagLaurent Bonnans2019-07-241-5/+22
| | | | | | | | | | | | | | | | | | Hacky but works Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
| * | Move `before_script` gitlab steps to `script`Laurent Bonnans2019-07-242-6/+5
| |/ | | | | | | | | | | | | So that `before_script` can be used for additional steps when sub-classing Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
* | Merge pull request #557 from agners/follow-fhsPatrick Vacek2019-07-241-9/+34
|\ \ | |/ |/| Follow Filesystem Hierarchy Standard
| * image_types_ostree: add /usr/local supportStefan Agner2019-07-191-0/+25
| | | | | | | | | | | | | | | | | | | | Add /usr/local support as outlined in OSTree documentation. This makes sure that a writeable and persistent /usr/local directory is available. See also: https://ostree.readthedocs.io/en/latest/manual/adapting-existing/ Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
| * image_types_ostree: make root directory only readable by rootStefan Agner2019-07-191-2/+2
| | | | | | | | | | | | | | Make the root home directory only accessible by root. Use 700 as commonly used for the root home directory. Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
| * image_types_ostree: add top level directories unconditionallyStefan Agner2019-07-191-7/+7
| | | | | | | | | | | | | | | | The Filesystem Hierarchy Standard defines several top-level directory to be writeable. Add those even in the absence of files installed by OpenEmbedded so a user might actually use them. Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
* | Output site.conf during CI configure step (#560)lbonn2019-07-235-196/+7
|\ \ | | | | | | Output site.conf during CI configure step
| * | Remove Jenkins references in meta-updaterci/conf-debugLaurent Bonnans2019-07-233-192/+0
| | | | | | | | | | | | | | | | | | Was killed for good Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
| * | Fix issue with gitlab and Docker 19Laurent Bonnans2019-07-231-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | (use docker 18) See https://gitlab.com/gitlab-org/gitlab-runner/issues/4499 Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
| * | Output site.conf during CI configure stepLaurent Bonnans2019-07-231-0/+3
|/ / | | | | | | Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
* | openssl: Remove redundant patch (#559)lbonn2019-07-232-33/+0
|\ \ | | | | | | openssl: Remove redundant patch
| * | openssl: Remove redundant patchAlistair Francis2019-07-222-33/+0
|/ / | | | | | | | | | | Remove the patch as it is already applied in the meta layer. Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
* | Give more memory for minnowboard selftest (#556)lbonn2019-07-191-1/+1
|\ \ | | | | | | Give more memory for minnowboard selftest
| * | Give more memory for minnowboard selftestci/fix-minnowboardLaurent Bonnans2019-07-191-1/+1
| | | | | | | | | | | | Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
* | | Merge pull request #550 from advancedtelematic/fix/branch-rebuildlbonn2019-07-192-3/+3
|\ \ \ | |/ / |/| | Move OSTREE_BRANCHNAME to image_types_ostree.bbclass.
| * | Move OSTREE_BRANCHNAME to image_types_ostree.bbclass.fix/branch-rebuildPatrick Vacek2019-07-182-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | If it is set in sota.bbclass and overwritten in local.conf, bitbake will rebuild everything. Now bitbake should only rerun the commands in image_types_ostree (and image_types_ota) as expected. Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
* | | Fix pre-clean of repo manifests (#554)lbonn2019-07-191-2/+4
|\ \ \ | | | | | | | | Fix pre-clean of repo manifests
| * | | Fix pre-clean of repo manifestsLaurent Bonnans2019-07-191-2/+4
|/ / / | | | | | | | | | | | | | | | Was causing problem with cache when updater-repo was updated Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
* | | Ci/ptest fixes (#540)lbonn2019-07-195-5/+38
|\ \ \ | | | | | | | | Ci/ptest fixes
| * | | Fix raspberrypi selftest gitlab definitionci/ptest-fixesLaurent Bonnans2019-07-181-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
| * | | Give 768M of ram to ptestLaurent Bonnans2019-07-181-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
| * | | Avoid unicode decode error in ptestLaurent Bonnans2019-07-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | The full suite logs often contains invalid utf8 sequences. Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
| * | | Also install net-tools on target for ptestLaurent Bonnans2019-07-181-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
| * | | Bump aktualizr with some ptest fixesLaurent Bonnans2019-07-181-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
| * | | Include a valgrind fix for Openssl 1.1.1cLaurent Bonnans2019-07-182-0/+33
| | | | | | | | | | | | | | | | Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
* | | | Merge pull request #539 from doanac/customize-targetsPatrick Vacek2019-07-192-0/+7
|\ \ \ \ | | | | | | | | | | Allow customization of data in targets.json
| * | | | Allow customization of data in targets.jsonAndy Doan2019-07-172-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows a user to define their own script to be executed after a target has been added to the repository but not yet signed. Signed-off-by: Andy Doan <andy@foundries.io>
* | | | | Merge pull request #551 from advancedtelematic/ci/pin-fixlbonn2019-07-181-0/+1
|\ \ \ \ \ | |_|/ / / |/| | | | Fix PIN_LIST in checkout-oe.sh
| * | | | Fix PIN_LIST in checkout-oe.shLaurent Bonnans2019-07-181-0/+1
|/ / / / | | | | | | | | | | | | | | | | | | | | It didn't work if the manifest already had a revision specified Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
* | | | Work around oe-selftest bug on sumo/thud (#549)lbonn2019-07-181-0/+5
|\ \ \ \ | |_|/ / |/| | | Work around oe-selftest bug on sumo/thud
| * | | Work around oe-selftest bug on sumo/thudci/fix-oe-oldLaurent Bonnans2019-07-181-0/+5
|/ / / | | | | | | | | | Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
* | | Merge pull request #537 from advancedtelematic/ci/oe-selftestlbonn2019-07-1721-124/+419
|\ \ \ | |/ / |/| | Ci/oe selftest
| * | Reusable meta-updater pipeline suiteci/oe-selftestLaurent Bonnans2019-07-168-48/+230
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Squashed: * Oe-selftest GitLab pipeline stage * Use credentials for CI's oe-selftest * Setup kvm trick for docker on CI The gid of the kvm group needs to match the one from the host * Run ci scripts from Docker images * Template out jobs and split .gitlab-ci.yml To be easily reused in other branches and projects Rely on this gitlab feature: https://docs.gitlab.com/ee/ci/yaml/#extends * More flexible checkout script for CI - can work without $CURRENT_PROJECT (checks out everything) - can take a list of pinned versions * Add optional CI jobs ptest and other oe-selftests * Publish bitbaked images as artifacts Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
| * | Gitlab pipeline for building core-image-minimalLaurent Bonnans2019-07-168-14/+147
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Including these points (initially as separate commits): * Try caching updater-repo in gitlab * Only patch aktualizr recipe in CI if needed * Run under user 4321 in bitbake docker image * Add ability to supply METADIR to envsetup.sh So that we can bypass the "relative path from the script" trick that doesn't work with symlinks. * Checkout the PR base branch * do not run on pushes * run on runners with "gitlab" tag * Print all revisions after repo checkout on CI * Pull CI image from the base branch instead of master * More robust checkout in CI * Only store updater-repo artifacts for one day * Use "stretch" instead of "stable" for Debian release in Dockerfile (in fact, stable just changed to buster) * Move UPDATER_REPO variable out of .gitlab-ci.yml To be defined in the project's settings * Make docker CI stage buildable on shared runners Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
| * | Fix ptest build after recent aktualizr changesLaurent Bonnans2019-07-161-1/+1
| | | | | | | | | | | | Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
| * | Use 128M by default for qemu in oe-selftestsLaurent Bonnans2019-07-164-5/+9
| | | | | | | | | | | | Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
| * | Fix race condition in oe-selftest HSM testLaurent Bonnans2019-07-151-7/+6
| | | | | | | | | | | | Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
| * | Do not push ostree images during most of oe-selftestLaurent Bonnans2019-07-152-0/+10
| | | | | | | | | | | | | | | | | | One failure point less Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
| * | Fix some oe-selftest timeouts issuesLaurent Bonnans2019-07-152-8/+12
| | | | | | | | | | | | | | | | | | Was causing problems on CI Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>