Compare commits

...

2 Commits

Author SHA1 Message Date
Fierelier ea2ee0e802 Add mod: firmware-proprietary-licenses 2023-08-23 11:25:55 +02:00
Fierelier fe7cc8580f Add mod: packages-proprietary-licenses (Part 1) 2023-08-23 11:23:18 +02:00
3 changed files with 11 additions and 12 deletions

View File

@ -1,3 +1,4 @@
sources-proprietary
firmware-proprietary-prereq
firmware-proprietary-licenses
firmware-proprietary

View File

@ -0,0 +1,8 @@
#!/usr/bin/env bash
cat << EOF | debconf-set-selections
firmware-ipw2x00 firmware-ipw2x00/license/accepted boolean true
EOF
cat << EOF | debconf-set-selections
firmware-ivtv firmware-ivtv/license/accepted boolean true
EOF

View File

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