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
Touch seeded packages, which is subscribed to initramfs-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1492774

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

Status in initramfs-tools package in Ubuntu:
  New

Bug description:
  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.

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to