Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
targets
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue 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
Feed
targets
Commits
ab571360
Commit
ab571360
authored
4 years ago
by
Jonas Höglund
Browse files
Options
Downloads
Patches
Plain Diff
Create rootfs2 volume and delay creation of overlay.
parent
0feb3c0b
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
iopsys-brcm63xx-arm/image/bundled-migrator-script/script.sh
+2
-4
2 additions, 4 deletions
iopsys-brcm63xx-arm/image/bundled-migrator-script/script.sh
with
2 additions
and
4 deletions
iopsys-brcm63xx-arm/image/bundled-migrator-script/script.sh
+
2
−
4
View file @
ab571360
...
@@ -107,17 +107,15 @@ upgrade_ubi_volume bootfs $size bootfs2 5
...
@@ -107,17 +107,15 @@ upgrade_ubi_volume bootfs $size bootfs2 5
echo
"Extracting rootfs"
echo
"Extracting rootfs"
size
=
$(
extract_section
$img
rootfs
)
size
=
$(
extract_section
$img
rootfs
)
upgrade_ubi_volume rootfs
$size
rootfs1 4
upgrade_ubi_volume rootfs
$size
rootfs1 4
upgrade_ubi_volume rootfs
$size
rootfs2 6
echo
"Saving nvram"
echo
"Saving nvram"
size
=
$(
save_nvram
)
size
=
$(
save_nvram
)
upgrade_ubi_volume nvram
$size
migrator 10
upgrade_ubi_volume nvram
$size
migrator 10
echo
"Creating overlay partition"
ubimkvol
"/dev/ubi0"
-n
11
-N
overlay1
-t
dynamic
-s
38092800
echo
"Upgrade completed; rebooting."
echo
"Upgrade completed; rebooting."
reboot
reboot
# Halt execution of sysupgrade, both when sourced and execu
d
ed as a task.
# Halt execution of sysupgrade, both when sourced and execu
t
ed as a task.
return
1
||
exit
1
return
1
||
exit
1
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment