Skip to content

Commit 8d13a5c

Browse files
committed
[Fix] wpa_supplicant baseline upgrade for yi_home and yi_dome
Changes to be committed: modified: scripts/pack_fw.sh
1 parent 8737a36 commit 8d13a5c

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

scripts/pack_fw.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# This file is part of yi-hack-v5 (https://github.com/alienatedsec/yi-hack-v5).
55
# Copyright (c) 2018-2019 Davide Maggioni - v4 specific
6-
# Copyright (c) 2021-2023 alienatedsec - v5 specific
6+
# Copyright (c) 2021-2024 alienatedsec - v5 specific
77
#
88
# This program is free software: you can redistribute it and/or modify
99
# it under the terms of the GNU General Public License as published by
@@ -232,6 +232,10 @@ find $TMP_DIR/home/yi-hack-v5/script/ -maxdepth 0 ! -name 'system_init.sh' -type
232232
find $TMP_DIR/home/yi-hack-v5/* -maxdepth 0 -type d ! \( -name 'script' -o -name 'etc' -o -name 'lib' \) -exec rm -rf {} \;
233233
find $TMP_DIR/home/yi-hack-v5/lib/ -type f ! -name 'ipc_multiplex.so' -exec rm -f {} \;
234234
find $TMP_DIR/home/yi-hack-v5/* -maxdepth 0 -type f ! -name 'version' -exec rm {} +
235+
236+
# Delete the old wpa_supplicant upgrade file from the image so it wont override the release version
237+
find $TMP_DIR/home/app/ -type f -name 'wpa_supplicant' -exec rm -f {} \;
238+
235239
printf "done!\n\n"
236240

237241
# home
@@ -253,4 +257,3 @@ printf "done!\n\n"
253257
echo "------------------------------------------------------------------------"
254258
echo " Finished!"
255259
echo "------------------------------------------------------------------------"
256-

0 commit comments

Comments
 (0)