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,18 +32,20 @@ stdenvNoCC.mkDerivation rec {
|
||||||
|
|
||||||
fixupPhase = ''
|
fixupPhase = ''
|
||||||
patchShebangs $out/bin
|
patchShebangs $out/bin
|
||||||
wrapProgram $out/bin/rpi-eeprom-update \
|
for i in rpi-eeprom-update rpi-eeprom-config; do
|
||||||
--set FIRMWARE_ROOT $out/share/rpi-eeprom \
|
wrapProgram $out/bin/$i \
|
||||||
${lib.optionalString stdenvNoCC.isAarch64 "--set VCMAILBOX ${libraspberrypi}/bin/vcmailbox"} \
|
--set FIRMWARE_ROOT $out/share/rpi-eeprom \
|
||||||
--prefix PATH : "${lib.makeBinPath ([
|
${lib.optionalString stdenvNoCC.isAarch64 "--set VCMAILBOX ${libraspberrypi}/bin/vcmailbox"} \
|
||||||
binutils-unwrapped
|
--prefix PATH : "${lib.makeBinPath ([
|
||||||
findutils
|
binutils-unwrapped
|
||||||
kmod
|
findutils
|
||||||
pciutils
|
kmod
|
||||||
(placeholder "out")
|
pciutils
|
||||||
] ++ lib.optionals stdenvNoCC.isAarch64 [
|
(placeholder "out")
|
||||||
libraspberrypi
|
] ++ lib.optionals stdenvNoCC.isAarch64 [
|
||||||
])}"
|
libraspberrypi
|
||||||
|
])}"
|
||||||
|
done
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
Loading…
Reference in a new issue