Skip to content
Snippets Groups Projects
Commit c41bba43 authored by Sudarshan CP's avatar Sudarshan CP Committed by Martyn Welch
Browse files

Add automatic offline update pre condition


Signed-off-by: default avatarSudarshan C <P&lt;sudarshan.cp2@in.bosch.com>
parent 279d2315
No related branches found
No related tags found
1 merge request!596Add automatic offline update pre condition
Pipeline #687561 passed with warnings
......@@ -69,6 +69,23 @@ with special name `static-update.bundle` and attach that device into
the target system. AUM will automatically detect the update file and try
to use it for the system upgrade.
{{% notice info %}}
Automatic offline updates will only be triggered when a file with the above
mentioned special name is found on a USB drive with a single partition.
To create a USB disk with a single partition in Apertis:
- Insert USB device and ensure that it is visible to the Apertis SDK.
- Use `lsblk` or another tool to determine the disk device file related to the USB device.
- Create a new partition spanning the USB device (**warning**: this will delete existing data):
```
$ echo 'type=83' | sudo sfdisk $DISK
```
Where `DISK` is set to the name and location of the disk device file (for example: `/dev/sda`)
- Format this new partition wit a FAT32 file system:
```
$ sudo mkfs -t vfat $DISK
```
{{% /notice %}}
### Manual offline update
It is possible to update the system manually from local file with CLI,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment