Skip to content

Commit e6d932c

Browse files
committed
remove funkey_gpio_management from update
Signed-off-by: Michel-FK <[email protected]>
1 parent 853d7e3 commit e6d932c

File tree

2 files changed

+5
-20
lines changed

2 files changed

+5
-20
lines changed

FunKey/board/funkey/sw-description

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ software =
22
{
33
version = "2.1.0";
44

5-
hardware-compatibility = [ "#RE:^Rev\.[D-E]$" ];
5+
hardware-compatibility = [ "#RE:^Rev\.[D-F]$" ];
66

77
images: (
88
{
@@ -13,12 +13,6 @@ software =
1313
compressed = "zlib";
1414
}
1515
);
16-
files: (
17-
{
18-
filename = "funkey_gpio_management";
19-
path = "/tmp/funkey_gpio_management";
20-
}
21-
);
2216
scripts: (
2317
{
2418
filename = "update_partition";

FunKey/board/funkey/update_partition

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -9,25 +9,16 @@ root_mount=/tmp/rootfs
99

1010
do_preinst()
1111
{
12-
notif " 1/5 EXTRACT FIRMWARE UPDATE..^DO NOT TURN OFF THE CONSOLE"
12+
notif " 1/4 EXTRACT FIRMWARE UPDATE..^DO NOT TURN OFF THE CONSOLE"
1313
exit 0
1414
}
1515

1616
do_postinst()
1717
{
18-
################
19-
# Fix recovery #
20-
################
21-
notif " 2/5 FIX RECOVERY GPIO MANAGER"
22-
rw
23-
cp -a /tmp/funkey_gpio_management /usr/local/sbin/
24-
chmod +x /usr/local/sbin/funkey_gpio_management
25-
ro
26-
2718
#################
2819
# Resize Rootfs #
2920
#################
30-
notif " 3/5 RESIZE ROOT FILESYSTEM^DO NOT TURN OFF THE CONSOLE"
21+
notif " 2/4 RESIZE ROOT FILESYSTEM^DO NOT TURN OFF THE CONSOLE"
3122
resize2fs ${root_part}
3223
if [ $? -ne 0 ]; then
3324
notif " CANNOT RESIZE ROOT^FILESYSTEM"
@@ -37,7 +28,7 @@ do_postinst()
3728
#############
3829
# Copy OPKs #
3930
#############
40-
notif " 4/5 COPY OPKS TO USB MOUNT^DO NOT TURN OFF THE CONSOLE"
31+
notif " 3/4 COPY OPKS TO USB MOUNT^DO NOT TURN OFF THE CONSOLE"
4132

4233
# Mount Rootfs
4334
mkdir -p ${root_mount}
@@ -66,7 +57,7 @@ do_postinst()
6657
# Erase update file #
6758
#####################
6859
for file in $(ls /mnt/FunKey-*.fwu); do
69-
notif " 5/5 ERASE UPDATE FILE^DO NOT TURN OFF THE CONSOLE"
60+
notif " 4/4 ERASE UPDATE FILE^DO NOT TURN OFF THE CONSOLE"
7061
rm -f "${file}"
7162
done
7263
exit 0

0 commit comments

Comments
 (0)