Make installation of bl-1 stuff optional.

This commit is contained in:
Wulf C. Krueger 2010-10-09 22:09:33 +02:00 committed by Daniel Mierswa
parent 5f8a489622
commit 2ac5940673

View file

@ -18,11 +18,13 @@ DEPENDENCIES="
run: run:
app-emulation/vhba-module app-emulation/vhba-module
" "
MYOPTIONS="baselayout"
cdemud_src_install() { cdemud_src_install() {
default default
hereinitd cdemud <<EOF if option baselayout ; then
hereinitd cdemud <<EOF
#!/sbin/runscript #!/sbin/runscript
depend() { depend() {
@ -43,9 +45,10 @@ stop() {
} }
EOF EOF
hereconfd cdemud <<EOF hereconfd cdemud <<EOF
# options passed to the cdemud # options passed to the cdemud
#CDEMUD_OPTS=--num-devices=10 #CDEMUD_OPTS=--num-devices=10
EOF EOF
fi
} }