- package: tis-virtio
- name: VirtIO Drivers
- version: 0.1.248-2
- categories: Drivers
- maintainer: WAPT Team,Jimmy PELÉ
- editor: Red Hat, Inc.
- target_os: windows
- architecture: x64
- signature_date:
- size: 3.15 Mo
package : tis-virtio
version : 0.1.248-2
architecture : x64
section : base
priority : optional
name : VirtIO Drivers
categories : Drivers
maintainer : WAPT Team,Jimmy PELÉ
description : VirtIO Drivers
depends :
conflicts :
maturity : PROD
locale :
target_os : windows
min_wapt_version : 2.0
sources :
installed_size :
impacted_process :
description_fr :
description_pl :
description_de :
description_es :
description_pt :
description_it :
description_nl :
description_ru :
audit_schedule :
editor : Red Hat, Inc.
keywords :
licence :
homepage :
package_uuid : 9c161cd6-9284-4392-8fde-63da8c13d073
valid_from :
valid_until :
forced_install_on :
changelog :
min_os_version : 10
max_os_version :
icon_sha256sum : 56874702c1f83ba25b6e5aadd3433770deb7bc5891baff85c8aa4b5707225326
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature : QsRAOEVQ6cUgxZ5i0QqIfvGuujUcahYjtQ6JUQ5uu2gAayw9UenZ4XJoL6wzte7xt6Gpf0CSgXJc9SANuUOYmO3CRty3ECYN7nphLjjEqDrEuelc4sdJxhWcBOF6UpCObu6V5gb0ZpQc6IK5Z1rs36SmhoP5LiUxS1zzKMVp5IzS56vGEz4cMHLuujr8iRABv20CYRZV748nclBnY4yQ4WaM6PE3VnxI+mzo1Zx7UhNm7hwfh7wXpJbr6Qx9iNL2mfb6D0ANPoUMKgRG1e8BP1LF9h58z5jfmVMaIYs5rl0nrwxVpJtwj73a4LUIVQ1Gs9fiG3bnePA0RHjPQg1f3Q==
signature_date : 2024-03-04T03:00:13.096638
signed_attributes : package,version,architecture,section,priority,name,categories,maintainer,description,depends,conflicts,maturity,locale,target_os,min_wapt_version,sources,installed_size,impacted_process,description_fr,description_pl,description_de,description_es,description_pt,description_it,description_nl,description_ru,audit_schedule,editor,keywords,licence,homepage,package_uuid,valid_from,valid_until,forced_install_on,changelog,min_os_version,max_os_version,icon_sha256sum,signer,signer_fingerprint,signature_date,signed_attributes
# -*- coding: utf-8 -*-
from setuphelpers import *
def install():
# Specific app values
package_version = control.version.split("-")[0]
bin_name = "virtio-win-gt-x64-%s.msi" % package_version
# Add "Red Hat, Inc." to Trusted Publishers
run('"%s" -addstore TrustedPublisher "%s"' % (makepath(system32, "certutil.exe"), makepath(basedir, "redhat-drivers.cer")))
run('"%s" -addstore TrustedPublisher "%s"' % (makepath(system32, "certutil.exe"), makepath(basedir, "redhat-drivers2.cer")))
# Installing the package
install_msi_if_needed(bin_name)
# -*- coding: utf-8 -*-
from setuphelpers import *
import platform
# Declaring specific app values (TO CHANGE)
real_bin_name = "virtio-win-gt-x64.msi"
bin_name_string = "virtio-win-gt-x64-%s.msi"
def update_package():
print("Download/Update package content from upstream binary sources")
# Getting proxy informations from WAPT settings
proxy = {}
if platform.system() == "Windows" and isfile(makepath(user_local_appdata(), "waptconsole", "waptconsole.ini")):
proxywapt = inifile_readstring(makepath(user_local_appdata(), "waptconsole", "waptconsole.ini"), "global", "http_proxy")
if proxywapt:
proxy = {"http": proxywapt, "https": proxywapt}
# Specific app values
url_dl = "https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/latest-virtio/%s" % real_bin_name
# Downloading latest binaries
if isfile(real_bin_name):
remove_file(real_bin_name)
if not isfile(real_bin_name):
print("Downloading: " + real_bin_name)
wget(url_dl, real_bin_name, proxies=proxy)
# Get version from file
version = get_msi_properties(real_bin_name)["ProductVersion"]
os.rename(real_bin_name, bin_name_string % version)
# Change version of the package
control.version = "%s-%s" % (version, int(control.version.split("-", 1)[1]) + 1)
control.save_control_to_wapt()
print("Changing version to " + control.version + " in WAPT\\control")
print("Update package done. You can now build-upload your package")
else:
print("This package is already up-to-date")
051ad353a3fdc12faa3b2500401cb543aa273c36dd356aac558e263a6b68b0ba : redhat-drivers.cer
3c49efe4ce3720a81bafc7acce584fa34ee2dea3e59257199b63f6c88f3e5db0 : redhat-drivers2.cer
509d3db36ef4192010222e6debf898108c5ab7d0295626d16e144dc0666d4772 : setup.py
b45e17b272205d2bc28ae138256a730f96d13caec9e50e4fcd8e7da7603ac3e4 : virtio-win-gt-x64-0.1.248.msi
0423d9609baf5abacddfc22df997b6f4533babb2185f089825e5c91dabfd6956 : update_package.py
56874702c1f83ba25b6e5aadd3433770deb7bc5891baff85c8aa4b5707225326 : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
b4811d1e4b5f9bdfa2383798c31f6417dc40992be0421fc17bc4ba174ee53e8b : luti.json
890c79f6e57edff1a7cb097c56057d658a693a1d7987ed617ee46aded71494f2 : WAPT/control