Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
apertis-website
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
docs
apertis-website
Merge requests
!596
Add automatic offline update pre condition
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Add automatic offline update pre condition
wip/offline_update_pre_condition
into
master
Overview
5
Commits
1
Pipelines
6
Changes
1
All threads resolved!
Hide all comments
Merged
Sudarshan CP
requested to merge
wip/offline_update_pre_condition
into
master
1 year ago
Overview
5
Commits
1
Pipelines
6
Changes
1
All threads resolved!
Hide all comments
Expand
Signed-off-by: Sudarshan C P
sudarshan.cp2@in.bosch.com
0
0
Merge request reports
Compare
version 3
version 5
9339ea03
1 year ago
version 4
fd949c57
1 year ago
version 3
97347942
1 year ago
version 2
d8645c87
1 year ago
version 1
5ad99016
1 year ago
master (base)
and
version 4
latest version
c41bba43
1 commit,
1 year ago
version 5
9339ea03
1 commit,
1 year ago
version 4
fd949c57
3 commits,
1 year ago
version 3
97347942
2 commits,
1 year ago
version 2
d8645c87
1 commit,
1 year ago
version 1
5ad99016
1 commit,
1 year ago
Show latest version
1 file
+
12
−
10
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
content/guides/ostree.md
+
12
−
10
Options
@@ -72,16 +72,18 @@ 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.
Step to check and create partition table on Apertis SDK.
$lsblk
$sudo fdisk /dev/
<drive
in
which
usb
is
mounted
e.g
/
dev
/
sdb
>
Enter the below options :
p - list the partition
d - delete the partition
n - create the partition (create single partition with full size)
w - write the partition
Set FAT32 file system type:
$sudo mkfs -t vfat /dev/
<drive
in
which
usb
drive
is
mounted
e.g
/
dev
/
sdb1
>
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
Loading