hiby: r1_patcher: use generic bootloader name

Rename bootloader.r1 to bootloader.rb for use across multiple devices (Hiby R1, HiBy R3 Pro II and others).

Change-Id: Ib509d37d605391012a792a69b11a557b0319d2ce
This commit is contained in:
Roman Artiukhin 2026-01-20 14:45:18 +02:00
parent da5d6f8bf3
commit 86f35f1b53
2 changed files with 5 additions and 5 deletions

View file

@ -3,8 +3,8 @@
killall hiby_player &>/dev/null
killall -9 hiby_player &>/dev/null
killall bootloader.r1 &>/dev/null
killall -9 bootloader.r1 &>/dev/null
killall bootloader.rb &>/dev/null
killall -9 bootloader.rb &>/dev/null
/usr/bin/bootloader.r1
/usr/bin/bootloader.rb
sleep 1s

View file

@ -51,8 +51,8 @@ unsquashfs -f -d $workingdir_in/rootfs/extracted $workingdir_in/rootfs/rootfs.sq
################################################################################
# copy 'bootloader'
cp "$2" "$workingdir_in/rootfs/extracted/usr/bin/bootloader.r1"
chmod 0755 "$workingdir_in/rootfs/extracted/usr/bin/bootloader.r1"
cp "$2" "$workingdir_in/rootfs/extracted/usr/bin/bootloader.rb"
chmod 0755 "$workingdir_in/rootfs/extracted/usr/bin/bootloader.rb"
# copy modified 'hibyplayer.sh' script
cp hiby_player.sh $workingdir_in/rootfs/extracted/usr/bin/