Move license agreements to firmware-proprietary

This commit is contained in:
Fierelier 2023-08-23 10:51:12 +02:00
parent fd4d06f803
commit 48be9ece96
2 changed files with 8 additions and 5 deletions

View File

@ -1,4 +1,9 @@
#!/usr/bin/env python3
#!/usr/bin/env bash
cat << EOF | debconf-set-selections
firmware-ipw2x00 firmware-ipw2x00/license/accepted boolean true
EOF
python3 << EOF
import apt
cache = apt.Cache()
ofile = open("/chroot-out","w",encoding="utf-8")
@ -7,4 +12,5 @@ for package in cache:
if package.candidate.origins[0].component == "non-free-firmware":
ofile.write(" " + package.name)
ofile.write('"')
ofile.close()
ofile.close()
EOF

View File

@ -1,8 +1,5 @@
#!/bin/bash
set -e
cat << EOF | debconf-set-selections
firmware-ipw2x00 firmware-ipw2x00/license/accepted boolean true
EOF
apt-get --error-on=any -y update
apt-get -y upgrade
apt-get -y install $WDVN_PACKAGES_INTERACTIVE