summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2006-09-14 18:20:11 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2006-09-14 18:20:11 +0000
commit439370f986ed5b61676870d49b51690f37ab3656 (patch)
treeee46103f6ed3cda7bb70464afc3262b8b9d61395 /src/genkernel_bradmssw
parentRemoving zx and compnerd from Java team. (diff)
downloadgentoo-439370f986ed5b61676870d49b51690f37ab3656.tar.gz
gentoo-439370f986ed5b61676870d49b51690f37ab3656.tar.bz2
gentoo-439370f986ed5b61676870d49b51690f37ab3656.zip
Added a symlink for device-mapper stuff. This should resolve both bug #142775 and bug #147015.
Diffstat (limited to 'src/genkernel_bradmssw')
-rw-r--r--src/genkernel_bradmssw/generic/initrd.scripts8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/genkernel_bradmssw/generic/initrd.scripts b/src/genkernel_bradmssw/generic/initrd.scripts
index 9dfbdb2fae..bd22ad43e3 100644
--- a/src/genkernel_bradmssw/generic/initrd.scripts
+++ b/src/genkernel_bradmssw/generic/initrd.scripts
@@ -487,6 +487,14 @@ chooseKeymap() {
startVolumes() {
#good_msg 'Checking if volumes need to be started...'
+
+ # Here, we check for /dev/device-mapper, and if it exists, we setup a
+ # a symlink, which should hopefully fix bug #142775 and bug #147015
+ if [ -e /dev/device-mapper ]
+ then
+ mkdir -p /dev/mapper
+ ln -sf /dev/device-mapper /dev/mapper/control
+ fi
if [ "${USE_DMRAID_NORMAL}" -eq '1' ]
then