Add mod: packages-proprietary-licenses (Part 1)
This commit is contained in:
parent
b04dc70d4a
commit
fe7cc8580f
@ -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()
|
Loading…
Reference in New Issue
Block a user