Exclude nvidia from firmware-proprietary for now

This commit is contained in:
Fierelier 2023-08-26 14:15:44 +02:00
parent ea2ee0e802
commit 13ee173c0d
1 changed files with 2 additions and 1 deletions

View File

@ -4,7 +4,8 @@ cache = apt.Cache()
ofile = open("/chroot-out","w",encoding="utf-8")
ofile.write('WDVN_PACKAGES="$WDVN_PACKAGES')
for package in cache:
if "nvidia" in package.name.lower(): continue
if package.candidate.origins[0].component == "non-free-firmware":
ofile.write(" " + package.name)
ofile.write('"')
ofile.close()
ofile.close()