summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* 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>
| * | Factor out ugly function in oe-selftestsLaurent Bonnans2019-07-155-62/+27
| | | | | | | | | | | | Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
| * | Fix aktualizr-native run in oe-selftestLaurent Bonnans2019-07-153-24/+22
|/ / | | | | | | | | | | | | | | | | | | It did not work when using an empty build dir with sstate-cache, the proper working way is to bitbake build_sysroots. Also change the way we fetches some of the akautalizr package files which was broken too. Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
* | Merge pull request #536 from ricardosalveti/masterPatrick Vacek2019-07-112-41/+1
|\ \ | | | | | | Use libp11 from meta-oe upstream
| * | softhsm-testtoken: add opensc to rdependsRicardo Salveti2019-07-031-1/+1
| | | | | | | | | | | | | | | | | | Add opensc to rdepends as it requires pkcs11-tool. Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
| * | libp11: remove recipe, prefer recipe from meta-oeRicardo Salveti2019-07-031-40/+0
| | | | | | | | | | | | | | | | | | | | | meta-oe now ships with libp11 0.4.10, which is newer than the revision used by this recipe. Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
* | | Merge pull request #533 from ↵Patrick Vacek2019-07-102-12/+2
|\ \ \ | | | | | | | | | | | | | | | | advancedtelematic/refact/OTA-2488/virtual-secondary-refactory OTA-2488: Remove SOTA_SECONDARY_CONFIG_DIR configuration variable
| * | | OTA-2488: Remove SOTA_SECONDARY_CONFIG_DIR configuration variable (old way ↵refact/OTA-2488/virtual-secondary-refactoryMike Sul2019-07-102-12/+2
| |/ / | | | | | | | | | | | | | | | to configure secondaries). Bump corresponding version of aktualizr. Signed-off-by: Mike Sul <ext-mykhaylo.sul@here.com>
* | | Merge pull request #538 from ↵Patrick Vacek2019-07-102-2/+2
|\ \ \ | |/ / |/| / | |/ | | advancedtelematic/fix/ip-secondary-oeselftest/timeout Increase time to wait for secondaries registration at Primary