Fix initramfs generation issues by blacklisting raspi-firmware

This commit is contained in:
Fierelier 2023-09-28 00:03:21 +02:00
parent 4c441dd427
commit 2e6980efd4
1 changed files with 1 additions and 0 deletions

View File

@ -5,6 +5,7 @@ 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.name == "raspi-firmware": continue
if package.candidate.origins[0].component == "non-free-firmware":
ofile.write(" " + package.name)
ofile.write('"')