summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * image_types_ostree/ota: move home physically to /var/rootdirs/homeStefan Agner2020-04-272-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of using the double indirection mode /home -> /var/rootdirs/home -> /sysroot/home move the home directory physically into /var/rootdirs. This allows to use the --modern flag when initializing the file system. The "old" style is still supported, and does make sense in case the home directories need to be shared between multiple deployments. Since multiple deployments is not a use case in meta-updater use the /var approach. See also: https://github.com/ostreedev/ostree/issues/2085. The modern flag also gets rid of dev, proc, root, run, sys and tmp. All of them have been empty and unused. Note: This change cannot be pushed through updates as this is an initial deployment setting. Only devices provisioned with images built with this change applied will use the new layout. Updates will continue to work on both systems as the symlink from the deployment stays the same (first indirection is still /home -> /var/rootdirs/home). Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
| * image_types_ostree/ota: do not commit homes to the OSTreeStefan Agner2020-04-272-9/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The home directory currently are commited to the OSTree, presumably to then use it for the deployment. However, we do have access to the original rootfs in the OSTree deployment tasks (do_image_ota) hence transferring the files "via OSTree" is not necessary. We do already carry over some files from the original OE rootfs to /var/sota. Follow this approach for /var/local and /home as well. The home will still be stored in the sysroot as documented in https://ostree.readthedocs.io/en/latest/manual/adapting-existing/. Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
| * image_types_ostree: use hardlink treeStefan Agner2020-04-271-5/+15
| | | | | | | | | | | | | | | | | | | | | | Instead of copying the files to be commited to the ostree just use a hardlink tree. This improves performance and wasts less diskspace. When using this method the root directory has already the correct permission bits set. Also get rid of the unnecessary sync. This halfs the execution time of the do_image_ostree tasks in my measurments. Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
| * image_types_ostree: drop unnecessary tmp handlingStefan Agner2020-04-271-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | The current code clears tmp and then creates a symlink inside it to /sysroot/tmp: tmp └── tmp -> sysroot/tmp This is likely a mistake and the root tmp should have pointed to sysroot/tmp. However, since /tmp is mounted as a tmpfs anyways, we can get rid of all this logic. Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
| * image_types_ota: export OSTREE_BOOT_PARTITION when neededStefan Agner2020-04-271-2/+5
| | | | | | | | | | | | | | | | The environment variable OSTREE_BOOT_PARTITION is only used when using GRUB. Move the export into the if statement. Also add a comment why manually adding /boot/loader{.0} directory is necessary. Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
* | Merge pull request #717 from advancedtelematic/feat/2020.6Patrick Vacek2020-04-301-4/+4
|\ \ | | | | | | aktualizr: Update to 2020.6 release and garage-sign 0.7.1.
| * | aktualizr: Update to 2020.6 release and garage-sign 0.7.1.feat/2020.6Patrick Vacek2020-04-301-4/+4
|/ / | | | | | | Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
* | Merge pull request #714 from liuming50/fix-a-aktualizr-dependency-issuePatrick Vacek2020-04-281-1/+1
|\ \ | | | | | | aktualizr: fix a dependency QA warning
| * | aktualizr: fix a dependency QA warningMing Liu2020-04-271-1/+1
|/ / | | | | | | | | | | | | | | | | This fixes a following QA warning: | WARNING: aktualizr do_package_qa: QA Issue: aktualizr rdepends on | u-boot-fw-utils, but it isn't a build dependency, missing | u-boot-fw-utils in DEPENDS or PACKAGECONFIG? [build-deps] Signed-off-by: Ming Liu <ming.liu@toradex.com>
* | Merge pull request #712 from advancedtelematic/feat/track-network-usagePatrick Vacek2020-04-221-0/+1
|\ \ | | | | | | aktualizr: Use systemd IP accounting.
| * | aktualizr: Use systemd IP accounting.feat/track-network-usagePatrick Vacek2020-04-221-0/+1
|/ / | | | | | | | | | | | | This allows you to see how much bandwidth was used with `systemd status aktualizr`. Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
* | Merge pull request #711 from advancedtelematic/fix/ptest-skip-ip-secondaryPatrick Vacek2020-04-091-1/+1
|\ \ | |/ |/| aktualizr: Update to latest for ptest fix.
| * aktualizr: Update to latest for ptest fix.fix/ptest-skip-ip-secondaryPatrick Vacek2020-04-081-1/+1
|/ | | | Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
* Merge pull request #710 from advancedtelematic/fix/envsetup-zshlbonn2020-04-031-10/+22
|\ | | | | Fix envsetup when run in zsh
| * Fix envsetup when run in zshfix/envsetup-zshLaurent Bonnans2020-04-031-10/+22
|/ | | | | | Now also works with zsh < 5.5 Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
* Merge pull request #705 from advancedtelematic/feat/tuf-cli-aws-bucketPatrick Vacek2020-04-021-5/+5
|\ | | | | aktualizr: Get garage-sign from the new AWS bucket.
| * aktualizr: Bump to latest and get garage-sign from the new AWS bucket.feat/tuf-cli-aws-bucketPatrick Vacek2020-04-021-5/+5
|/ | | | | | | Also bump the garage-sign version. New version includes fixes for supporting targets > 2 GB. Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
* Merge pull request #704 from shr-project/jansa/dunfellPatrick Vacek2020-03-251-1/+1
|\ | | | | layer.conf: update LAYERSERIES_COMPAT for dunfell
| * layer.conf: update LAYERSERIES_COMPAT for dunfellMartin Jansa2020-03-251-1/+1
| | | | | | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* | Merge pull request #699 from advancedtelematic/feat/2020.4Patrick Vacek2020-03-252-6/+6
|\ \ | |/ |/| aktualizr: Bump to latest along with garage-sign.
| * Fix oe-selftest log message casefeat/2020.4Laurent Bonnans2020-03-251-2/+2
| | | | | | | | | | | | Was changed recently Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
| * aktualizr: Bump to 2020.4 and latest garage-sign.Patrick Vacek2020-03-241-4/+4
|/ | | | Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
* Merge pull request #697 from ↵Patrick Vacek2020-03-162-2/+4
|\ | | | | | | | | advancedtelematic/fix/primary-secondary-communication/wait-till-network-up fix: run aktualizr service after network is online
| * fix: run aktualizr service after network is onlinefix/primary-secondary-communication/wait-till-network-upMykhaylo Sul2020-03-122-2/+4
|/ | | | Signed-off-by: Mykhaylo Sul <ext-mykhaylo.sul@here.com>
* Merge pull request #695 from advancedtelematic/fix/agl-renesas-buildPatrick Vacek2020-03-121-3/+4
|\ | | | | Rename defconfig and bootfiles
| * Rename defconfig and bootfilesfix/agl-renesas-buildMinori Yasumura2020-03-041-3/+4
| | | | | | | | | | | | The file name of sota has been changed in AGL, so change it to apply. Signed-off-by: Minori Yasumura <minori@witz-inc.co.jp>
* | Merge pull request #696 from ↵lbonn2020-03-102-1/+2
|\ \ | | | | | | | | | | | | advancedtelematic/feat/OTA-4524/secondary-auto-reboot Secondary auto-reboot support
| * | Properly track SOTA_SECONDARY_CONFIG dependencyfeat/OTA-4524/secondary-auto-rebootLaurent Bonnans2020-03-101-0/+1
| | | | | | | | | | | | Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
| * | Bump aktualizrLaurent Bonnans2020-03-101-1/+1
|/ / | | | | | | | | | | For secondary auto-reboot support Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
* | Merge pull request #694 from advancedtelematic/fix/boost-ptestPatrick Vacek2020-03-053-3/+62
|\ \ | |/ |/| Fix/boost ptest
| * Fix aktualizr-ptest shlib yocto errorsfix/boost-ptestLaurent Bonnans2020-03-051-0/+2
| | | | | | | | Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
| * aktualizr: remove unnecessary rm.Patrick Vacek2020-03-041-3/+0
| | | | | | | | | | | | | | libuptiny (the "partial" subdirectory) and its dependencies were removed from the aktualizr repo a while ago. Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
| * boost: add patch to fix ptest errors from a missing typedef.Patrick Vacek2020-03-042-0/+60
|/ | | | | Suggested-by: Kostiantyn Bushko <kbushko@intellias.com> Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
* Merge pull request #690 from advancedtelematic/feat/2020.3Patrick Vacek2020-02-281-4/+4
|\ | | | | aktualizr: Update to 2020.3 release.
| * aktualizr: Update to 2020.3 release.feat/2020.3Patrick Vacek2020-02-281-4/+4
|/ | | | | | Update garage-sign to the latest as well. Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
* Merge pull request #689 from advancedtelematic/fix/sota-bleeding-nativePatrick Vacek2020-02-272-0/+5
|\ | | | | sota_bleeding: Also set aktualizr-native to the latest.
| * oe-selftest.sh: This also now requires setting git identity.fix/sota-bleeding-nativePatrick Vacek2020-02-271-0/+4
| | | | | | | | | | | | Not sure why this only started cropping up now. Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
| * sota_bleeding: Also set aktualizr-native to the latest.Patrick Vacek2020-02-271-0/+1
|/ | | | | | I'm a bit surprised we never noticed this was missing! Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
* Merge pull request #685 from advancedtelematic/fix/doc-linkPatrick Vacek2020-02-211-2/+2
|\ | | | | image_types_ostree: update doc link.
| * image_types_ostree: update doc link.fix/doc-linkPatrick Vacek2020-02-181-2/+2
| | | | | | | | | | | | | | Most of the README content has been moved to the docs portal, so provide the direct link. Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
* | Merge pull request #686 from advancedtelematic/fix/shared-lib-nameslbonn2020-02-191-7/+7
|\ \ | |/ |/| Update aktualizr recipe to use new .so names
| * Update aktualizr recipe to use new .so namesfix/shared-lib-namesLaurent Bonnans2020-02-191-7/+7
|/ | | | | | Aktualizr and garage-sign are also bumped in the process. Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
* Merge pull request #675 from advancedtelematic/feat/OTA-4310/non-ostree/oe-testsPatrick Vacek2020-02-173-0/+28
|\ | | | | Feat/ota 4310/non ostree/oe tests
| * test: shared cred provisioning for non-ostree casefeat/OTA-4310/non-ostree/oe-testsKostiantyn Bushko2020-02-143-0/+28
|/ | | | Signed-off-by: Kostiantyn Bushko <kbushko@intellias.com>
* Merge pull request #683 from advancedtelematic/fix/git-repo-idlbonn2020-02-121-0/+4
|\ | | | | Manually set a git identity in CI
| * Manually set a git identity in CIfix/git-repo-idLaurent Bonnans2020-02-121-0/+4
|/ | | | | | repo cannot do without right now Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
* Merge pull request #678 from ↵Mike Sul2020-02-114-6/+6
|\ | | | | | | | | advancedtelematic/fix/ip-secondary-network/non-intrusive-internal-network fix: make secondaries' network less intrusive
| * fix: make secondaries' network less intrusivefix/ip-secondary-network/non-intrusive-internal-networkMykhaylo Sul2020-02-104-6/+6
|/ | | | Signed-off-by: Mykhaylo Sul <ext-mykhaylo.sul@here.com>
* Merge pull request #669 from liuming50/fix-some-problems-in-image-recipesPatrick Vacek2020-02-105-9/+4
|\ | | | | Fix some problems in image recipes
| * meta: move HOSTTOOLS definitions to sota.conf.incMing Liu2020-01-304-7/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | HOSTTOOLS and HOSTTOOLS_NONFATAL are global variables that being handled in base_eventhandler, so they must be defined in config files or in INHERIT classes or classes being inherited by base.bbclass, or else we might run into the following problems: ``` $ bitbake pkgname $ bitbake imgname ``` the HOSTTOOLS and HOSTTOOLS_NONFATAL in the above image recipe, for instance, 'repo python' in image_repo_manifest.bbclass, they would not be copied to HOSTTOOLS_DIR. Signed-off-by: Ming Liu <liu.ming50@gmail.com>