diff --git a/mods/firmware-proprietary/data/chroot b/mods/firmware-proprietary/data/chroot index 4138fd8..e3db2bb 100755 --- a/mods/firmware-proprietary/data/chroot +++ b/mods/firmware-proprietary/data/chroot @@ -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 \ No newline at end of file +ofile.close() \ No newline at end of file