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:
parent
4cdb28c167
commit
edbdefa09a
2 changed files with 28 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue