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 Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2094768

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

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to