diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-06-12 09:34:50 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-06-12 09:34:50 +0000 |
commit | d4e04d799a1fc54140c112d6f38c7e8081ae9659 (patch) | |
tree | fa8f5d760f0843f0d6454e8c4a6be9b9e23a053c /core | |
parent | f236638bae519fdaeecace1648379de9ce22cf5e (diff) | |
download | aports-d4e04d799a1fc54140c112d6f38c7e8081ae9659.tar.bz2 aports-d4e04d799a1fc54140c112d6f38c7e8081ae9659.tar.xz |
core/openrc: fix for modloop
Diffstat (limited to 'core')
-rw-r--r-- | core/openrc/APKBUILD | 4 | ||||
-rw-r--r-- | core/openrc/modloop.initd | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/core/openrc/APKBUILD b/core/openrc/APKBUILD index f7de5f5c05..6ba416ced1 100644 --- a/core/openrc/APKBUILD +++ b/core/openrc/APKBUILD @@ -1,7 +1,7 @@ # 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" diff --git a/core/openrc/modloop.initd b/core/openrc/modloop.initd index 4ef2c4c008..c32e1f49f5 100644 --- a/core/openrc/modloop.initd +++ b/core/openrc/modloop.initd @@ -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 |