diff options
Diffstat (limited to 'tools/hiby_patcher.pl')
-rwxr-xr-x | tools/hiby_patcher.pl | 7 |
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); | |||
135 | my $rbbasename = basename($rbbname); | 135 | my $rbbasename = basename($rbbname); |
136 | 136 | ||
137 | #### Mangle RootFS | 137 | #### Mangle RootFS |
138 | |||
139 | # Save version into rootfs | ||
140 | my $version = `cat rockbox-info.txt | grep Version | cut -f2 -d' '`; | ||
141 | open FILE, ">$rootfsdir/etc/rockbox-bl-info.txt" || die ("can't write version txt"); | ||
142 | print FILE $version; | ||
143 | close FILE; | ||
144 | |||
138 | if ($hiby) { | 145 | if ($hiby) { |
139 | my $bootloader_sh = | 146 | my $bootloader_sh = |
140 | "#!/bin/sh | 147 | "#!/bin/sh |