[HOME] [DOWNLOAD] [DOCS] [NEWS] [SUPPORT] [TIPS] [ISSUES] [DONATE]

Whonix host - nonfree blobs - firmware-linux-nonfree - technical discussion only

#1

Comments on project philosophy i.e. to install or not install nonfree packages need to be added here instead:

#2

This is the list of “our” packages from https://github.com/onions-knight/whonix-stuff/blob/master/Whonix-Desktop%20list%20of%20new%20packages

firmware-amd-graphics
firmware-atheros
firmware-b43-installer
firmware-b43legacy-installer
firmware-brcm80211
firmware-intel-sound
firmware-ipw2x00
firmware-iwlwifi
firmware-libertas
firmware-linux
firmware-linux-free
firmware-linux-nonfree
firmware-misc-nonfree
firmware-realtek
firmware-ti-connectivity
firmware-zd1211

This is the list of all firmware-* packages in Debian buster.

firmware-adi deprecated transitional package
firmware-intelwimax
firmware-myricom
firmware-amd-graphics
firmware-ipw2x00
firmware-netronome
firmware-ath9k-htc
firmware-ivtv
firmware-netxen
firmware-ath9k-htc-dbgsym
firmware-iwlwifi
firmware-qcom-media
firmware-atheros
firmware-libertas
firmware-qlogic
firmware-b43-installer
firmware-linux
firmware-ralink
firmware-b43legacy-installer
firmware-linux-free
firmware-realtek
firmware-bnx2
firmware-linux-nonfree
firmware-samsung
firmware-bnx2x
firmware-microbit-micropython
firmware-siano
firmware-brcm80211
firmware-microbit-micropython-dl
firmware-ti-connectivity
firmware-cavium
firmware-microbit-micropython-doc
firmware-zd1211
firmware-intel-sound
firmware-misc-nonfree

Could you work on https://www.whonix.org/wiki/Dev/nonfree#Overview_of_Packages please, i.e. look which packages we should add to “our” list and which ones are outdated (deprecated transitional packages) and which ones are not wanted since irrelevant for some reason?

Whonix host operating system
#3
#4
Preparing to unpack .../firmware-ipw2x00_20190114-1_all.deb ...

firmware-ipw2x00 agree question could not be asked
try '\''dpkg-reconfigure debconf'\'' to select a frontend other than noninteractive

dpkg: error processing archive /var/cache/apt/archives/firmware-ipw2x00_20190114-1_all.deb (--unpack):
 new firmware-ipw2x00 package pre-installation script subprocess returned error exit status 2
Errors were encountered while processing:
 /var/cache/apt/archives/firmware-ipw2x00_20190114-1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)       '
+ apt_get_exit_code=100
#5

search term:

preseed firmware-ipw2x00/license/accepted
#6

https://git-tails.immerda.ch/tails/tree/config/chroot_local-preseed/firmware

Now I need to figure out how to apply such a file.

#7
echo b43-fwcutter b43-fwcutter/cut_firmware boolean true | debconf-set-selections
echo firmware-ipw2x00 firmware-ipw2x00/license/accepted boolean true | debconf-set-selections
echo firmware-iwlwifi firmware-iwlwifi/license/accepted boolean true | debconf-set-selections
echo firmware-ralink firmware-ralink/license/accepted boolean true | debconf-set-selections
#8
#9

That’s functional.

#10

I was wrong. firmware asks the question during package unpack but whonix-legacy preinst runs too late.

#11

Not a great solution. Even Pre-Depends: does not work. The place to declare the Pre-Depends: would be in each individual package that asks debconf questions (here: firmware packages). But since Debian ships these packages, it looks very unlikely to get this change merged. “Install my package as early as possible” is a missing Debian feature. They’d probably expect this being done as a chroot script and didn’t have in mind “sudo apt-get install whonix”.