[Nix-dev] udev-153
Eelco Dolstra
e.dolstra at tudelft.nl
Fri Apr 23 11:00:41 CEST 2010
Hi,
Yury G. Kudryashov wrote:
> Udev 153 released. New release does not allow us to rewrite firmware search
> path at runtime, but it allows us to specify --with-firmware-
> path=path1:path2:... configure option.
>
> I propose to use /var/run/firmware:/root/test-firmware path, and symlink
> /var/run/firmware to /nix/store/hash-firmware. /nix/store/hash-firmware will
> contain symlinks to all files in hardware.firmware directory. This will not
> allow us to modify the set of firmware files symlinked to /var/run/firmware
> after the system is built, but for emergency case we'll have impure
> /root/test-firmware path.
Sounds good, but to improve the atomicity of switching to a new configuration,
you could use /var/run/current-system/firmware instead of /var/run/firmware (and
then create a "firmware" symlink in the "system" derivation).
--
Eelco Dolstra | http://www.st.ewi.tudelft.nl/~dolstra/
More information about the nix-dev
mailing list