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
abuild
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
24
Issues
24
List
Boards
Labels
Service Desk
Milestones
Merge Requests
17
Merge Requests
17
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
abuild
Commits
83151c3b
Commit
83151c3b
authored
Feb 19, 2009
by
Natanael Copa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
initfs: support for modloop boot option
parent
7107c179
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
initramfs-init
initramfs-init
+6
-1
No files found.
initramfs-init
View file @
83151c3b
...
...
@@ -121,7 +121,12 @@ mount $mount_opts /dev/$ALPINE_DEV $ALPINE_MNT >/dev/null 2>&1
eend
$?
ebegin
"Mounting loopback device for kernel modules"
modprobe loop
mount
-o
loop,ro
-t
cramfs
$ALPINE_MNT
/
$KOPT_BOOT_IMAGE
.cmg /.modloop
if
[
-n
"
$KOPT_modloop
"
]
;
then
modloop
=
$KOPT_modloop
else
modloop
=
$KOPT_BOOT_IMAGE
.cmg
fi
mount
-o
loop,ro
-t
cramfs
$ALPINE_MNT
/
$modloop
/.modloop
rc
=
$?
if
[
"
$rc
"
=
0
]
;
then
rm
-rf
/lib/modules
...
...
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