Skip to content
Snippets Groups Projects
Commit 953ec1b6 authored by Jonas Höglund's avatar Jonas Höglund
Browse files

Create overlay partition

parent 41f137d9
Branches
No related tags found
No related merge requests found
......@@ -80,6 +80,12 @@ echo "Extracting rootfs"
size=$(extract_section $img rootfs)
upgrade_ubi_volume rootfs $size 1
# We need to save volume id 5 for bootfs2
# Hence, create the overlay with a higher id
# or it will be created automatically with id 5
echo "Creating overlay partition"
ubimkvol "/dev/ubi0" -n 10 -N overlay1 -t dynamic -s 38092800
echo "Upgrade completed; rebooting."
#reboot
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment