diff options
author | Colin L Rice <colin@daedrum.net> | 2021-08-26 23:31:33 -0400 |
---|---|---|
committer | Colin L Rice <colin@daedrum.net> | 2021-08-26 23:31:33 -0400 |
commit | 26286030e8cc6cbd313386c328e2381514a4f2bb (patch) | |
tree | 2918c540b2de98cc4172b84c97ea8d65b50b0a15 /pkgs/os-specific/linux/raspberrypi-eeprom/default.nix | |
parent | 02f85b8ab848c0361b44a02a9e08f7e774c3ff08 (diff) | |
download | nixpkgs-26286030e8cc6cbd313386c328e2381514a4f2bb.tar nixpkgs-26286030e8cc6cbd313386c328e2381514a4f2bb.tar.gz nixpkgs-26286030e8cc6cbd313386c328e2381514a4f2bb.tar.bz2 nixpkgs-26286030e8cc6cbd313386c328e2381514a4f2bb.tar.lz nixpkgs-26286030e8cc6cbd313386c328e2381514a4f2bb.tar.xz nixpkgs-26286030e8cc6cbd313386c328e2381514a4f2bb.tar.zst nixpkgs-26286030e8cc6cbd313386c328e2381514a4f2bb.zip |
rapsberrypi-eeprom: Include magic symlinks so command runs
The rpi-eeprom-update commands relies on a default symlink. This is purely relative and points to critical, but is in fact published by upstream. Without this, the rpi-eeprom-update command fails with an error message - and has no help options to make it easy to figure out the magic flags to get it to do the right thing.
Diffstat (limited to 'pkgs/os-specific/linux/raspberrypi-eeprom/default.nix')
-rw-r--r-- | pkgs/os-specific/linux/raspberrypi-eeprom/default.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/raspberrypi-eeprom/default.nix b/pkgs/os-specific/linux/raspberrypi-eeprom/default.nix index fd0da72aa92..32378e451e8 100644 --- a/pkgs/os-specific/linux/raspberrypi-eeprom/default.nix +++ b/pkgs/os-specific/linux/raspberrypi-eeprom/default.nix @@ -28,6 +28,7 @@ stdenvNoCC.mkDerivation rec { cp rpi-eeprom-config rpi-eeprom-update $out/bin cp -r firmware/{beta,critical,old,stable} $out/share/rpi-eeprom + cp -P firmware/default firmware/latest $out/share/rpi-eeprom ''; fixupPhase = '' |