| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
|\ \
| | |
| | | |
aktualizr: Update to 2020.6 release and garage-sign 0.7.1.
|
|/ /
| |
| |
| | |
Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
|
|\ \
| | |
| | | |
aktualizr: fix a dependency QA warning
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
|\ \
| | |
| | | |
aktualizr: Use systemd IP accounting.
|
|/ /
| |
| |
| |
| |
| |
| | |
This allows you to see how much bandwidth was used with `systemd status
aktualizr`.
Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
|
|\ \
| |/
|/| |
aktualizr: Update to latest for ptest fix.
|
|/
|
|
| |
Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
|
|\
| |
| | |
Fix envsetup when run in zsh
|
|/
|
|
|
|
| |
Now also works with zsh < 5.5
Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
|
|\
| |
| | |
aktualizr: Get garage-sign from the new AWS bucket.
|
|/
|
|
|
|
|
| |
Also bump the garage-sign version. New version includes fixes for
supporting targets > 2 GB.
Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
|
|\
| |
| | |
layer.conf: update LAYERSERIES_COMPAT for dunfell
|
| |
| |
| |
| | |
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
|
|\ \
| |/
|/| |
aktualizr: Bump to latest along with garage-sign.
|
| |
| |
| |
| |
| |
| | |
Was changed recently
Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
|
|/
|
|
| |
Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
|
|\
| |
| |
| |
| | |
advancedtelematic/fix/primary-secondary-communication/wait-till-network-up
fix: run aktualizr service after network is online
|
|/
|
|
| |
Signed-off-by: Mykhaylo Sul <ext-mykhaylo.sul@here.com>
|
|\
| |
| | |
Rename defconfig and bootfiles
|
| |
| |
| |
| |
| |
| | |
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>
|
|\ \
| | |
| | |
| | |
| | | |
advancedtelematic/feat/OTA-4524/secondary-auto-reboot
Secondary auto-reboot support
|
| | |
| | |
| | |
| | | |
Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
|
|/ /
| |
| |
| |
| |
| | |
For secondary auto-reboot support
Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
|
|\ \
| |/
|/| |
Fix/boost ptest
|
| |
| |
| |
| | |
Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
|
| |
| |
| |
| |
| |
| |
| | |
libuptiny (the "partial" subdirectory) and its dependencies were removed
from the aktualizr repo a while ago.
Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
|
|/
|
|
|
| |
Suggested-by: Kostiantyn Bushko <kbushko@intellias.com>
Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
|
|\
| |
| | |
aktualizr: Update to 2020.3 release.
|
|/
|
|
|
|
| |
Update garage-sign to the latest as well.
Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
|
|\
| |
| | |
sota_bleeding: Also set aktualizr-native to the latest.
|
| |
| |
| |
| |
| |
| | |
Not sure why this only started cropping up now.
Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
|
|/
|
|
|
|
| |
I'm a bit surprised we never noticed this was missing!
Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
|
|\
| |
| | |
image_types_ostree: update doc link.
|
| |
| |
| |
| |
| |
| |
| | |
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>
|
|\ \
| |/
|/| |
Update aktualizr recipe to use new .so names
|
|/
|
|
|
|
| |
Aktualizr and garage-sign are also bumped in the process.
Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
|
|\
| |
| | |
Feat/ota 4310/non ostree/oe tests
|
|/
|
|
| |
Signed-off-by: Kostiantyn Bushko <kbushko@intellias.com>
|
|\
| |
| | |
Manually set a git identity in CI
|
|/
|
|
|
|
| |
repo cannot do without right now
Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
|
|\
| |
| |
| |
| | |
advancedtelematic/fix/ip-secondary-network/non-intrusive-internal-network
fix: make secondaries' network less intrusive
|
|/
|
|
| |
Signed-off-by: Mykhaylo Sul <ext-mykhaylo.sul@here.com>
|
|\
| |
| | |
Fix some problems in image recipes
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|