app-emulation/virtio-win: add README

Closes: https://bugs.gentoo.org/892197
Signed-off-by: Kai-Chun Ning <kaichun.ning@gmail.com>
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
This commit is contained in:
Kai-Chun Ning 2023-02-02 23:13:03 +01:00 committed by Ulrich Müller
parent 66e6e31896
commit 8a25b48cdf
No known key found for this signature in database
GPG Key ID: 5188335088415E2E
4 changed files with 45 additions and 6 deletions

View File

@ -0,0 +1,15 @@
VirtIO drivers have been installed as a CD-ROM image to
/usr/share/drivers/windows/virtio-win.iso
To install the drivers on a Windows guest machine, either during or after the
installation of Windows, pass the iso file to the guest machine and mount it as
a CD-ROM image. Then, in the Windows guest, open the Device Manager and start
the driver update wizard. Locate the appropriate device and click to update its
driver. In the pop-up window, click to browse in the guest machine to locate
the iso image, and select the driver(s) from it to install.
For an example, see: https://wiki.gentoo.org/wiki/QEMU/Windows_guest
For information on using the Device Manager, refer to the Windows
documentation.

View File

@ -3,6 +3,8 @@
EAPI=8
inherit readme.gentoo-r1
MY_PV=$(ver_cut 1-3)
MY_DW=$(ver_rs 3 -)
@ -14,9 +16,15 @@ LICENSE="BSD Apache-2.0 GPL-2 GPL-2+ GPL-3+ LGPL-2+ Ms-RL"
SLOT="0"
KEYWORDS="~amd64"
S="${WORKDIR}"
INSTALL_PATH=/usr/share/drivers/windows
src_install() {
insinto /usr/share/drivers/windows
insinto "${INSTALL_PATH}"
doins "${DISTDIR}/${PN}-${MY_PV}.iso"
dosym "${PN}-${MY_PV}.iso" "/usr/share/drivers/windows/${PN}.iso"
dosym "${PN}-${MY_PV}.iso" "${INSTALL_PATH}/${PN}.iso"
readme.gentoo_create_doc
}
pkg_postinst() {
readme.gentoo_print_elog
}

View File

@ -3,6 +3,8 @@
EAPI=8
inherit readme.gentoo-r1
MY_PV=$(ver_cut 1-3)
MY_DW=$(ver_rs 3 -)
@ -14,9 +16,15 @@ LICENSE="BSD Apache-2.0 GPL-2 GPL-2+ GPL-3+ LGPL-2+ Ms-RL"
SLOT="0"
KEYWORDS="~amd64"
S="${WORKDIR}"
INSTALL_PATH=/usr/share/drivers/windows
src_install() {
insinto /usr/share/drivers/windows
insinto "${INSTALL_PATH}"
doins "${DISTDIR}/${PN}-${MY_PV}.iso"
dosym "${PN}-${MY_PV}.iso" "/usr/share/drivers/windows/${PN}.iso"
dosym "${PN}-${MY_PV}.iso" "${INSTALL_PATH}/${PN}.iso"
readme.gentoo_create_doc
}
pkg_postinst() {
readme.gentoo_print_elog
}

View File

@ -3,6 +3,8 @@
EAPI=8
inherit readme.gentoo-r1
MY_PV=$(ver_cut 1-3)
MY_DW=$(ver_rs 3 -)
@ -14,9 +16,15 @@ LICENSE="BSD Apache-2.0 GPL-2 GPL-2+ GPL-3+ LGPL-2+ Ms-RL"
SLOT="0"
KEYWORDS="~amd64"
S="${WORKDIR}"
INSTALL_PATH=/usr/share/drivers/windows
src_install() {
insinto /usr/share/drivers/windows
insinto "${INSTALL_PATH}"
doins "${DISTDIR}/${PN}-${MY_PV}.iso"
dosym "${PN}-${MY_PV}.iso" "/usr/share/drivers/windows/${PN}.iso"
dosym "${PN}-${MY_PV}.iso" "${INSTALL_PATH}/${PN}.iso"
readme.gentoo_create_doc
}
pkg_postinst() {
readme.gentoo_print_elog
}