Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
reform-system-image
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
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Reform
reform-system-image
Commits
1a666329
Commit
1a666329
authored
3 years ago
by
Nils K
Browse files
Options
Downloads
Patches
Plain Diff
use $TARGET not always nvme0n1p1
parent
acd9d8f8
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!18
support encrypted usb storage device, reform-migrate fixes and improvement
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
reform2-imx8mq/reform-tools_1.0-6/usr/sbin/reform-migrate
+2
-2
2 additions, 2 deletions
reform2-imx8mq/reform-tools_1.0-6/usr/sbin/reform-migrate
with
2 additions
and
2 deletions
reform2-imx8mq/reform-tools_1.0-6/usr/sbin/reform-migrate
+
2
−
2
View file @
1a666329
...
@@ -24,7 +24,7 @@ then
...
@@ -24,7 +24,7 @@ then
exit
exit
fi
fi
if
[
!
-e
$TARGET
]
if
[
!
-e
"
$TARGET
"
]
then
then
echo
"Error: The partition
$TARGET
does not exist."
echo
"Error: The partition
$TARGET
does not exist."
exit
exit
...
@@ -37,7 +37,7 @@ fi
...
@@ -37,7 +37,7 @@ fi
echo
"Trying to mount
$TARGET
... (if this fails, format the disk/partition as explained above)"
echo
"Trying to mount
$TARGET
... (if this fails, format the disk/partition as explained above)"
mount
/dev/nvme0n1p1
/mnt
mount
"
$TARGET
"
/mnt
echo
"Target partition successfully mounted. The next step will copy all your files over to the target, overwriting existing files in the process."
echo
"Target partition successfully mounted. The next step will copy all your files over to the target, overwriting existing files in the process."
echo
""
echo
""
...
...
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