mirror of
https://github.com/raspberrypi/rpi-eeprom.git
synced 2026-01-21 14:53:32 +08:00
The 'strings' utility is installed by binutils whereas 'tr' belongs with coreutils. Minimal systems will only contain the latter, due to binutils' size (20-50 MB). So, convert all uses of 'strings' to 'tr' so as to avoid the package dependency. The second 'tr' usage converts non-ASCII characters into newlines so as to isolate the "BUILD_TIMESTAMP=1234567890" statement (similar to what 'strings' does). There is no need for this in the first one: non-ASCII characters are simply discarded as DT aliases have a fixed one line format. Signed-off-by: Nicolas Saenz Julienne <nsaenzjulienne@suse.de>
27 KiB
Executable File
27 KiB
Executable File