raspberrypi-eeprom: 2021-03-18 -> 2021.04.29-138a1

This commit is contained in:
superherointj 2021-05-31 15:21:06 -03:00
parent 666075648e
commit da159b5308

View file

@ -1,15 +1,15 @@
{ stdenvNoCC, lib, fetchFromGitHub, makeWrapper { stdenvNoCC, lib, fetchFromGitHub, makeWrapper
, python3, binutils-unwrapped, findutils, kmod, pciutils, libraspberrypi , python3, binutils-unwrapped, findutils, kmod, pciutils, libraspberrypi
}: }:
stdenvNoCC.mkDerivation { stdenvNoCC.mkDerivation rec {
pname = "raspberrypi-eeprom"; pname = "raspberrypi-eeprom";
version = "2021-03-18"; version = "2021.04.29-138a1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "raspberrypi"; owner = "raspberrypi";
repo = "rpi-eeprom"; repo = "rpi-eeprom";
rev = "ff27ccf69403b01e337fc4ee6e7ae75244028cce"; rev = "v${version}";
sha256 = "1q1vlld0xxh9zinf5g0qa6jw1dggq93br938mvrfx3nb2aviiwcj"; sha256 = "sha256-nzAMPa4gqCAcROFa7z34IoMA3aoMHX9fYCsPFde9dac=";
}; };
buildInputs = [ python3 ]; buildInputs = [ python3 ];
@ -19,7 +19,7 @@ stdenvNoCC.mkDerivation {
# Don't try to verify md5 signatures from /var/lib/dpkg and # Don't try to verify md5 signatures from /var/lib/dpkg and
# fix path to the configuration. # fix path to the configuration.
substituteInPlace rpi-eeprom-update \ substituteInPlace rpi-eeprom-update \
--replace 'IGNORE_DPKG_CHECKSUMS=$LOCAL_MODE' 'IGNORE_DPKG_CHECKSUMS=1' \ --replace 'IGNORE_DPKG_CHECKSUMS=''${LOCAL_MODE}' 'IGNORE_DPKG_CHECKSUMS=1' \
--replace '/etc/default' '/etc' --replace '/etc/default' '/etc'
''; '';