firmware binary warning should not appear for non-free binaries
Closed, ResolvedPublic

Description

todd@librem-13v2:~$ sudo update-initramfs -u
update-initramfs: Generating /boot/initrd.img-4.14.0-3-amd64
WARNING: Setting CRYPTSETUP in /etc/initramfs-tools/initramfs.conf is deprecated and will stop working in the future. Use /etc/cryptsetup-initramfs/conf-hook instead.
W: Possible missing firmware /lib/firmware/i915/bxt_dmc_ver1_07.bin for module i915
W: Possible missing firmware /lib/firmware/i915/skl_dmc_ver1_26.bin for module i915
W: Possible missing firmware /lib/firmware/i915/kbl_dmc_ver1_01.bin for module i915
W: Possible missing firmware /lib/firmware/i915/kbl_guc_ver9_14.bin for module i915
W: Possible missing firmware /lib/firmware/i915/bxt_guc_ver8_7.bin for module i915
W: Possible missing firmware /lib/firmware/i915/skl_guc_ver6_1.bin for module i915
W: Possible missing firmware /lib/firmware/i915/kbl_huc_ver02_00_1810.bin for module i915
W: Possible missing firmware /lib/firmware/i915/bxt_huc_ver01_07_1398.bin for module i915
W: Possible missing firmware /lib/firmware/i915/skl_huc_ver01_07_1398.bin for module i915
todd@librem-13v2:~$
todd created this task.Mar 10 2018, 11:46 PM

@todd I worry this would be difficult to push back into Debian simply by hiding them as that would be somewhat of a poor experience for anyone who actually wanted to go ahead and install them. So, I wonder if we should add (or link to) a warning lecture about free software here , somewhat what like I propose in https://bugs.debian.org/888405. Thoughts?

todd added a comment.Mar 11 2018, 4:58 PM

Since the are decidedly not required I think it could move to Debug from Warning (or whatever level is below Warning where this message won't print by default).

Or you could set a non-free flag that PureOS uses to suppress non-free things but Debian ignores.

This could become an OS level config flag even (if you think that big is necessary for future potential issues).

A sort of sudo code (where we could set a avoid_non_free=true flag)

if avoid_non_free:
    warn_non_free=false

if kernel_error_on_firmware:
   if warn_non_free:
       print 'W: maybe missing firmware'

echo 1 > /proc/sys/i/care/about/freedom, huh? :)

todd added a comment.Mar 11 2018, 5:11 PM

perfect. now to just get it work...

chris.lamb closed this task as "Resolved".Mar 12 2018, 2:27 AM

Fixed in initramfs-tools_0.130pureos1

Add Comment