Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
alpine-conf
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
18
Issues
18
List
Boards
Labels
Service Desk
Milestones
Merge Requests
3
Merge Requests
3
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
alpine
alpine-conf
Commits
a234ec98
Commit
a234ec98
authored
Jul 16, 2011
by
Jeff Bilyk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
setup-bootable: somehow a couple lines for remounting RO/RW got missed
parent
c67ff255
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
setup-bootable.in
setup-bootable.in
+8
-1
No files found.
setup-bootable.in
View file @
a234ec98
...
...
@@ -117,7 +117,10 @@ elif [ -b "$dest" ]; then
fi
# Check for RO mounting
if
[
"
`
grep
\"
$destdir
\"
/proc/mount |
grep
'(ro,'
`
"
if
[
"
`
grep
\"
$destdir
\"
/proc/mount |
grep
'(ro,'
`
"
==
"ro"
]
;
then
remountneeded
=
"Y"
mount
-o
remount,rw
"
$destdir
"
fi
[
-n
"
$verbose
"
]
&&
echo
"Using
$dest
as target (mounted on
$destdir
)"
...
...
@@ -258,5 +261,9 @@ else
echo
"Warning: Could not find the parent device for
$dest
"
fi
if
[
"
$remountneeded
"
==
"Y"
]
;
then
mount
-o
remount,ro
"
$destdir
"
fi
cleanup
sync
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment