ramdisk: add virtio-blk to proto and boot option
This commit is contained in:
parent
d19844d69c
commit
eddc5dd581
3 changed files with 5 additions and 0 deletions
|
@ -44,6 +44,7 @@ PROG_USRSBIN+= pwd_mkdb
|
|||
.if ${MKSMALL} != "yes"
|
||||
RAMDISK_SMALL= 1
|
||||
PROG_DRIVERS+= ahci
|
||||
PROG_DRIVERS+= virtio_blk
|
||||
PROG_SERVERS+= ext2
|
||||
.endif
|
||||
|
||||
|
|
|
@ -14,6 +14,7 @@ d--755 0 0
|
|||
sbin d--755 0 0
|
||||
floppy ---755 0 0 floppy
|
||||
ahci ---755 0 0 ahci
|
||||
virtio_blk ---755 0 0 virtio_blk
|
||||
at_wini ---755 0 0 at_wini
|
||||
#if RAMDISK_SMALL == 1
|
||||
ext2 ---755 0 0 ext2
|
||||
|
|
|
@ -17,6 +17,9 @@ if [ X`/bin/sysenv ahci` = Xyes ]
|
|||
then
|
||||
# this is here temporarily, for testing purposes
|
||||
/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
|
||||
/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
|
||||
|
|
Loading…
Reference in a new issue