diff --git a/srcpkgs/rpi-eeprom/patches/default-editor.patch b/srcpkgs/rpi-eeprom/patches/default-editor.patch new file mode 100644 index 00000000000..1f762e3b27a --- /dev/null +++ b/srcpkgs/rpi-eeprom/patches/default-editor.patch @@ -0,0 +1,25 @@ +vi is a much better "default" editor for void, as it is shipped in base-system, +unlike nano + +--- a/rpi-eeprom-config ++++ b/rpi-eeprom-config +@@ -184,8 +184,8 @@ + """ + Implements something like 'git commit' for editing EEPROM configs. + """ +- # Default to nano if $EDITOR is not defined. +- editor = 'nano' ++ # Default to vi if $EDITOR is not defined. ++ editor = 'vi' + if 'EDITOR' in os.environ: + editor = os.environ['EDITOR'] + +@@ -515,7 +515,7 @@ + + To cancel the pending update run 'sudo rpi-eeprom-update -r' + +- The default text editor is nano and may be overridden by setting the 'EDITOR' ++ The default text editor is vi and may be overridden by setting the 'EDITOR' + environment variable and passing '-E' to 'sudo' to preserve the environment. + + 6. Signing the bootloader config file. diff --git a/srcpkgs/rpi-eeprom/template b/srcpkgs/rpi-eeprom/template index b7097e52cfd..abf5aac6462 100644 --- a/srcpkgs/rpi-eeprom/template +++ b/srcpkgs/rpi-eeprom/template @@ -1,8 +1,8 @@ # Template file for 'rpi-eeprom' pkgname=rpi-eeprom -version=2024.12.19 +version=2025.01.06 revision=1 -_githash=f02f0eaf4e681a618fad55e5cc09d4306a82ac47 +_githash=888e374d47947d7d32b00ebc4f8d4b4f85320fa7 archs="aarch64* armv7l*" conf_files="/etc/default/rpi-eeprom-update" hostmakedepends="help2man python3" @@ -12,7 +12,7 @@ maintainer="Leah Neukirchen " license="BSD-3-Clause, custom:Proprietary" homepage="https://github.com/raspberrypi/rpi-eeprom/" distfiles="https://github.com/raspberrypi/rpi-eeprom/archive/${_githash}.tar.gz" -checksum=ebeb826dfeb30ebebab290988a1623ab22b099da47e985dd0180a270a714de39 +checksum=171eb73d52dda2df7ce5184fd7cbe71ad7dfe491d14e0c40d5162066002a05af python_version=3 repository=nonfree