ipq807x: fix certificates on hfcl-ion4xi_w

Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
John Crispin
2023-07-03 08:20:15 +02:00
parent b4ed6a8367
commit e9b64b0dfd
2 changed files with 5 additions and 1 deletions

View File

@@ -62,6 +62,7 @@ boot() {
fi
;;
hfcl,ion4xi|\
hfcl,ion4xi_w|\
hfcl,ion4x|\
hfcl,ion4x_2|\
hfcl,ion4xi_wp|\

View File

@@ -7,7 +7,10 @@ generate_certificate_volume() {
ubinfo /dev/ubi0 -N certificates > /dev/null
[ $? -eq 0 ] || {
ubirsvol /dev/ubi0 -N rootfs_data -s 20MiB
ubinfo /dev/ubi0 -N wifi_fw > /dev/null
[ $? -eq 0 ] && ubirmvol /dev/ubi0 -N wifi_fw
ubirsvol /dev/ubi0 -N rootfs_data -s 10MiB
ubimkvol /dev/ubi0 -N certificates -S 20
}
}