summaryrefslogtreecommitdiffstats
path: root/tools/hiby_patcher.pl
diff options
context:
space:
mode:
Diffstat (limited to 'tools/hiby_patcher.pl')
-rwxr-xr-xtools/hiby_patcher.pl7
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/hiby_patcher.pl b/tools/hiby_patcher.pl
index b03f2343dd..cff029e03b 100755
--- a/tools/hiby_patcher.pl
+++ b/tools/hiby_patcher.pl
@@ -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