summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Document ptest for aktualizrLaurent Bonnans2019-03-121-0/+13
| | | | Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
* oe-selftest: look for expected error in stderr.Patrick Vacek2019-03-121-1/+1
| | | | | | The output was moved from stdout to stderr in a recent aktualizr commit. Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
* Patch valgrind for rpi runsLaurent Bonnans2019-03-122-0/+254
| | | | Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
* Depend on python3-modules and curl for aktualizr-ptestLaurent Bonnans2019-03-121-1/+1
| | | | | | | For python: less headaches, it's already huge anyway. Curl is needed by some shell-backed tests. Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
* Disable ptest for aktualizr by defaultLaurent Bonnans2019-03-121-0/+4
| | | | Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
* Add working ptest suite for aktualizrLaurent Bonnans2019-03-122-1/+33
| | | | Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
* aktualizr: draft of enabling ptestPatrick Vacek2019-03-121-1/+6
| | | | | | | | | Original work from Patrick. Laurent: dropped a patch for a change in aktualizr we now support directly Signed-off-by: Patrick Vacek <patrickvacek@gmail.com> Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
* Bump aktualizrLaurent Bonnans2019-03-121-1/+1
| | | | | | With necessary changes for ptest! Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
* Merge pull request #506 from advancedtelematic/fix/bad-echolbonn2019-03-121-2/+2
|\ | | | | Use 'printf' instead of 'echo -e'
| * Use 'printf' instead of 'echo -e'fix/bad-echoLaurent Bonnans2019-03-111-2/+2
|/ | | | | | Should be less surprising Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
* Merge pull request #478 from liuming50/fix-a-wic-issuePatrick Vacek2019-03-111-6/+18
|\ | | | | wic:plugins:otaimage.py: fix a potential issue
| * wic:plugins:otaimage.py: fix a potential issueMing Liu2019-02-121-6/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | do_image_wic task is a standalone task that depending on do_image_ota_ext4, so it's possible that do_image_wic runs (taskhash contaminated) but do_image_ota_ext4 does not (taskhash not contaminated), in which case, the otaimage would be in DEPLOY_DIR_IMAGE instead of in IMGDEPLOYDIR, so we need check both of them. Also, the logger.error is not supposed to raise a error, it just prints out a error message, so we should use WicError. And another typo is it checks IMGDEPLOYDIR but reports DEPLOY_DIR_IMAGE not exist, also fix that. Signed-off-by: Ming Liu <liu.ming50@gmail.com>
* | Merge pull request #505 from agners/fix-echo-in-aktualizrPatrick Vacek2019-03-111-2/+2
|\ \ | | | | | | aktualizr: use echo -e when using escape sequences
| * | aktualizr: use echo -e when using escape sequencesStefan Agner2019-03-091-2/+2
|/ / | | | | | | | | | | | | | | | | Some shell require the -e argument when using escape sequences in echo. This has been observed when building images on a Fedora machine, where the configuration files ended up including "\n" sequences instead of newlines. Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
* | Merge pull request #503 from liuming50/fix-fit-conf-packagePatrick Vacek2019-03-071-0/+2
|\ \ | | | | | | fit-conf: se PACKAGE_ARCH to ${MACHINE_ARCH}
| * | fit-conf: se PACKAGE_ARCH to ${MACHINE_ARCH}Ming Liu2019-03-041-0/+2
| | | | | | | | | | | | | | | | | | | | | fit-conf should be a machine specific package instead of being a arch specific package. Signed-off-by: Ming Liu <liu.ming50@gmail.com>
* | | Merge pull request #504 from advancedtelematic/fix/rm-connmanPatrick Vacek2019-03-0713-9/+51
|\ \ \ | | | | | | | | Remove connman
| * | | Document necessary integration of network connectivityfix/rm-connmanLaurent Bonnans2019-03-061-0/+2
| | | | | | | | | | | | | | | | Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
| * | | Replace connman with systemd-networkd on raspberrypiLaurent Bonnans2019-03-063-2/+5
| | | | | | | | | | | | | | | | Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
| * | | Define virtual/network-configurationLaurent Bonnans2019-03-069-9/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Now provided by connman and networkd-dhcp-conf, added to images in our supported platforms Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
| * | | Replace connman with systemd-networkd on qemux86-64Laurent Bonnans2019-03-054-1/+30
| | | | | | | | | | | | | | | | Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
| * | | Remove connman* from base IMAGE_INSTALL_appendLaurent Bonnans2019-03-058-6/+7
| |/ / | | | | | | | | | | | | | | | | | | No sense to force that if poky does not, let's move it to platform-specific for now. Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
* | | Merge pull request #501 from advancedtelematic/fix/garage-sign-cachingPatrick Vacek2019-03-073-42/+9
|\ \ \ | |/ / |/| | Simplify garage-sign fetching for aktualizr
| * | Document GARAGE_SIGN_AUTOVERSIONLaurent Bonnans2019-03-071-0/+1
| | | | | | | | | | | | Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
| * | Simplify garage-sign fetching for aktualizrfix/garage-sign-cachingLaurent Bonnans2019-03-042-41/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | Two modes: - `GARAGE_SIGN_AUTOVERSION=0`: use archive and version from aktualizr's recipe - `GARAGE_SIGN_AUTOVERSION=1`: let aktualizr fetching it automatically Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
| * | Bump aktualizr to last masterLaurent Bonnans2019-03-041-1/+1
|/ / | | | | | | | | | | Includes the new way of fetching garage-signa. Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
* | Merge pull request #499 from agners/move-warningPatrick Vacek2019-02-282-3/+4
|\ \ | | | | | | Move warning about insecure practise to the correct recipe
| * | Move warning about insecure practise to the correct recipeStefan Agner2019-02-272-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | When SOTA_DEPLOY_CREDENTIALS got introduced deployment of the provisioning credientials has been moved to aktualizr-ca-implicit-prov-creds. Move the warning accordingly. Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
* | | Merge pull request #498 from advancedtelematic/doc/auto-reboot-configBen Luck2019-02-272-1/+2
|\ \ \ | |/ / |/| | README: document auto-reboot config feature.
| * | README: document auto-reboot config feature.doc/auto-reboot-configPatrick Vacek2019-02-272-1/+2
|/ / | | | | | | | | Signed-off-by: Patrick Vacek <patrickvacek@gmail.com> Suggested-by: Ben Luck <benjamin.luck@here.com>
* | Merge pull request #492 from ↵Patrick Vacek2019-02-261-1/+1
|\ \ | | | | | | | | | | | | advancedtelematic/fix/dont-send-mnfst-if-pending-updts Switch to the aktualizr's master head
| * | Switch to the aktualizr's master headfix/dont-send-mnfst-if-pending-updtsMike Sul2019-02-261-1/+1
| | | | | | | | | | | | Signed-off-by: Mike Sul <ext-mykhaylo.sul@here.com>
* | | Merge pull request #494 from advancedtelematic/test/rm-add-package-testPatrick Vacek2019-02-261-29/+0
|\ \ \ | | | | | | | | Remove add package test
| * | | updater.py: remove test_add_package.test/rm-add-package-testPatrick Vacek2019-02-261-29/+0
| |/ / | | | | | | | | | | | | | | | | | | | | | It was a nice idea when we were less confident about bitbaking and oe-selftest, but at this point, it is redundant and provides no useful information while adding extraneous time to the already long test suite. Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
* | | Merge pull request #493 from advancedtelematic/fix/meta-python-dependPatrick Vacek2019-02-269-23/+16
|\ \ \ | |/ / |/| | Add meta-python layer to all platforms
| * | updater.py: no longer necessary to add meta-python for rpi.fix/meta-python-dependPatrick Vacek2019-02-261-8/+0
| | | | | | | | | | | | Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
| * | Reformat default bblayers.Patrick Vacek2019-02-267-12/+13
| | | | | | | | | | | | | | | | | | | | | Put each item on its own line to make versioning and manual modififcation easier going forward. Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
| * | Add meta-python layer to all platformsLaurent Bonnans2019-02-268-9/+9
|/ / | | | | | | | | | | | | | | Needed for meta-oe since this change: http://git.openembedded.org/meta-openembedded/commit/?id=987d28c27e70ba12edf2b99745c13e7525206f4a Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
* | Merge pull request #489 from ↵Patrick Vacek2019-02-252-3/+11
|\ \ | | | | | | | | | | | | advancedtelematic/fix/OTA-2211/simultaneous-bitbaking image_types_ostree: Add a unique ref to fix simultaneous bitbaking.
| * | image_types_ostree: Add a unique ref to fix simultaneous bitbaking.fix/OTA-2211/simultaneous-bitbakingPatrick Vacek2019-02-212-3/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To enable simultaneous bitbaking of two images with the same branch name, create a new ref in the OSTree repo using the basename of the image. As @OYTIS has pointed out, this probably won't solve every problem that might come up with simultaneous bitbaking, such as if the two images use different bootloaders. However, it does solve the immediate problem that comes up with our primary-image + secondary-image example. Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
* | | Merge pull request #490 from advancedtelematic/fix/rm-api-gateway-urlPatrick Vacek2019-02-251-1/+6
|\ \ \ | | | | | | | | aktualizr-auto-prov-creds: remove API Gateway URL if it exists.
| * | | aktualizr-auto-prov-creds: remove API Gateway URL if it exists.fix/rm-api-gateway-urlPatrick Vacek2019-02-211-1/+6
| |/ / | | | | | | | | | | | | | | | It will only be used by garage-sign. Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
* | | Merge pull request #486 from advancedtelematic/feat/OTA-2135/auto-rebootlbonn2019-02-253-1/+25
|\ \ \ | |/ / |/| | OTA-2135: Aktualizr's config and recipe to auto reboot just after update
| * | Merge branch 'master' into feat/OTA-2135/auto-rebootfeat/OTA-2135/auto-rebootmike-sul2019-02-211-0/+1
| |\ \ | |/ / |/| |
* | | Merge pull request #476 from advancedtelematic/bugfix/OTA-1436/secondary-resultslbonn2019-02-191-1/+1
|\ \ \ | |_|/ |/| | Bump aktualizr (master)
| * | Bump aktualizrbugfix/OTA-1436/secondary-resultsLaurent Bonnans2019-02-111-1/+1
| | | | | | | | | | | | | | | | | | | | | To 2aa9d93ccea09ec327789eecf858de561ef632da, which changed the installation result reporting format Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
| | * OTA-2135: Switch to the aktualizr verison that includes the auto reboot ↵Mike Sul2019-02-211-1/+1
| | | | | | | | | | | | | | | | | | functionality Signed-off-by: Mike Sul <ext-mykhaylo.sul@here.com>
| | * OTA-2135: Aktualizr's config and recipe to auto reboot just after updateMike Sul2019-02-192-0/+23
| |/ |/| | | | | Signed-off-by: Mike Sul <mykhaylo.sul@innoteka.com>
* | Merge pull request #469 from liuming50/fix-wrong-operatorPatrick Vacek2019-02-121-1/+1
|\ \ | |/ |/| sota.bbclass: fix a variable assignment regression
| * sota.bbclass: fix a variable assignment regressionMing Liu2019-01-311-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | A regression was introduced by commit 9dcfcdb9: [ classes, images: Use standard variables for initramfs ] it replaced OSTREE_INITRAMFS_IMAGE with INITRAMFS_FSTYPES which is fine, but the '??=' should be changed to "?=" as well, or else it will not take effect since INITRAMFS_FSTYPES's already set in bitbake.conf with '?='. Signed-off-by: Ming Liu <liu.ming50@gmail.com>