In source code for /usr/lib/dracut/dracut-install, that is, source
package dracut, file src/install/dracut-install.c, function
install_firmware:

  _asprintf(&fwpath, "%s/%s", *q, value);

  if (strpbrk(value, "*?[") != NULL
      && access(fwpath, F_OK) != 0) {
          size_t i;
          _cleanup_globfree_ glob_t globbuf;

          glob(fwpath, 0, NULL, &globbuf);
          for (i = 0; i < globbuf.gl_pathc; i++) {
                  ret = install_firmware_fullpath(globbuf.gl_pathv[i]);
                  if (ret == 0)
                          found_this = true;
          }

So when value has "intel/ish/ish_*.bin", it's supposed to go through the
glob loop. Yet the test `access(fwpath, F_OK)` will return fail, because
now all the bin files are compressed and their filenames do not have
".bin" at the end. And even one fixed that access call, the glob loop is
done with ".bin" suffix, too. This means everything in this if-block has
to be written.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-firmware in Ubuntu.
https://bugs.launchpad.net/bugs/2094768

Title:
  Missing vendor/product/sku specific ISH firmware for Dell laptops

Status in HWE Next:
  New
Status in linux-firmware package in Ubuntu:
  New

Bug description:
  TBD.

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/2094768/+subscriptions


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

Reply via email to