1
0
Fork 0
forked from len0rd/rockbox

hosted: Drop a bootloader version string in /etc, and report it in debug menu

Change-Id: I4d72d7800dbff56619898b6bc9d0f81a6c561598
This commit is contained in:
Solomon Peachy 2020-10-17 21:19:38 -04:00
parent 4cdb28c167
commit edbdefa09a
2 changed files with 28 additions and 0 deletions

View file

@ -135,6 +135,13 @@ system(@sysargs);
my $rbbasename = basename($rbbname);
#### Mangle RootFS
# Save version into rootfs
my $version = `cat rockbox-info.txt | grep Version | cut -f2 -d' '`;
open FILE, ">$rootfsdir/etc/rockbox-bl-info.txt" || die ("can't write version txt");
print FILE $version;
close FILE;
if ($hiby) {
my $bootloader_sh =
"#!/bin/sh