Public bug reported:

In /usr/share/initramfs-tools/hook-functions, the firmware is copied to the 
initramfs using:
cp -a "$firmware" "$target_dir"

For symlinked firmware such as /lib/firmware/i915/skl_dmc_ver1.bin for
Intel Skylake, this results in a copy of the symlink instead of the
firmware file. update-initramfs then deletes the broken symlink before
packaging.

This needs to be replaced with a cp command that dereferences symlinks such as:
cp -prL "$firmware" "$target_dir"

I ran into this on vivid, but it is in wily as well.

** Affects: initramfs-tools (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1492774

Title:
  update-initramfs doesn't copy symlinked firmware files

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1492774/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to