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:
parent
66e6e31896
commit
8a25b48cdf
|
@ -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.
|
|
@ -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
|
||||
}
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue