Skip to content

Commit 0a39a13

Browse files
committed
1 parent 30aacd9 commit 0a39a13

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

src/modules/base/start_chroot_script

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ if [ "${BASE_DISTRO}" == "ubuntu" ]; then
5353

5454
fi
5555

56-
if [ "${BASE_DISTRO}" != "ubuntu" ]; then
56+
if [ "${BASE_DISTRO}" != "ubuntu" ] || [ "${BASE_BASEBOARD}" == "debian_lepotato" ]; then
5757
# Armbian > 24.5 workaround
5858
if [ -h /etc/resolv.conf ]; then
5959
link_target="$(ls -l /etc/resolv.conf | cut -f2 -d">" | sed 's/^[[:space:]]//')"
@@ -67,6 +67,14 @@ if [ "${BASE_DISTRO}" != "ubuntu" ]; then
6767

6868
fi
6969

70+
# Fix EXPKEYSIG 2E5FB7FC58C58FFB see https://hub.libre.computer/t/signatures-were-invalid-expkeysig-2e5fb7fc58c58ffb/4166/2
71+
if [ "${BASE_BOARD}" == "debian_lepotato" ]; then
72+
generate_resolvconf
73+
wget https://deb.libre.computer/repo/pool/main/libr/libretech-keyring/libretech-keyring_2024.05.19_all.deb
74+
dpkg -i libretech-keyring_2024.05.19_all.deb
75+
rm libretech-keyring_2024.05.19_all.deb
76+
fi
77+
7078
#Helper Function for create_userconf
7179
function get_os_version {
7280
local os_version

0 commit comments

Comments
 (0)