ramdisk: add virtio-blk to proto and boot option
This commit is contained in:
parent
d19844d69c
commit
eddc5dd581
@ -44,6 +44,7 @@ PROG_USRSBIN+= pwd_mkdb
|
|||||||
.if ${MKSMALL} != "yes"
|
.if ${MKSMALL} != "yes"
|
||||||
RAMDISK_SMALL= 1
|
RAMDISK_SMALL= 1
|
||||||
PROG_DRIVERS+= ahci
|
PROG_DRIVERS+= ahci
|
||||||
|
PROG_DRIVERS+= virtio_blk
|
||||||
PROG_SERVERS+= ext2
|
PROG_SERVERS+= ext2
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
@ -14,6 +14,7 @@ d--755 0 0
|
|||||||
sbin d--755 0 0
|
sbin d--755 0 0
|
||||||
floppy ---755 0 0 floppy
|
floppy ---755 0 0 floppy
|
||||||
ahci ---755 0 0 ahci
|
ahci ---755 0 0 ahci
|
||||||
|
virtio_blk ---755 0 0 virtio_blk
|
||||||
at_wini ---755 0 0 at_wini
|
at_wini ---755 0 0 at_wini
|
||||||
#if RAMDISK_SMALL == 1
|
#if RAMDISK_SMALL == 1
|
||||||
ext2 ---755 0 0 ext2
|
ext2 ---755 0 0 ext2
|
||||||
|
@ -17,6 +17,9 @@ if [ X`/bin/sysenv ahci` = Xyes ]
|
|||||||
then
|
then
|
||||||
# this is here temporarily, for testing purposes
|
# this is here temporarily, for testing purposes
|
||||||
/bin/service -c up /sbin/ahci -dev /dev/c0d0 -label ahci_0 -args instance=0
|
/bin/service -c up /sbin/ahci -dev /dev/c0d0 -label ahci_0 -args instance=0
|
||||||
|
elif [ X`/bin/sysenv virtio_blk` = Xyes ]
|
||||||
|
then
|
||||||
|
/bin/service -c up /sbin/virtio_blk -dev /dev/c0d0 -label virtio_blk_0 -args instance=0
|
||||||
else
|
else
|
||||||
/bin/service -c up /sbin/at_wini -dev /dev/c0d0 -label at_wini_0
|
/bin/service -c up /sbin/at_wini -dev /dev/c0d0 -label at_wini_0
|
||||||
/bin/service -cr up /sbin/at_wini -dev /dev/c1d0 -label at_wini_1 -args instance=1
|
/bin/service -cr up /sbin/at_wini -dev /dev/c1d0 -label at_wini_1 -args instance=1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user