Load shared object files in initrd stage 1

I can’t load the shared object files for pcscd during stage 1, with a No such file or directory error. Do I have to add them to boot.initrd.extraFiles or boot.initrd.systemd.storePaths?

Also, ${pkgs.pcsclite}/lib/libpcsclite_real.so.1 does not seem to exist in the package.

That’s in pkgs.pcsclite.lib, It might be worth adding that to boot.initrd.systemd.storePaths.

1 Like

Well that was a bit confusing. I’ll test it out and report back.

It worked. Now I just need to get it running. I’m assuming I’ll run into issues with the pcscd user and group, then?