summary refs log tree commit diff
path: root/pkgs/os-specific/linux/raspberrypi-eeprom/default.nix
diff options
context:
space:
mode:
authorColin L Rice <colin@daedrum.net>2021-08-26 23:31:33 -0400
committerColin L Rice <colin@daedrum.net>2021-08-26 23:31:33 -0400
commit26286030e8cc6cbd313386c328e2381514a4f2bb (patch)
tree2918c540b2de98cc4172b84c97ea8d65b50b0a15 /pkgs/os-specific/linux/raspberrypi-eeprom/default.nix
parent02f85b8ab848c0361b44a02a9e08f7e774c3ff08 (diff)
downloadnixpkgs-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.nix1
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 = ''