Merge pull request #135104 from Artturin/raspberryeeprom
raspberrypi-eeprom: wrap rpi-eeprom-config
This commit is contained in:
commit
cfa2ffe3ce
1 changed files with 14 additions and 12 deletions
|
@ -32,7 +32,8 @@ stdenvNoCC.mkDerivation rec {
|
|||
|
||||
fixupPhase = ''
|
||||
patchShebangs $out/bin
|
||||
wrapProgram $out/bin/rpi-eeprom-update \
|
||||
for i in rpi-eeprom-update rpi-eeprom-config; do
|
||||
wrapProgram $out/bin/$i \
|
||||
--set FIRMWARE_ROOT $out/share/rpi-eeprom \
|
||||
${lib.optionalString stdenvNoCC.isAarch64 "--set VCMAILBOX ${libraspberrypi}/bin/vcmailbox"} \
|
||||
--prefix PATH : "${lib.makeBinPath ([
|
||||
|
@ -44,6 +45,7 @@ stdenvNoCC.mkDerivation rec {
|
|||
] ++ lib.optionals stdenvNoCC.isAarch64 [
|
||||
libraspberrypi
|
||||
])}"
|
||||
done
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
|
|
Loading…
Reference in a new issue