Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
aports
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
Container Registry
Model registry
Operate
Environments
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Johannes Müller
aports
Commits
d4e04d79
Commit
d4e04d79
authored
15 years ago
by
Natanael Copa
Browse files
Options
Downloads
Patches
Plain Diff
core/openrc: fix for modloop
parent
f236638b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
core/openrc/APKBUILD
+2
-2
2 additions, 2 deletions
core/openrc/APKBUILD
core/openrc/modloop.initd
+2
-2
2 additions, 2 deletions
core/openrc/modloop.initd
with
4 additions
and
4 deletions
core/openrc/APKBUILD
+
2
−
2
View file @
d4e04d79
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname
=
openrc
pkgver
=
0.5.0
pkgrel
=
4
pkgrel
=
5
pkgdesc
=
"OpenRC manages the services, startup and shutdown of a host"
url
=
"http://roy.marples.name/openrc"
license
=
'BSD-2'
...
...
@@ -50,7 +50,7 @@ c32e15b0858eef708497e7ee6355a055 hostname.initd
b1e64885f301166df30be3e3cf5338ff hwdrivers.initd
33ca3e558c42cdd17adccbc7807298f7 keymaps.initd
098a1f16812f56fcb56eb6b6f0fa31f6 modules.initd
e684587092c5cbd6909f73b37853d1a4
modloop.initd
c77cb4a67aa7ef40dfb12dd1ff5bf5e2
modloop.initd
747168eee535e845179eaef5a3fcb334 networking.initd
6e834194b246563fc5acd77e91e038c4 openrc.post-install
393ff61bc0bf2c07f9af81795554c584 openrc.post-upgrade"
This diff is collapsed.
Click to expand it.
core/openrc/modloop.initd
+
2
−
2
View file @
d4e04d79
...
...
@@ -59,14 +59,14 @@ start() {
ebegin "Mounting loopback device for kernel modules"
if [ -z "$alpine_mounted" ]; then
mount $mount_opts $alpine_dev $alpine_mnt 2>/dev/null
mount $mount_opts
/dev/
$alpine_dev $alpine_mnt 2>/dev/null
fi
mkdir -p /.modloop /lib
mount -o loop,ro -t cramfs $alpine_mnt/$modloop /.modloop &&\
rm -rf /lib/modules &&\
ln -sf /.modloop/modules /lib/
eend $?
eend $?
|| return 1
# copy firmware if there are any
if [ -d $alpine_mnt/firmware ]; then
...
...
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